Viewer 3D V2.0

! new version - Viewer3D V3.0 available here !


Summary :

Viewer3D V2.0 is a Java 1.1 Applet to add interactive and realtime rendering of 3D objects in Web site in a few minute.

Viewer3D use the 3DzzD Web 3D API wich can run in full Java 1.1 mode for best compatibility (all platforms and browsers), if needed 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



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">
</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)