How to make a Web 3D demo with 3DzzD Viewer3D Applet

! new version - Viewer3D V2.0 available here !

Summary :

3DzzD Viewer3D is a Java 1.1 compliant Applet enabling realtime rendering of a 3DS file in an HTML web page in a few minute.
Viewer3D use the 3DzzD Web 3D API wich can run in full Java 1.1 mode for best compatibility or it can use video hardware with the JOGL extension for best performances.

Control detail :

H key : switch to opengl rendering mode (JOGL), display a security dialog box.
S key : switch to Java 1.1 software mode
Mouse left button drag : rotate model
Mouse right button drag : zoom camera in/out

Click here to download the full Applet including all requiered libraries



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)