Note: HW mode does not support reflexion or bump map
|
Sample Applet code
<APPLET archive="LIB/dzzd.jar,LIB/extension.jar"
code = "Viewer3D.class" width = "600" height = "450" MAYSCRIPT> <PARAM NAME="MODELFILENAME" VALUE="MOTO.3DS"> <PARAM NAME="MODELFILEPATH" VALUE="SAMPLE/"> <PARAM NAME="IMAGELOADFILE" VALUE="DEFAULT/LOAD.GIF"> <PARAM NAME="CAMERANAME" VALUE="Camera01"> <PARAM NAME="BGCOLOR" VALUE="000000"> <PARAM NAME="LOADBARFRONTCOLOR" VALUE="AAAAAA"> <PARAM NAME="LOADBARBACKCOLOR" VALUE="EEEEEE"> <PARAM NAME="LOADBARBORDERCOLOR" VALUE="0000EE"> <PARAM NAME="LOADBARWIDTH" VALUE="280"> <PARAM NAME="LOADBARHEIGHT" VALUE="40"> </APPLET> |
Parameters detail :
MODELFILENAME
: the model file name ("DEFAULT.3DS" if none)
MODELFILEPATH
: the model file pathe ("DEFAULT/" if none)
IMAGELOADFILE
: image displayed while loading ("DEFAULT/LOAD.GIF" if none)
CAMERANAME
: camera to use once loaded ("Camera01" if none)
BGCOLOR
: background color for the applet ("000000" if none)
LOADBARFRONTCOLOR
: front color for loading bar ("AAAAAA" if none)
LOADBARBACKCOLOR
: back color for loading bar ("EEEEEE" if none)
LOADBARBORDERCOLOR
: border color for loading bar ("0000EE" if none)
LOADBARWIDTH
: with of the loading bar ("280" if none)
LOADBARHEIGHT
: height of the loading bar ("40" if none)
|