|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.dzzd.DzzD
Main 3DzzD API classes.
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 API objects :
- Scene3DObject(Mesh,Camera,etc..)
- SceneObject(Material,Texture,etc..)
- Others(Face3D,Point3D,etc..)
etc..
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 java.lang.String |
extensionBaseURL
Jogl native source URL |
static int |
P4D_COSIN
Track3D interpolation key mode : cosin interpolation. |
static int |
P4D_CUBIC
Track3D interpolation key mode : cubic interpolation. |
static int |
P4D_LINEAR
Track3D interpolation key mode : linear interpolation. |
static int |
P4D_NONE
Track3D 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 |
RM_ALL
Render mode : enable/disable all. |
static int |
RM_DETAIL_TEXTURE
Render mode : enable/disable detail textures. |
static int |
RM_FOG
Render mode : enable/disable fog |
static int |
RM_LIGHT
Render mode : enable/disable lighting. |
static int |
RM_LIGHT_FLAT
Render mode : enable/disable lighting. |
static int |
RM_MATERIAL
Render mode : enable/disable materials. |
static int |
RM_TEXTURE_BILINEAR
Render mode : enable/disable bilinear filtering. |
static int |
RM_TEXTURE_BUMP
Render mode : enable/disable bump texture. |
static int |
RM_TEXTURE_DIFF
Render mode : enable/disable diffuse texture. |
static int |
RM_TEXTURE_ENV
Render mode : enable/disable env texture. |
static int |
RM_TEXTURE_MIPMAP
Render mode : enable/disable textures mipmap. |
static int |
TT_ARGB
Texture type : type ARGB |
static int |
TT_ENV
Texture type : type NORMAL RGB represent environment texture |
static int |
TT_HNORMAL
Texture type : type NORMAL RGB represent normal of the surface and A height |
static int |
TT_NORMAL
Texture type : type NORMAL RGB represent normal of the surface |
static int |
TT_RGB
Texture type : type RGB |
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 IDirectInput |
newDirectInput(java.awt.Component component)
Allocate an return a new DirectInput for the given component. |
static IFace3D |
newFace3D()
Allocate an return a new Face3D. |
static IFace3D |
newFace3D(IVertex3D v1,
IVertex3D v2,
IVertex3D v3)
Allocate an return a new Face3D. |
static IFont2D |
newFont2DFromURL(java.lang.String baseURL,
java.lang.String fileName)
Allocate,load and return a new Font2D |
static IHeightMap3D |
newHeightMap3D(int minLevel,
int maxLevel)
Allocate an return a new HeightMap3D. |
static ILight3D |
newLight3D()
Allocate an return a new Light3D. |
static IMappingUV |
newMappingUV()
Allocate an return a new MappingUV. |
static IMaterial |
newMaterial()
Allocate an return a new Material. |
static IMesh3D |
newMesh3D()
Allocate an return a new Mesh3D. |
static IMesh3D |
newMesh3D(IVertex3D[] vertice,
IFace3D[] faces)
Allocate an return a new Mesh3D. |
static IPoint3D |
newPoint3D()
Allocate an return a new Point3D. |
static IRender2D |
newRender2D(java.lang.Class c,
java.lang.String implementationName,
IProgressListener pl)
|
static IRender3D |
newRender3D(java.lang.Class c,
java.lang.String implementationName,
IProgressListener pl)
Allocate an return a new Render3D using the specified implementation. |
static IScene2D |
newScene2D()
Allocate and return a new Scene2D |
static IScene3D |
newScene3D()
Allocate an return a new Scene3D. |
static IScene3DLoader |
newScene3DLoader()
Allocate an return a new Scene3DLoader |
static IScene3DObjectAnimator |
newScene3DObjectAnimator()
Allocate an return a new Scene3DObjectAnimator. |
static IScene3DRender |
newScene3DRender()
Allocate an return a new Scene3DRender. |
static IShape2D |
newShape2D()
Allocate and return a new Shape2D |
static ISolidSphere3D |
newSolidSphere3D()
Allocate an return a new SolidSphere3D. |
static ISolidSphere3DResult |
newSolidSphere3DResult()
Allocate an return a new SolidSphere3DResult. |
static ITimer |
newTimer()
Allocate and return a new Timer |
static ITrack3D |
newTrack3D()
Allocate an return a new Track3D. |
static IURLHeightMap |
newURLHeightMap()
Allocate an return a new URLHeightMap. |
static IURLTexture |
newURLTexture()
Allocate an return a new URLTexture. |
static IVertex3D |
newVertex3D()
Allocate an return a new Vertex3D. |
static void |
sleep(long ms)
Pause current thread for given millisecond time |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TXT_STRETCH
public static final int TXT_TILE
public static final int BG_TRANSPARENT
public static final int BG_COLOR
public static final int BG_TEXTURE
public static final int PR_STATE_UNKNOW
public static final int PR_STATE_INIT
public static final int PR_STATE_LOAD
public static final int P4D_NONE
public static final int P4D_LINEAR
public static final int P4D_COSIN
public static final int P4D_CUBIC
public static final int RM_LIGHT
public static final int RM_MATERIAL
public static final int RM_TEXTURE_DIFF
public static final int RM_TEXTURE_MIPMAP
public static final int RM_TEXTURE_BILINEAR
public static final int RM_DETAIL_TEXTURE
public static final int RM_LIGHT_FLAT
public static final int RM_TEXTURE_BUMP
public static final int RM_TEXTURE_ENV
public static final int RM_FOG
public static final int RM_ALL
public static final int TT_RGB
public static final int TT_ARGB
public static final int TT_NORMAL
public static final int TT_HNORMAL
public static final int TT_ENV
public static java.lang.String extensionBaseURL
Method Detail |
public static IRender3D newRender3D(java.lang.Class c, java.lang.String implementationName, IProgressListener pl)
implementationName
- name of the implementation
public static IRender2D newRender2D(java.lang.Class c, java.lang.String implementationName, IProgressListener pl)
public static IURLTexture newURLTexture()
public static IMaterial newMaterial()
public static IMappingUV newMappingUV()
public static IMesh3D newMesh3D()
public static IMesh3D newMesh3D(IVertex3D[] vertice, IFace3D[] faces)
vertice
- Vertex3D arrayfaces
- Face3D array
public static ILight3D newLight3D()
public static ICamera3D newCamera3D()
public static IFace3D newFace3D()
public static IFace3D newFace3D(IVertex3D v1, IVertex3D v2, IVertex3D v3)
v1
- vertex 1v2
- vertex 2v3
- vertex 3
public static IPoint3D newPoint3D()
public static IVertex3D newVertex3D()
public static ISolidSphere3D newSolidSphere3D()
public static ISolidSphere3DResult newSolidSphere3DResult()
public static ITrack3D newTrack3D()
public static IAxis3D newAxis3D()
public static IScene3DRender newScene3DRender()
public static IScene3D newScene3D()
public static IDirectInput newDirectInput(java.awt.Component component)
component
- component to use for this directInput source
public static IScene3DObjectAnimator newScene3DObjectAnimator()
public static IHeightMap3D newHeightMap3D(int minLevel, int maxLevel)
minLevel
- minimum tesselation levelmaxLevel
- maximum tesselation level
public static IURLHeightMap newURLHeightMap()
public static IScene3DLoader newScene3DLoader()
public static IFont2D newFont2DFromURL(java.lang.String baseURL, java.lang.String fileName)
baseURL
- URL location of the Font2D filefileName
- Font2D file name
public static IShape2D newShape2D()
public static IScene2D newScene2D()
public static ITimer newTimer()
public static void sleep(long ms)
ms
- time to pause current thread in ms
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |