Note: HW mode requiere extension.jar and jogl libraries in LIB directory (see Viewer V1 for details), also it does not support reflexion or bump map
|
Sample Applet code
<APPLET archive="LIB/dzzd.jar"
code = "Viewer3D.class" width = "400" height = "300" 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="FFFFFF"> <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"> <PARAM NAME="CAMERAFOV" VALUE="45"> <PARAM NAME="CAMERAZ" VALUE="-100"> </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)
CAMERAFOV
: camera field of view ("45°" if none, used when no camera found)
CAMERAZ
: camera z position ("-100" if none, used when no camera found)
|