dzzd
Class DzzD

java.lang.Object
  extended bydzzd.DzzD

public class DzzD
extends java.lang.Object

Main 3DzzD API class.

Overview:

This class include methods to create 3DzzD API objects and all constants used in 3DzzD API.

You may use this class to create new 3DzzD objects :
- Scene3DObject(Mesh,Camera,etc..)
- SceneObject(Material,Texture,etc..)
- Others(Face3D,Point3D,etc..)
etc..

Since:
1.0
Version:
1.0, 01/01/04
Author:
Bruno Augier
See Also:
DzzDApplet, DzzDJSApplet

Field Summary
static int BG_COLOR
          Render3D background mode : Background use a solid color
static int BG_TEXTURE
          Render3D background mode : Background use a texture
static int BG_TRANSPARENT
          Render3D background mode : Background is invisible
static int P4D_COSIN
          Point4D interpolation key mode : cosin interpolation
static int P4D_CUBIC
          Point4D interpolation key mode : cubic interpolation
static int P4D_LINEAR
          Point4D interpolation key mode : linear interpolation
static int P4D_NONE
          Point4D interpolation key mode : no interpolation
static int PR_STATE_INIT
          Progress state : initialising/initialised
static int PR_STATE_LOAD
          Progress state : loading/loaded
static int PR_STATE_UNKNOW
          Progress state : unknow or not initialised
static int TXT_STRETCH
          Texture drawing mode : texture must be stretched
static int TXT_TILE
          Texture drawing mode : texture must be tiled (repeat by x and y)
 
Method Summary
static IAxis3D newAxis3D()
          Allocate an return a new Axis3D
static ICamera3D newCamera3D()
          Allocate an return a new Camera3D
static IFace3D newFace3D()
          Allocate an return a new Face3D
static ILight3D newLight3D()
          Allocate an return a new Light3D
static IMaterial newMaterial()
          Allocate an return a new Material
static IMesh3D newMesh3D()
          Allocate an return a new Mesh3D
static IPoint3D newPoint3D()
          Allocate an return a new Point3D
static IPoint4D newPoint4D()
          Allocate an return a new Point4D
static IRender3D newRender3D()
          Allocate an return a new Render3D
static ISolidSphere3D newSolidSphere3D()
          Allocate an return a new SolidSphere3D
static ITexture newTexture()
          Allocate an return a new Texture
static IVertex3D newVertex3D()
          Allocate an return a new Vertex3D
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TXT_STRETCH

public static final int TXT_STRETCH
Texture drawing mode : texture must be stretched

See Also:
Constant Field Values

TXT_TILE

public static final int TXT_TILE
Texture drawing mode : texture must be tiled (repeat by x and y)

See Also:
Constant Field Values

BG_TRANSPARENT

public static final int BG_TRANSPARENT
Render3D background mode : Background is invisible

See Also:
Constant Field Values

BG_COLOR

public static final int BG_COLOR
Render3D background mode : Background use a solid color

See Also:
Constant Field Values

BG_TEXTURE

public static final int BG_TEXTURE
Render3D background mode : Background use a texture

See Also:
Constant Field Values

PR_STATE_UNKNOW

public static final int PR_STATE_UNKNOW
Progress state : unknow or not initialised

See Also:
Constant Field Values

PR_STATE_INIT

public static final int PR_STATE_INIT
Progress state : initialising/initialised

See Also:
Constant Field Values

PR_STATE_LOAD

public static final int PR_STATE_LOAD
Progress state : loading/loaded

See Also:
Constant Field Values

P4D_NONE

public static final int P4D_NONE
Point4D interpolation key mode : no interpolation

See Also:
Constant Field Values

P4D_LINEAR

public static final int P4D_LINEAR
Point4D interpolation key mode : linear interpolation

See Also:
Constant Field Values

P4D_COSIN

public static final int P4D_COSIN
Point4D interpolation key mode : cosin interpolation

See Also:
Constant Field Values

P4D_CUBIC

public static final int P4D_CUBIC
Point4D interpolation key mode : cubic interpolation

See Also:
Constant Field Values
Method Detail

newRender3D

public static IRender3D newRender3D()
Allocate an return a new Render3D

Returns:
newly allocated Render3D
Since:
1.0

newTexture

public static ITexture newTexture()
Allocate an return a new Texture

Returns:
newly allocated Texture
Since:
1.0

newMaterial

public static IMaterial newMaterial()
Allocate an return a new Material

Returns:
newly allocated Material
Since:
1.0

newMesh3D

public static IMesh3D newMesh3D()
Allocate an return a new Mesh3D

Returns:
newly allocated Mesh3D
Since:
1.0

newLight3D

public static ILight3D newLight3D()
Allocate an return a new Light3D

Returns:
newly allocated Light3D
Since:
1.0

newCamera3D

public static ICamera3D newCamera3D()
Allocate an return a new Camera3D

Returns:
newly allocated Camera3D
Since:
1.0

newFace3D

public static IFace3D newFace3D()
Allocate an return a new Face3D

Returns:
newly allocated Face3D
Since:
1.0

newPoint3D

public static IPoint3D newPoint3D()
Allocate an return a new Point3D

Returns:
newly allocated Point3D
Since:
1.0

newVertex3D

public static IVertex3D newVertex3D()
Allocate an return a new Vertex3D

Returns:
newly allocated Vertex3D
Since:
1.0

newSolidSphere3D

public static ISolidSphere3D newSolidSphere3D()
Allocate an return a new SolidSphere3D

Returns:
newly allocated SolidSphere3D
Since:
1.0

newPoint4D

public static IPoint4D newPoint4D()
Allocate an return a new Point4D

Returns:
newly allocated Point4D
Since:
1.0

newAxis3D

public static IAxis3D newAxis3D()
Allocate an return a new Axis3D

Returns:
newly allocated Axis3D
Since:
1.0