Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com
Forums

Threads

vSpace - apply background image
Username: Password:   
1 |

Posts: 3    Replys: 2
apply background image

what is the right meson script to apply a background image to the 3D-scene and where to put it?

viewed 900 times

Posts: 3    Replys: 5
Reply Date: 24-Feb-05

In the HTML file, find the line that reads:
Applet.Primary.fill="fff";

After that line, put:

Applet.Primary.image="mybackground.jpg";
keepDisplayImage=true;

JPG and GIF formats are accepted.

The second line is a flag that tells the user interface template not to clear the background when the 3D model is loaded. (That's the default behavior, so you can put a splash screen up during loading.)

-Joshua


Posts: 3    Replys: 2
Reply Date: 07-Mar-05

ah, it was the missing 2nd line that caused my background not showing up!
thanks again!

1 |
Username: Password:   

 

 
books