A B C D E F G H I J K L M N O P R S T U V W X Y Z

A

ALGORITHM_ELLIPSOID - Static variable in class com.threed.jpct.CollisionEvent
The collision event was caused by a ellipsoid-polygon collision detection
ALGORITHM_RAY - Static variable in class com.threed.jpct.CollisionEvent
The collision event was caused by a ray-polygon collision detection
ALGORITHM_SPHERE - Static variable in class com.threed.jpct.CollisionEvent
The collision event was caused by a sphere-polygon collision detection
ALTER_SOURCE_MESH - Static variable in interface com.threed.jpct.IVertexController
The VertexController will modify the source data when applied, i.e.
AWTGLRenderer - class com.threed.jpct.AWTGLRenderer.
This is the renderer to support hardware acceleration via OpenGL into a Canvas using the LWJGL.
Animation - class com.threed.jpct.Animation.
Animation provides a keyframe animation implementation.
Animation(int) - Constructor for class com.threed.jpct.Animation
Creates a new animation sequence that consist of keyframeCount keyframes.
add(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Adds another SimpleVector to this SimpleVector without creating a new instance.
add(Texture, float) - Method in class com.threed.jpct.Texture
Adds a textures color (and alpha) information to this one.
add(int, int) - Method in class com.threed.jpct.TextureInfo
Adds another texture layer.
add(int, float, float, float, float, float, float, int) - Method in class com.threed.jpct.TextureInfo
Adds another texture layer.
add(WorkLoad, int) - Method in class com.threed.jpct.threading.Worker
Adds a new WorkLoad to the given queue.
add(WorkLoad) - Method in class com.threed.jpct.threading.Worker
Adds a new WorkLoad to the queue with the least load.
addCaster(Object3D) - Method in class com.threed.jpct.util.ShadowHelper
Adds a caster.
addChild(Object3D) - Method in class com.threed.jpct.Object3D
Defines an object as a child of this.
addCollisionListener(CollisionListener) - Method in class com.threed.jpct.Object3D
Adds a collision listener to this object.
addKeyFrame(Mesh) - Method in class com.threed.jpct.Animation
Add a keyframe to a animation sequence.
addLight(SimpleVector, float, float, float) - Method in class com.threed.jpct.World
Adds a light source to the World.
addLight(SimpleVector, Color) - Method in class com.threed.jpct.World
Adds a light source to the World.
addObject(Object3D) - Method in class com.threed.jpct.World
Adds an object to the World's object collection.
addObjects(Object3D[]) - Method in class com.threed.jpct.World
Adds all objects from the given array to the world.
addParent(Object3D) - Method in class com.threed.jpct.Object3D
Defines an object as a parent of this. this will inherit all transformations and no other attributes from its parent.
addPolyline(Polyline) - Method in class com.threed.jpct.World
Adds a new Polyline to the world.
addPortalCoord(SimpleVector) - Method in class com.threed.jpct.Portals
Adds a new vertex to the portal.
addPortalCoord(float, float, float) - Method in class com.threed.jpct.Portals
Adds a new vertex to the portal.
addPostProcessor(IPostProcessor) - Method in class com.threed.jpct.FrameBuffer
Adds an IPostProcessor to run a post processing on the framebuffer.
addReceiver(Object3D) - Method in class com.threed.jpct.util.ShadowHelper
Adds a receiver.
addTexture(int, int, int) - Method in class com.threed.jpct.PolygonManager
Adds a texture to next free stage, if another free stage is available.
addTexture(String) - Method in class com.threed.jpct.TextureManager
Adds a texture with the given name to the manager.
addTexture(String, Texture) - Method in class com.threed.jpct.TextureManager
Adds a texture with the given name to the manager.
addTriangle(SimpleVector, SimpleVector, SimpleVector) - Method in class com.threed.jpct.Object3D
Adds a triangle to the object.
addTriangle(SimpleVector, float, float, SimpleVector, float, float, SimpleVector, float, float) - Method in class com.threed.jpct.Object3D
Adds a triangle to the object.
addTriangle(SimpleVector, float, float, SimpleVector, float, float, SimpleVector, float, float, int) - Method in class com.threed.jpct.Object3D
Adds a triangle to the object.
addTriangle(SimpleVector, float, float, SimpleVector, float, float, SimpleVector, float, float, int, SimpleVector) - Method in class com.threed.jpct.Object3D
Adds a triangle to the object.
addTriangle(SimpleVector, float, float, SimpleVector, float, float, SimpleVector, float, float, int, int) - Method in class com.threed.jpct.Object3D
Adds a triangle to the object.
addTriangle(SimpleVector, SimpleVector, SimpleVector, TextureInfo, SimpleVector) - Method in class com.threed.jpct.Object3D
Adds a triangle to the object.
addTriangle(SimpleVector, SimpleVector, SimpleVector, TextureInfo) - Method in class com.threed.jpct.Object3D
Adds a triangle to the object.
addTriangle(SimpleVector, SimpleVector, SimpleVector, TextureInfo, int) - Method in class com.threed.jpct.Object3D
Adds a triangle to the object.
addVertexAttributes(VertexAttributes) - Method in class com.threed.jpct.Mesh
Adds some vertex attributes to this mesh.
adjustFovToNearPlane() - Method in class com.threed.jpct.Camera
Adjusts the fov so that a changed near plane doesn't cause a zoom-in/zoom-out effect.
afterRendering(int) - Method in class com.threed.jpct.GLSLShader
Disables the shader.
afterRendering(int) - Method in interface com.threed.jpct.IRenderHook
Will be called immediately after the actual rendering takes place.
align(Object3D) - Method in class com.threed.jpct.Camera
Aligns the camera with the (transformed) positive z-axis of an Object3D.
align(Camera) - Method in class com.threed.jpct.Object3D
Aligns this object with a Camera using the camera's backbuffer matrix.
align(Object3D) - Method in class com.threed.jpct.Object3D
Aligns this object with another Object3D.
alwaysSort - Static variable in class com.threed.jpct.Config
Forces polygon sorting regardsless of transparency or the software renderer being used.
animate(float, int) - Method in class com.threed.jpct.Object3D
Calculates a new mesh for this object based on the keyframes of its animation sub-sequence and "index". index is a value between 0 and 1 where 0 is the first keyframe and 1 the last (of the sub-sequence).
animate(float) - Method in class com.threed.jpct.Object3D
Calculates a new mesh for this object based on the keyframes of its animation sequence and "index". index is a value between 0 and 1 where 0 is the first keyframe and 1 the last.
apply(int[], int[]) - Method in interface com.threed.jpct.ITextureEffect
Applies the effect.
apply() - Method in interface com.threed.jpct.IVertexController
Applies the controller's modifications to the mesh.
apply(int[], int[]) - Method in class com.threed.jpct.WaterTextureEffect
 
applyEffect() - Method in class com.threed.jpct.Texture
Applies the effect to the texture.
applyVertexController() - Method in class com.threed.jpct.Mesh
Executes the apply() method of the assigned VertexController and updates the mesh's vertex data with the new values generated by the controller.
autoBuild - Static variable in class com.threed.jpct.Config
Usually, one have to call build() on all objects that have to be rendered.
autoMaintainAspectRatio - Static variable in class com.threed.jpct.Config
Ensures that the aspect ratio doesn't change when changing framebuffer size.

B

BICUBIC - Static variable in class com.threed.jpct.Animation
Use bicubic interpolation between keyframes.
BILLBOARDING_DISABLED - Static variable in class com.threed.jpct.Object3D
The object won't use billboarding (default)
BILLBOARDING_ENABLED - Static variable in class com.threed.jpct.Object3D
The object will use billboarding (i.e. it always faces the camera)
BLACK - Static variable in class com.threed.jpct.RGBColor
 
BLENDING_DISABLED - Static variable in class com.threed.jpct.Object3D
Blending (bumpmapping+texturemapping) is not used
BLENDING_ENABLED - Static variable in class com.threed.jpct.Object3D
Blending (bumpmapping+texturemapping) is used
BLITTING_TARGET_BACK - Static variable in class com.threed.jpct.FrameBuffer
Blitting is done into the back buffer.
BLITTING_TARGET_FRONT - Static variable in class com.threed.jpct.FrameBuffer
Blitting is done into the front buffer.
BLUE - Static variable in class com.threed.jpct.RGBColor
 
BOUNDINGBOX_NOT_USED - Static variable in class com.threed.jpct.FrameBuffer
Don't use a 2D bounding box.
BOUNDINGBOX_USED - Static variable in class com.threed.jpct.FrameBuffer
Use a 2D bounding box for speeding up blitting (only useful when the rendered scene doesn't cover the whole framebuffer)
BUFFEREDIMAGE - Static variable in class com.threed.jpct.FrameBuffer
The type of this FrameBuffer is a BufferedImage (JAVA2)
BUFFER_ACCESS_COMBINED - Static variable in class com.threed.jpct.FrameBuffer
Access the framebuffer in one way (default)...
BUFFER_ACCESS_SPLITTED - Static variable in class com.threed.jpct.FrameBuffer
Access the framebuffer in another way)...
BUMPMAPPING_DISABLED - Static variable in class com.threed.jpct.Object3D
Bumpmapping is not used
BUMPMAPPING_ENABLED - Static variable in class com.threed.jpct.Object3D
Bumpmapping is used
BloomGLProcessor - class com.threed.jpct.procs.BloomGLProcessor.
An implementation of an IPostProcessor which implements a bloom effect (kind of pseudo-HDR) for the OpenGL renderer.
BloomGLProcessor() - Constructor for class com.threed.jpct.procs.BloomGLProcessor
Creates a bloom effect with default settings.
BloomGLProcessor(int, int, int, int) - Constructor for class com.threed.jpct.procs.BloomGLProcessor
Creates a bloom effect on the framebuffer's content.
BufferedMatrix - class com.threed.jpct.BufferedMatrix.
A BufferedMatrix is a kind of double buffered Matrix.
beforeRendering(int) - Method in class com.threed.jpct.GLSLShader
Activates the shader.
beforeRendering(int) - Method in interface com.threed.jpct.IRenderHook
Will be called immediately before the actual rendering takes place.
blendAlphaIfOversampling - Static variable in class com.threed.jpct.Config
If set to true, alpha values will be blended just as colors do when using oversampling in the software renderer.
blit(Texture, int, int, int, int, int, int, boolean) - Method in class com.threed.jpct.FrameBuffer
Copies a part of a bitmap (taken from a Texture in this case) into the framebuffer.
blit(Texture, int, int, int, int, int, int, int, int, int, boolean) - Method in class com.threed.jpct.FrameBuffer
Special version of blit() that allows for scaling, i.e. it doesn't make 1-to-1 copies but can up- or down-scale.
blit(Texture, int, int, int, int, int, int, int, int, int, boolean, Color) - Method in class com.threed.jpct.FrameBuffer
Special version of blit() that allows for scaling, i.e. it doesn't make 1-to-1 copies but can up- or down-scale.
blit(Texture, int, int, int, int, int, int, int, int, int, boolean, RGBColor) - Method in class com.threed.jpct.FrameBuffer
Method to maintain compatibility with jPCT-AE.
blit(int[], int, int, int, int, int, int, int, int, boolean) - Method in class com.threed.jpct.FrameBuffer
Copies a part of a bitmap (taken from an int[] containing pixels in RGB-format and with no alpha) into the framebuffer.
blur - Static variable in class com.threed.jpct.Config
Deprecated.  
bpp - Variable in class com.threed.jpct.VideoMode
The colordepth of the framebuffer that this video mode uses in bits
build() - Method in class com.threed.jpct.Object3D
Initializes some basic object properties that are needed for almost all further processing. build() should be called if the object is "ready to render" (loaded, Textures assigned, placed, rendering modes set...).
buildAllObjects() - Method in class com.threed.jpct.World
Calls build() for every object in the world.

C

CAMERA_DONT_MOVE - Static variable in class com.threed.jpct.Camera
Don't move the camera before checking for a collision.
CAMERA_MOVEDOWN - Static variable in class com.threed.jpct.Camera
Move the camera down (relative to its current direction)
CAMERA_MOVEIN - Static variable in class com.threed.jpct.Camera
Move the camera forward (relative to its current direction)
CAMERA_MOVELEFT - Static variable in class com.threed.jpct.Camera
Move the camera left (relative to its current direction)
CAMERA_MOVEOUT - Static variable in class com.threed.jpct.Camera
Move the camera backwards (relative to its current direction)
CAMERA_MOVERIGHT - Static variable in class com.threed.jpct.Camera
Move the camera right (relative to its current direction)
CAMERA_MOVEUP - Static variable in class com.threed.jpct.Camera
Move the camera up (relative to its current direction)
COLLISION_CHECK_NONE - Static variable in class com.threed.jpct.Object3D
Don't perform any kind of collision detection for this object
COLLISION_CHECK_OTHERS - Static variable in class com.threed.jpct.Object3D
Other Object3Ds/rays/spheres/ellipsoids may collide with this object
COLLISION_CHECK_SELF - Static variable in class com.threed.jpct.Object3D
This Object3D may collide with other objects
COLLISION_DETECTION_NOT_OPTIMIZED - Static variable in class com.threed.jpct.Object3D
Disables (default) an automated optimization for collision detection in case of problems with this optimization.
COLLISION_DETECTION_OPTIMIZED - Static variable in class com.threed.jpct.Object3D
Enables an automated optimization for speeding up collision detection in some case.
COLLISION_DONT_USE - Static variable in class com.threed.jpct.OcTree
Don't use this octree to speed up collision detection
COLLISION_NONE - Static variable in class com.threed.jpct.Object3D
Signals that no collision has been detected for this object
COLLISION_USE - Static variable in class com.threed.jpct.OcTree
Use this octree to speed up collision detection
COMPRESS - Static variable in class com.threed.jpct.Mesh
The mesh will be compressed
COSINE - Static variable in class com.threed.jpct.Animation
Use cosine interpolation between keyframes.
CULLING_DISABLED - Static variable in class com.threed.jpct.Object3D
Backface culling won't be applied to this object
CULLING_ENABLED - Static variable in class com.threed.jpct.Object3D
Backface culling will be applied to this object before rendering
Camera - class com.threed.jpct.Camera.
The Camera represents the position and direction of the camera/viewer in the current scene.
Camera() - Constructor for class com.threed.jpct.Camera
Creates a new Camera with default viewing direction (along the z-axis) and position (at the origin) as well as default FOV (as configured, 1.25 is default).
CollisionEvent - class com.threed.jpct.CollisionEvent.
A collision event is caused by a collision of either the camera or an object with another object.
CollisionListener - interface com.threed.jpct.CollisionListener.
Implement this interface and assign instances of your class to Object3Ds to receive collision events in case of collisions.
Config - class com.threed.jpct.Config.
Config is used for configuring the engine.
calcAdd(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Add two SimpleVectors to a new SimpleVector.
calcAngle(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Calculates the angle between this SimpleVector and another one.
calcAngleFast(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Calculates the angle between this SimpleVector and another one.
calcBoundingBox() - Method in class com.threed.jpct.Object3D
Calculates an AABB (Axis Aligned Bounding Box) for this object in object-space.
calcCenter() - Method in class com.threed.jpct.Object3D
Tries to calculate the center of the object using its mesh data.
calcCross(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Calculates the cross product of two SimpleVectors.
calcDot(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Calculates the dot product of two SimpleVectors.
calcMinDistance(SimpleVector, SimpleVector) - Method in class com.threed.jpct.Object3D
Returns the minimal distance to some polygon of the object from a particular position vector looking into a specific direction.
calcMinDistance(SimpleVector, SimpleVector, float) - Method in class com.threed.jpct.Object3D
Returns the minimal distance to some polygon of the object from a particular position vector looking into a specific direction.
calcMinDistance(SimpleVector, SimpleVector, float) - Method in class com.threed.jpct.World
Returns the minimal distance to some polygon of the world's objects (have to be colliders) from a particular position vector looking into a specific direction.
calcMinDistanceAndObject3D(SimpleVector, SimpleVector, float) - Method in class com.threed.jpct.World
Returns the minimal distance to some polygon of the world's objects (have to be colliders) from a particular position vector looking into a specific direction.
calcNormals() - Method in class com.threed.jpct.Object3D
Calculates the object's vertex normals by calculating the face normals of the adjacent polygons of each vertex and averaging them.
calcSub(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Calculates the difference vector of two SimpleVectors.
calcTangentVectors() - Method in class com.threed.jpct.Object3D
Tangent vectors are needed for some calculation in shaders.
calcTextureWrap() - Method in class com.threed.jpct.Object3D
"Wraps" a texture around the object.
calcTextureWrapSpherical() - Method in class com.threed.jpct.Object3D
"Wraps" a texture around the object in a spherical way.
checkCameraCollision(int, float) - Method in class com.threed.jpct.World
Moves the camera moveSpeed units from its current position and regarding its current orientation into "mode" direction, if this is possible.
checkCameraCollision(int, float, boolean) - Method in class com.threed.jpct.World
Moves the camera moveSpeed units from its current position and regarding its current orientation into "mode" direction, if this is possible.
checkCameraCollision(int, float, float, boolean) - Method in class com.threed.jpct.World
Moves the camera moveSpeed units from its current position and regarding its current orientation into "mode" direction, if this is possible.
checkCameraCollision(SimpleVector, float, float, boolean) - Method in class com.threed.jpct.World
Moves the camera moveSpeed units from its current position into an arbitrary direction, if this is possible.
checkCameraCollisionEllipsoid(int, SimpleVector, float, int) - Method in class com.threed.jpct.World
Moves the camera moveSpeed units from its current position into an arbitrary direction, if this is possible.
checkCameraCollisionEllipsoid(SimpleVector, SimpleVector, float, int) - Method in class com.threed.jpct.World
Moves the camera moveSpeed units from its current position into an arbitrary direction, if this is possible.
checkCameraCollisionSpherical(int, float, float, boolean) - Method in class com.threed.jpct.World
Moves the camera moveSpeed units from its current position and regarding its current orientation into "mode" direction, if this is possible.
checkCameraCollisionSpherical(SimpleVector, float, float, boolean) - Method in class com.threed.jpct.World
Moves the camera moveSpeed units from its current position into an arbitrary direction, if this is possible.
checkCollision(SimpleVector, SimpleVector, float) - Method in class com.threed.jpct.World
Checks if a collision between "something" and an object would take place if this "something" would move step units from its position into a given direction.
checkCollisionEllipsoid(SimpleVector, SimpleVector, SimpleVector, int) - Method in class com.threed.jpct.World
Checks if a collision between "something" and an object would take place if this "something" would move step units from its position into a given direction.
checkCollisionSpherical(SimpleVector, SimpleVector, float) - Method in class com.threed.jpct.World
Checks if a collision between "something" and an object would take place if this "something" would move step units from its position into a given direction.
checkForCollision(SimpleVector, float) - Method in class com.threed.jpct.Object3D
Checks if the current object collides with something when moving into a particular direction.
checkForCollisionEllipsoid(SimpleVector, SimpleVector, int) - Method in class com.threed.jpct.Object3D
Checks if the current object collides with something when moving into a particular direction.
checkForCollisionSpherical(SimpleVector, float) - Method in class com.threed.jpct.Object3D
Checks if the current object collides with something when moving into a particular direction.
cleanup() - Method in class com.threed.jpct.GenericVertexController
This is an empty implementation of cleanup().
cleanup() - Method in interface com.threed.jpct.IVertexController
Like setup(), this method can be overwritten to do some additional work...this time when the controller will be removed.
clear() - Method in class com.threed.jpct.FrameBuffer
Clears the framebuffer, the optiZ-buffer, the hsr-buffer and the regular z-buffer if required.
clear(Color) - Method in class com.threed.jpct.FrameBuffer
Clears the framebuffer, the optiZ-buffer, the hsr-buffer and the regular z-buffer if required.
clear(int) - Method in class com.threed.jpct.FrameBuffer
The same as clear(<Color>) but with an int-value instead of a color instance.
clear() - Method in class com.threed.jpct.GLSLShader
Disables the shader.
clear() - Method in interface com.threed.jpct.IRenderHook
Will be called if this IRenderHook implemention has been used to render the current object-(part) but won't be used for the next one.
clearAdditionalColor() - Method in class com.threed.jpct.Object3D
Removes additional color information form the object.
clearAnimation() - Method in class com.threed.jpct.Object3D
Clears the animation for this object.
clearCache() - Static method in class com.threed.jpct.Loader
Empties the file-cache.
clearColorBufferOnly(Color) - Method in class com.threed.jpct.FrameBuffer
Clears only the color bufferr, not the depth buffer.
clearObject() - Method in class com.threed.jpct.Object3D
Clears the object by removing all vertex/mesh information from it.
clearRotation() - Method in class com.threed.jpct.Object3D
Resets the current rotation to the initial value, i.e. no rotation at all.
clearTranslation() - Method in class com.threed.jpct.Object3D
Resets the current translation to the initial value, i.e. no translation at all.
clearZBufferOnly() - Method in class com.threed.jpct.FrameBuffer
Clears only the ZBuffer, not the color buffer.
cloneMatrix() - Method in class com.threed.jpct.Matrix
Creates a copy of this matrix.
cloneMesh(boolean) - Method in class com.threed.jpct.Mesh
Returns a copy of this mesh.
cloneObject() - Method in class com.threed.jpct.Object3D
Clones the current object.
collideEdgeMul - Static variable in class com.threed.jpct.Config
When using the sphere-polygon collision detection for the camera, it may be useful to use a lower sphere radius for sphere-edge-collisions to ensure that the camera slides around corners in a more realistic way.
collideEllipsoidSmoothing - Static variable in class com.threed.jpct.Config
If this is enabled, the ellipsoid collision detection will use a kind of workaround to prevent the detection from producing jerky movement in some cases.
collideEllipsoidThreshold - Static variable in class com.threed.jpct.Config
A threshold that limits recursion for ellipsoid collision detection.
collideOffset - Static variable in class com.threed.jpct.Config
The maximum number in world units a polygon's corner and/or axis aligned bounding box/octree-node (is used) may have from a position vector to be taken into account as a potential collider in the collision detection methods.
collideSectorOffset - Static variable in class com.threed.jpct.Config
The number of units a position vector may be placed outside of a sector and still be considered as part of it as far as collision detection is concerned.
collision(CollisionEvent) - Method in interface com.threed.jpct.CollisionListener
This method will be called in case of a collision.
com.threed.jpct - package com.threed.jpct
 
com.threed.jpct.procs - package com.threed.jpct.procs
 
com.threed.jpct.threading - package com.threed.jpct.threading
 
com.threed.jpct.util - package com.threed.jpct.util
 
compile(List) - Method in class com.threed.jpct.GLSLShader
For compatibility with jPCT-AE.
compile() - Method in class com.threed.jpct.Object3D
Compiles an Object3D.
compile(boolean) - Method in class com.threed.jpct.Object3D
Compiles an Object3D.
compile(boolean, boolean, boolean, boolean, int) - Method in class com.threed.jpct.Object3D
Compiles an Object3D.
compile() - Method in class com.threed.jpct.util.SkyBox
Can be used to compile the skybox.
compileAndStrip() - Method in class com.threed.jpct.Object3D
Compiles and strips an Object3D.
completePortal() - Method in class com.threed.jpct.Portals
Signals that all vertices have been added to the portal and that the attributes have been set.
compress() - Method in class com.threed.jpct.Mesh
Compresses the mesh by removing unused information from it.
containsAlpha() - Method in interface com.threed.jpct.ITextureEffect
If this returns true, jPCT assumes that the alpha channel in the returned pixels is populated and treats it accordingly.
containsAlpha() - Method in class com.threed.jpct.WaterTextureEffect
 
containsObject(Object3D) - Method in class com.threed.jpct.World
Returns true, if an Object3D belongs to this world and false otherwise.
containsTexture(String) - Method in class com.threed.jpct.TextureManager
Checks if a texture has already been added to the texture-manager (or better: if a texture with this name exists within the manager instance).
convertDEGAngleIntoFOV(float) - Method in class com.threed.jpct.Camera
Converts an angle in degrees into a FOV value that jPCT can handle.
convertRADAngleIntoFOV(float) - Method in class com.threed.jpct.Camera
Converts an angle in radians into a FOV value that jPCT can handle (=2*tan(angle/2)).
copyBackToFront() - Method in class com.threed.jpct.BufferedMatrix
Copy the backbuffer matrix into the frontbuffer matrix.
create() - Static method in class com.threed.jpct.SimpleVector
Alternative way of creating a SimpleVector.
create(float, float, float) - Static method in class com.threed.jpct.SimpleVector
Alternative way of creating a SimpleVector.
create(SimpleVector) - Static method in class com.threed.jpct.SimpleVector
Alternative way of creating a SimpleVector.
createBox(SimpleVector) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cuboid with width, height and depth given as components of a SimpleVector.
createCog(int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cog that fits into a 1*1*1 cube.
createCog(int, float, float, float, float, float, float, float) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cog.
createCone(int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cone which would perfeclty fit into a 1*1*1 cube.
createCone(float, float, int, boolean) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cone which would perfectly fit into a 1*1*1 cube.
createCube() - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cube with an edge length of 1.
createCube(float) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cube with a given edge length.
createCylinder(int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cylinder which would perfectly fit into a 1*1*1 cube.
createCylinder(float, float, int, boolean) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a cylinder with specific radius and height.
createDisc(int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a disc with a size of 1*1 (so it has radius 0.5).
createDisc(float, int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a disc with a specific radius.
createDisc(float, float, int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a disc with a specific radius in X and in Y direction.
createDummyObj() - Static method in class com.threed.jpct.Object3D
Static method that creates a dummy Object3D.
createEllipsoid(SimpleVector, int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates an ellipsoid with given width, height and depth.
createEllipsoid(SimpleVector, int, float, float) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates an ellipsoid with given width, height and depth.
createNormal(SimpleVector, SimpleVector, SimpleVector) - Method in class com.threed.jpct.SimpleVector
Makes this SimpleVector a normal vector of the plane in which all the three points lie.
createPivot() - Static method in class com.threed.jpct.util.ExtendedPrimitives
A pivot object is just another name for a dummy object that can be used to position objects by setting the pivot as parent.
createPixelFormat(int, int, int, int, int) - Static method in class com.threed.jpct.JOGLRenderer
 
createPlane(int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a plane.
createPlane(float, int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a plane.
createPyramid() - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a pyramid that would perfectly fit into a 1*1*1 cube.
createPyramid(float) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a pyramid that would perfectly fit into a specific cube.
createPyramid(float, float) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a pyramid with a specific ground size and height.
createSphere(int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a sphere with a radius of 0.5 (so it would perfectly fit into a 1*1*1 cube).
createSphere(float, int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a sphere with a specific radius.
createSprite() - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a sprite of size 1*1.
createSprite(float) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a sprite of a specific size.
createSprite(float, float) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a sprite of a specific size.
createSubSequence(String) - Method in class com.threed.jpct.Animation
Creates a new sub-sequence.
createTorus(int, int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a torus (also known as donut) around the Y-Axis.
createTorus(float, float, int, int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a torus (also known as donut) around the Y-Axis.
createTriangleStrips() - Method in class com.threed.jpct.Object3D
Tries to rebuild the object in a way that it can be rendered by using triangle strips in the most optimal way.
createTriangleStrips(int) - Method in class com.threed.jpct.Object3D
Tries to rebuild the object in a way that it can be rendered by using triangle strips in the most optimal way.
createTriangleStrips() - Method in class com.threed.jpct.World
Tries to rebuild all objects of this world in a way that they can be rendered by using triangle strips in the most optimal way.
createTube(int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a tube along the Y-Axis.
createTube(float, float, float, int) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Creates a tube along the Y-Axis.
cullingIsInverted() - Method in class com.threed.jpct.Object3D
Returns true, if inverted culling is used on this object.

D

DEBUG - Static variable in class com.threed.jpct.Logger
A debug message
DEFAULT_BPP - Static variable in class com.threed.jpct.Texture
The default color-depth of 24 bpp.
DEFAULT_HEIGHT - Static variable in class com.threed.jpct.Texture
The default height of a texture (256 pixels).
DEFAULT_WIDTH - Static variable in class com.threed.jpct.Texture
The default width of a texture (256 pixels).
DISCARD_MESSAGES - Static variable in class com.threed.jpct.Logger
Don't store the messages
DONT_COMPRESS - Static variable in class com.threed.jpct.Mesh
The mesh won't be compressed
DONT_SLIDE - Static variable in class com.threed.jpct.Camera
Camera stops in front of obstacles
DeSerializer - class com.threed.jpct.DeSerializer.
A class that allows for serialization and deserialization of Object3Ds in a compacted format that loads very fast.
DeSerializer() - Constructor for class com.threed.jpct.DeSerializer
Creates a new DeSerializer.
decompile(FrameBuffer) - Method in class com.threed.jpct.Object3D
Decompiles an object.
decoupleMesh() - Method in class com.threed.jpct.Object3D
Decouples the current mesh from the object.
decoupleVisibilityList() - Method in class com.threed.jpct.World
Creates a non-shared visibility list for this World even if Config.shareVisibilityList is set to true.
decreaseFOV(float) - Method in class com.threed.jpct.Camera
Decreases the FOV.
defaultCameraFOV - Static variable in class com.threed.jpct.Config
The default FOV for the camera.
depth - Variable in class com.threed.jpct.VideoMode
The depth of the depthbuffer in bits
deserialize(InputStream) - Method in class com.threed.jpct.DeSerializer
Deserializes an Object3D from an InputStream
deserializeArray(InputStream) - Method in class com.threed.jpct.DeSerializer
Deserializes an Object3D-array from an InputStream
destroy() - Method in class com.threed.jpct.GenericVertexController
 
destroy() - Method in interface com.threed.jpct.IVertexController
This method will be called when the controller will be removed from a Mesh.
destroy() - Method in class com.threed.jpct.util.KeyMapper
Destroys the KeyMapper.
disable() - Method in class com.threed.jpct.util.Light
Disables a light.
disableCollisionListeners() - Method in class com.threed.jpct.Object3D
Disables all collision listeners of this object, so that none of them will be notified in case of a collision.
disableLazyTransformations() - Method in class com.threed.jpct.Object3D
Disables "lazy transformations".
disableRenderer(int) - Method in class com.threed.jpct.FrameBuffer
Disables a renderer for this framebuffer.
disableVertexSharing() - Method in class com.threed.jpct.Object3D
Disables the automatic vertex sharing that jPCT does for triangles added by addTriangle.
display(Graphics) - Method in class com.threed.jpct.FrameBuffer
Displays the output Image onto the component with the given Graphics context.
display(Graphics, int) - Method in class com.threed.jpct.FrameBuffer
Displays the output Image onto the component with the given Graphics context.
display(Graphics, int, int) - Method in class com.threed.jpct.FrameBuffer
Displays the output Image onto the component with the given Graphics context.
display() - Method in class com.threed.jpct.FrameBuffer
The same as displayGLOnly.
displayGLOnly() - Method in class com.threed.jpct.FrameBuffer
Displays the output image produced by OpenGL compatible hardware if OpenGL rendering is in use.
dispose() - Method in class com.threed.jpct.AWTGLRenderer
 
dispose() - Method in class com.threed.jpct.FrameBuffer
Has to be called before this FrameBuffer won't be used anymore to do some clean up work.
dispose() - Method in class com.threed.jpct.GLRenderer
 
dispose() - Method in interface com.threed.jpct.IPostProcessor
Will be called when a post processor gets removed from a framebuffer and should be called, when the processor gets garbage collected.
dispose() - Method in interface com.threed.jpct.IRenderer
Disposes the renderer and all its resources if it's not used any longer.
dispose() - Method in class com.threed.jpct.LegacyRenderer
 
dispose() - Method in class com.threed.jpct.SoftGLRenderer
 
dispose() - Method in class com.threed.jpct.World
Disposes the world.
dispose() - Method in class com.threed.jpct.procs.BloomGLProcessor
 
dispose() - Method in class com.threed.jpct.threading.Worker
Terminates the worker and all running threads.
dispose() - Method in class com.threed.jpct.util.Light
Disposes the light.
dispose() - Method in class com.threed.jpct.util.Overlay
Disposes the overlay and frees its resources.
dispose() - Method in class com.threed.jpct.util.ShadowHelper
Disposes the helper.
dispose() - Method in class com.threed.jpct.util.SkyBox
Disposes the skybox.
distance(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Returns the distance between this SimpleVector and another position vector.
distanceTo(SimpleVector) - Method in class com.threed.jpct.Plane
Calculates the shortest (signed) distance from a point to the plane.
doPortalHsr - Static variable in class com.threed.jpct.Config
Use portals and sectors to perform visibility determination.
doSorting - Static variable in class com.threed.jpct.Config
Perform a front-to-back sorting of polygons before rendering.
doWork() - Method in interface com.threed.jpct.threading.WorkLoad
In this method, the actual work should be done (hence the name...)
done() - Method in interface com.threed.jpct.threading.WorkLoad
This method is being called when the Worker is done with the WorkLoad.
draw(FrameBuffer) - Method in class com.threed.jpct.World
Draws the current scene that has been generated geometry wise by renderScene().
draw(FrameBuffer, int, int) - Method in class com.threed.jpct.World
Draws the current scene that has been generated geometry wise by renderScene().
drawPolygon(VisList, int, FrameBuffer, World) - Method in class com.threed.jpct.AWTGLRenderer
 
drawPolygon(VisList, int, FrameBuffer, World) - Method in class com.threed.jpct.GLRenderer
 
drawPolygon(VisList, int, FrameBuffer, World) - Method in interface com.threed.jpct.IRenderer
Draws a polygon.
drawPolygon(VisList, int, FrameBuffer, World) - Method in class com.threed.jpct.LegacyRenderer
 
drawPolygon(VisList, int, FrameBuffer, World) - Method in class com.threed.jpct.SoftGLRenderer
 
drawScene(World, FrameBuffer) - Method in class com.threed.jpct.util.ReflectionHelper
Draws the scene into the reflection map.
drawScene(World, FrameBuffer, World[]) - Method in class com.threed.jpct.util.ReflectionHelper
Draws the scene into the reflection map.
drawScene() - Method in class com.threed.jpct.util.ShadowHelper
Draws the scene using the most current shadow map.
drawScene(boolean) - Method in class com.threed.jpct.util.ShadowHelper
Draws the scene using the most current shadow map.
drawStrip(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.AWTGLRenderer
 
drawStrip(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.GLRenderer
 
drawStrip(VisList, int, int, FrameBuffer, World) - Method in interface com.threed.jpct.IRenderer
Draws a triangle strip.
drawStrip(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.LegacyRenderer
 
drawStrip(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.SoftGLRenderer
 
drawVertexArray(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.AWTGLRenderer
 
drawVertexArray(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.GLRenderer
 
drawVertexArray(VisList, int, int, FrameBuffer, World) - Method in interface com.threed.jpct.IRenderer
Draws a vertex array.
drawVertexArray(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.LegacyRenderer
 
drawVertexArray(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.SoftGLRenderer
 
drawWireframe(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.AWTGLRenderer
 
drawWireframe(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.GLRenderer
 
drawWireframe(VisList, int, int, FrameBuffer, World) - Method in interface com.threed.jpct.IRenderer
Draws a polygon's wireframe.
drawWireframe(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.LegacyRenderer
 
drawWireframe(VisList, int, int, FrameBuffer, World) - Method in class com.threed.jpct.SoftGLRenderer
 
drawWireframe(FrameBuffer, Color) - Method in class com.threed.jpct.World
Draws the current scene as a single-colored wireframe.

E

ELLIPSOID_ALIGNED - Static variable in class com.threed.jpct.Camera
The camera's ellipsoid won't be transformed when performing collision detection (default).
ELLIPSOID_ALIGNED - Static variable in class com.threed.jpct.Object3D
The object's ellipsoid won't be transformed when performing collision detection (default).
ELLIPSOID_TRANSFORMED - Static variable in class com.threed.jpct.Camera
The camera's ellipsoid will be transformed when performing collision detection.
ELLIPSOID_TRANSFORMED - Static variable in class com.threed.jpct.Object3D
The object's ellipsoid will be transformed when performing collision detection.
ENVMAP_CAMERASPACE - Static variable in class com.threed.jpct.Object3D
Environment mapping takes place in cameraspace
ENVMAP_DISABLED - Static variable in class com.threed.jpct.Object3D
Environment mapping is disabled
ENVMAP_ENABLED - Static variable in class com.threed.jpct.Object3D
Environment mapping is enabled
ENVMAP_WORLDSPACE - Static variable in class com.threed.jpct.Object3D
Environment mapping takes place in worldspace
ENVMAP_XY - Static variable in class com.threed.jpct.Object3D
'Direction' of spherical environment mapping is XY (default)
ENVMAP_XZ - Static variable in class com.threed.jpct.Object3D
'Direction' of spherical environment mapping is XZ
ENVMAP_YZ - Static variable in class com.threed.jpct.Object3D
'Direction' of spherical environment mapping is YZ
ERROR - Static variable in class com.threed.jpct.Logger
The message is an error
EXCLUDE_NOT_SELECTABLE - Static variable in class com.threed.jpct.Interact2D
Constant for pickPolygon(...) to exclude unselectable objects from picking.
EXCLUDE_TRANSPARENT - Static variable in class com.threed.jpct.Interact2D
Constant for pickPolygon(...) to exclude transparent objects from picking.
ExtendedPrimitives - class com.threed.jpct.util.ExtendedPrimitives.
This class provides some methods to create basic 3d objects that can be used within a jPCT world.
ExtendedPrimitives() - Constructor for class com.threed.jpct.util.ExtendedPrimitives
 
ellipsoidIntersectsAABB(SimpleVector, SimpleVector) - Method in class com.threed.jpct.Object3D
Checks if a given ellipsoid intersects the axis aligned bounding box (in object-space) of this object.
enable() - Method in class com.threed.jpct.util.Light
Enables a light.
enableCollisionListeners() - Method in class com.threed.jpct.Object3D
(Re-)enables all collision listerner of this object.
enableGLCanvasRenderer() - Method in class com.threed.jpct.FrameBuffer
Enables an OpenGL renderer that will render into a canvas.
enableGLClamping() - Method in class com.threed.jpct.Texture
Deprecated.  
enableLazyTransformations() - Method in class com.threed.jpct.Object3D
Enables "lazy transformations".
enableRenderer(int) - Method in class com.threed.jpct.FrameBuffer
Enables a renderer (OpenGL or software) in OpenGL-lighting mode.
enableRenderer(int, int) - Method in class com.threed.jpct.FrameBuffer
Enables a renderer (OpenGL or software) in the desired mode.
equals(Object) - Method in class com.threed.jpct.Matrix
 
equals(Object) - Method in class com.threed.jpct.SimpleVector
Overrides the equals()-method from java.lang.Object.
equalsAlmost(VideoMode, boolean) - Method in class com.threed.jpct.VideoMode
Compares two video-modes.
equalsExactly(VideoMode) - Method in class com.threed.jpct.VideoMode
Compares two video-modes.
error(Exception) - Method in interface com.threed.jpct.threading.WorkLoad
If doWork() throws an exception, this method will be called.
exclude(Object3D) - Method in class com.threed.jpct.util.ReflectionHelper
Excludes an object from the reflection.
excludeShadowMap(boolean) - Method in class com.threed.jpct.GLSLShader
If set to true (default), no shaders will be applied when rendering into a depth map.
execute(int, Object[]) - Method in class com.threed.jpct.AWTGLRenderer
 
execute(int, Object[]) - Method in class com.threed.jpct.GLRenderer
 
execute(int, Object[]) - Method in interface com.threed.jpct.IRenderer
Executes the renderer specific function.
execute(int, Object[]) - Method in class com.threed.jpct.LegacyRenderer
 
execute(int, Object[]) - Method in class com.threed.jpct.SoftGLRenderer
 

F

FILTERING_DISABLED - Static variable in class com.threed.jpct.Object3D
Filtering is not used on this object
FILTERING_ENABLED - Static variable in class com.threed.jpct.Object3D
Filtering is used on this object (where needed)
FINALIZE_DEFAULT - Static variable in class com.threed.jpct.Object3D
Default mode for sector processing
FINALIZE_PRESORTX - Static variable in class com.threed.jpct.Object3D
Alternative mode for sector processing (not very useful at all)
FINALIZE_PRESORTY - Static variable in class com.threed.jpct.Object3D
Alternative mode for sector processing (not very useful at all)
FINALIZE_PRESORTZ - Static variable in class com.threed.jpct.Object3D
Alternative mode for sector processing (not very useful at all)
FOGGING_DISABLED - Static variable in class com.threed.jpct.World
No linear distance fogging will be used (default)
FOGGING_ENABLED - Static variable in class com.threed.jpct.World
Linear distance fogging will be used.
FOGGING_PER_PIXEL - Static variable in class com.threed.jpct.World
Fogging will be applied per pixel.
FOGGING_PER_VERTEX - Static variable in class com.threed.jpct.World
Fogging will be applied per vertex by jPCT (default).
FrameBuffer - class com.threed.jpct.FrameBuffer.
The FrameBuffer class provides a buffer into which jPCT renders the scene.
FrameBuffer(int, int, int) - Constructor for class com.threed.jpct.FrameBuffer
Creates a new framebuffer with a width of x and a height of y using the given samplingmode.
fadeoutLight - Static variable in class com.threed.jpct.Config
Lightsourcing may depend on distance (or not).
farPlane - Static variable in class com.threed.jpct.Config
The far clipping plane. jPCT's software renderer doesn't clip but culls on this plane.
fillDump(float[]) - Method in class com.threed.jpct.Matrix
Dumps a matrix row-wise into a given float[16]-array and returns it.
filter(XMLNode, XMLNode) - Method in class com.threed.jpct.util.XMLFactory
Removes nodes from the tree whose path don't match the filter-node's path.
finalize() - Method in class com.threed.jpct.SoftGLRenderer
 
finalize() - Method in class com.threed.jpct.WorldProcessor
 
finalize() - Method in class com.threed.jpct.threading.Worker
 
finalize() - Method in class com.threed.jpct.util.ReflectionHelper
 
finalize() - Method in class com.threed.jpct.util.ShadowHelper
 
finishedPainting() - Method in interface com.threed.jpct.IPaintListener
Called when the renderer has finished painting.
flush() - Method in class com.threed.jpct.FrameBuffer
Does nothing.
flush() - Method in class com.threed.jpct.TextureManager
Flushes the textures in the manager.
forceGeometryIndices(boolean) - Method in class com.threed.jpct.Object3D
Does nothing in jPCT.

G

GLRenderer - class com.threed.jpct.GLRenderer.
This is the renderer to support hardware acceleration via OpenGL using the LWJGL.
GLSLShader - class com.threed.jpct.GLSLShader.
A simple helper class for GLSL-based shaders.
GLSLShader(String, String) - Constructor for class com.threed.jpct.GLSLShader
Creates a new instance.
GREEN - Static variable in class com.threed.jpct.RGBColor
 
GenericVertexController - class com.threed.jpct.GenericVertexController.
The GenericVertexController provides an abstract class that implements large portions of the IVertexController interface.
GenericVertexController() - Constructor for class com.threed.jpct.GenericVertexController
 
get(int, int) - Method in class com.threed.jpct.Matrix
Returns the value at a position in the matrix.
getARGB() - Method in class com.threed.jpct.RGBColor
Returns the color as an int argb value with alpha.
getAdditionalColor() - Method in class com.threed.jpct.Object3D
Returns the additional color.
getAlgorithm() - Method in class com.threed.jpct.CollisionEvent
Return the algorithm used to detect the collision that has caused the event.
getAlpha() - Method in class com.threed.jpct.RGBColor
Returns the alpha value (0..255).
getAmbientLight() - Method in class com.threed.jpct.World
Returns the ambient light's intensities in an int[]-array in r,g,b order.
getAnimationSequence() - Method in class com.threed.jpct.Object3D
Returns the animation sequence.
getArraySize() - Method in class com.threed.jpct.Texture
Returns the size of the texture array. jPCT stores a little more for every texture than the actual texture data would need.
getAttenuation() - Method in class com.threed.jpct.util.Light
Returns the light's attenuation if it has been set before.
getAttributeValue(String) - Method in class com.threed.jpct.util.XMLNode
Gets the value of a node's attribute or an empty String if the node doesn't have this attribute.
getAttributes() - Method in class com.threed.jpct.util.XMLNode
Returns the collection of attributes.
getAvailableVideoModes() - Method in interface com.threed.jpct.IRenderer
Get all available video modes.
getAvailableVideoModes() - Method in class com.threed.jpct.JOGLRenderer
 
getAvailableVideoModes() - Method in class com.threed.jpct.LegacyRenderer
 
getAvailableVideoModes() - Method in class com.threed.jpct.SoftGLRenderer
 
getBack() - Method in class com.threed.jpct.BufferedMatrix
Returns the Matrix that is used as the backbuffer matrix.
getBillBoardMatrix() - Method in class com.threed.jpct.Camera
Returns the bill board matrix or null if none has been set.
getBlending() - Method in class com.threed.jpct.Object3D
Returns true if blending is enable.
getBlue() - Method in class com.threed.jpct.RGBColor
Returns the blue value (0..255).
getBoundingBox() - Method in class com.threed.jpct.Mesh
Returns the bounding box in object space of this mesh in a float array.
getBounds(boolean) - Method in class com.threed.jpct.World
Returns the world space bounds of all (optional only the visible) objects that belong to this world.
getBox(float, float) - Static method in class com.threed.jpct.Primitives
Returns a box (a 3-dimensional rectangle).
getByteSize() - Method in class com.threed.jpct.Texture
Deprecated.  
getCamera() - Method in class com.threed.jpct.World
Gets the current camera.
getCameraSector() - Method in class com.threed.jpct.World
Returns the sector-number of the sector the current camera is in.
getCasterCount() - Method in class com.threed.jpct.util.ShadowHelper
Gets the number of casters in the helper.
getCenter() - Method in class com.threed.jpct.Object3D
Returns the center of the object (in object-space, i.e. unaffected by any transformation).
getChar() - Method in class com.threed.jpct.util.KeyState
The key's character for the key that has been pressed or release.
getClippingPlaneOffset() - Method in class com.threed.jpct.util.ReflectionHelper
Returns the clipping offset.
getCollisionListeners() - Method in class com.threed.jpct.Object3D
Returns the collision listeners of this object as an enumeration.
getCollisionUse() - Method in class com.threed.jpct.OcTree
Gets the collision detection setting for this octree.
getColor() - Method in class com.threed.jpct.Polyline
Returns the color of the line strip.
getCone(float) - Static method in class com.threed.jpct.Primitives
Returns a cone with 90 faces.
getCone(int, float) - Static method in class com.threed.jpct.Primitives
Returns a cone with the given number of faces.
getCone(int, float, float) - Static method in class com.threed.jpct.Primitives
Returns a cone with the given number of faces.
getCube(float) - Static method in class com.threed.jpct.Primitives
Returns a cube.
getCulling() - Method in class com.threed.jpct.Object3D
Returns the current culling mode.
getCylinder(float) - Static method in class com.threed.jpct.Primitives
Returns a cylinder with 90 faces.
getCylinder(int, float) - Static method in class com.threed.jpct.Primitives
Returns a cylinder with the given number of faces.
getCylinder(int, float, float) - Static method in class com.threed.jpct.Primitives
Returns a cylinder with the given number of faces.
getData(int, int[]) - Method in class com.threed.jpct.VisList
Fills the given int[]-array with the object number and polygon ID at a position.
getData() - Method in class com.threed.jpct.util.XMLNode
Returns the data of the node.
getDefaultThread() - Static method in class com.threed.jpct.World
Returns the default thread or null if none has been set.
getDestinationMesh() - Method in class com.threed.jpct.GenericVertexController
 
getDestinationMesh() - Method in interface com.threed.jpct.IVertexController
Returns the destination mesh's vertex data.
getDestinationNormals() - Method in class com.threed.jpct.GenericVertexController
 
getDestinationNormals() - Method in interface com.threed.jpct.IVertexController
Returns the destination mesh's normals.
getDirection() - Method in class com.threed.jpct.Camera
Returns the direction vector of the camera in world space.
getDirection(SimpleVector) - Method in class com.threed.jpct.Camera
Returns the direction vector of the camera in world space and fills the given SimpleVector with the result.
getDiscardDistance() - Method in class com.threed.jpct.util.Light
Gets the discard distance of this light, if it has be set before.
getDistanceOverride() - Method in class com.threed.jpct.util.Light
Returns the overriden distance.
getDoubleCone(float) - Static method in class com.threed.jpct.Primitives
Returns a double cone with 90 faces.
getDoubleCone(int, float) - Static method in class com.threed.jpct.Primitives
Returns a double cone with the given number of faces.
getDummyTexture() - Method in class com.threed.jpct.TextureManager
Returns the current dummy texture.
getDump() - Method in class com.threed.jpct.Matrix
Dumps a matrix row-wise into a float[16]-array.
getEllipsoid(float, float) - Static method in class com.threed.jpct.Primitives
Returns an ellipsoid with 20 faces.
getEllipsoid(int, float, float) - Static method in class com.threed.jpct.Primitives
Returns an ellipsoid with he given number of faces.
getEllipsoidMode() - Method in class com.threed.jpct.Camera
Returns the current ellipsoid mode.
getEllipsoidMode() - Method in class com.threed.jpct.Object3D
Returns the current ellipsoid mode.
getEnvmapMode() - Method in class com.threed.jpct.Object3D
Returns the currently used mode for environment mapping (worldspace or cameraspace).
getExternalId() - Method in class com.threed.jpct.Texture
Returns the external id if one has been set or -1 otherwise.
getFOV() - Method in class com.threed.jpct.Camera
Returns the FOV.
getFarClippingPlane() - Method in class com.threed.jpct.Camera
Returns the far clipping plane.
getFilledLeafs() - Method in class com.threed.jpct.OcTree
 
getFirstContact() - Method in class com.threed.jpct.CollisionEvent
Returns the position in world space of the first contact, if the event is of type TARGET.
getFogging() - Method in class com.threed.jpct.World
Returns if fogging is being used or not.
getFoggingMode() - Method in class com.threed.jpct.World
Returns the current fogging mode.
getFrameCounter() - Method in class com.threed.jpct.World
Returns the number of frames rendered since startup.
getFront() - Method in class com.threed.jpct.BufferedMatrix
Returns the Matrix that is used as the frontbuffer matrix.
getFrustumOffsetX() - Method in class com.threed.jpct.Camera
Returns the current frustum offset in x-direction.
getFrustumOffsetY() - Method in class com.threed.jpct.Camera
Returns the current frustum offset in y-direction.
getGlobalShader() - Method in class com.threed.jpct.World
Returns the global shader or null if none has been set.
getGraphics() - Method in class com.threed.jpct.FrameBuffer
Returns the Graphics object of the output buffer to allow the use of JAVA's standard graphic methods on the rendered image (like drawString).
getGreen() - Method in class com.threed.jpct.RGBColor
Returns the green value (0..255).
getHeight() - Method in class com.threed.jpct.FrameBuffer
The same as getOutputHeight().
getHeight() - Method in class com.threed.jpct.Texture
Returns the height of the texture in pixels.
getID() - Method in class com.threed.jpct.FrameBuffer
Returns a unique ID for this FrameBuffer.
getID() - Method in class com.threed.jpct.Object3D
Returns the object's ID.
getInstance() - Static method in class com.threed.jpct.TextureManager
Returns an instance of the TextureManager.
getInstance() - Static method in class com.threed.jpct.util.XMLFactory
Returns the instance of the XMLFactory.
getIntensity() - Method in class com.threed.jpct.util.Light
Sets the light's intensity.
getInverseWorldTransformation() - Method in class com.threed.jpct.Object3D
Returns the inverse of the transformation matrix from object into world space.
getInverseWorldTransformation(Matrix) - Method in class com.threed.jpct.Object3D
Returns the inverse of the transformation matrix from object into world space and fills the result in the given matrix.
getKeyCode() - Method in class com.threed.jpct.util.KeyState
The key code for the key that has been pressed or release.
getKeyFrames() - Method in class com.threed.jpct.Animation
Returns the key frames of an animation as an array of Mesh.
getLastFrame() - Method in class com.threed.jpct.Texture
Returns the number of the last frame the texture was used in.
getLength() - Method in class com.threed.jpct.Polyline
Returns the length of the line strip.
getLevel() - Method in class com.threed.jpct.util.XMLNode
Gets the level of the node, i.e. the depth in the tree.
getLightAttenuation(int) - Method in class com.threed.jpct.World
Gets the attenuation of a light source, if it has be set before.
getLightCount() - Method in class com.threed.jpct.Object3D
Returns the number of lights that have an influence on this object.
getLightDiscardDistance(int) - Method in class com.threed.jpct.World
Gets the discard distance of a light source, if it has be set before.
getLightDistanceOverride(int) - Method in class com.threed.jpct.World
Returns the overriden distance.
getLightIntensity(int) - Method in class com.threed.jpct.World
Returns the intensity of a light source.
getLightPosition(int) - Method in class com.threed.jpct.World
Gets the position of a light source in world space.
getLightSource() - Method in class com.threed.jpct.util.ShadowHelper
Returns the directional light source.
getLighting() - Method in class com.threed.jpct.Object3D
Gets the lighting mode.
getLights() - Method in class com.threed.jpct.World
Returns the Lights instance used by this instance of World to illuminate the scene.
getLock() - Method in class com.threed.jpct.AWTGLRenderer
 
getLock() - Method in class com.threed.jpct.FrameBuffer
Returns the lock object for the frame buffer.
getLogLevel() - Static method in class com.threed.jpct.Logger
Returns the log-level.
getMainObject() - Method in class com.threed.jpct.World
Gets the main object or null if none is set.
getMainObjectID() - Method in class com.threed.jpct.World
Gets the ID of the main object or MAIN_OBJECT_NOT_SET, if it's not set.
getMatchingNodes(String, XMLNode) - Method in class com.threed.jpct.util.XMLFactory
Gets the nodes that match the pattern in "mynode/mynode2/mynode3"-form starting from the given node.
getMaxFOV() - Method in class com.threed.jpct.Camera
Gets the highest possible FOV.
getMaxLights() - Method in class com.threed.jpct.Object3D
Returns the maximum number of lights that should have an influence on this object.
getMaxPolygonID() - Method in class com.threed.jpct.PolygonManager
Returns the maximum polygon ID for the object.
getMaxSize() - Method in class com.threed.jpct.VisList
Gets the maximum size of the visibility list.
getMaxTextureSize() - Method in class com.threed.jpct.FrameBuffer
Gets the maximum texture size that the current renderers support.
getMemoryUsage() - Method in class com.threed.jpct.Texture
Returns the actual memory usage in VM memory.
getMemoryUsage(boolean) - Method in class com.threed.jpct.TextureManager
Returns the memory usage of all texture in the texture manager and in the GPU's memory.
getMesh() - Method in class com.threed.jpct.Object3D
Returns the current mesh of the object.
getMeshSize() - Method in class com.threed.jpct.GenericVertexController
 
getMeshSize() - Method in interface com.threed.jpct.IVertexController
Returns the size of the mesh.
getMessageBuffer() - Static method in class com.threed.jpct.Logger
Returns the current message-buffer as String-array.
getMiddleX() - Method in class com.threed.jpct.FrameBuffer
Returns the x-coord of the midpoint of the framebuffer.
getMiddleY() - Method in class com.threed.jpct.FrameBuffer
Returns the y-coord of the midpoint of the framebuffer.
getMinFOV() - Method in class com.threed.jpct.Camera
Gets the lowest possible FOV.
getName(int) - Method in class com.threed.jpct.Animation
Returns the name of a sequence.
getName() - Method in class com.threed.jpct.Object3D
Returns the name of the object.
getName() - Method in class com.threed.jpct.VertexAttributes
Returns the name of the vertex attributes in your shader's code.
getName() - Method in class com.threed.jpct.util.XMLNode
Gets the name of the node.
getNameByID(int) - Method in class com.threed.jpct.TextureManager
Gets the name with which the texture with the given ID has been added to the manager.
getNameByTexture(Texture) - Method in class com.threed.jpct.TextureManager
Returns the name with which the texture has been added to the manager.
getNames() - Method in class com.threed.jpct.TextureManager
Gets all the names of the textures that have been added to the manager.
getNearClippingPlane() - Method in class com.threed.jpct.Camera
Returns the near clipping plane.
getNextID() - Static method in class com.threed.jpct.Object3D
Static method that returns the ID the next object will get.
getNormalizedAlpha() - Method in class com.threed.jpct.RGBColor
Returns the alpha value in normalized form (0..1).
getNormalizedBlue() - Method in class com.threed.jpct.RGBColor
Returns the blue value in normalized form (0..1).
getNormalizedGreen() - Method in class com.threed.jpct.RGBColor
Returns the green value in normalized form (0..1).
getNormalizedRed() - Method in class com.threed.jpct.RGBColor
Returns the red value in normalized form (0..1).
getObject() - Method in class com.threed.jpct.CollisionEvent
Returns the Object3D that has caused the event (i.e. to which this Listener has been added).
getObject(int) - Method in class com.threed.jpct.World
Returns the object with the given ID from the World's object collection.
getObject3D() - Method in class com.threed.jpct.util.Overlay
Returns the internal Object3D that is the actual Overlay.
getObjectByName(String) - Method in class com.threed.jpct.World
Returns the object named "name" from the World's object collection.
getObjectID(int[]) - Static method in class com.threed.jpct.Interact2D
Gets the ID of a picked object out of the result array.
getObjects() - Method in class com.threed.jpct.World
Returns an Enumeration of all user defined objects in this world.
getOcTree() - Method in class com.threed.jpct.Object3D
Returns the OcTree assigned to this object or null, if none has been assigned.
getOrigin() - Method in class com.threed.jpct.Object3D
Returns the origin of the object (as set by setOrigin()).
getOriginMatrix() - Method in class com.threed.jpct.Object3D
Returns the object's origin-translation matrix.
getOutputBuffer() - Method in class com.threed.jpct.FrameBuffer
Returns the Image that represents the output-buffer of the framebuffer.
getOutputHeight() - Method in class com.threed.jpct.FrameBuffer
Returns the height of the framebuffer.
getOutputWidth() - Method in class com.threed.jpct.FrameBuffer
Returns the width of the framebuffer.
getParameterNames() - Static method in class com.threed.jpct.Config
Returns the names of all public fields in Config, all configuration options.
getParameterValue(String) - Static method in class com.threed.jpct.Config
Gets the current value of the parameter with the given name.
getParent() - Method in class com.threed.jpct.Polyline
Returns the parent object.
getParents() - Method in class com.threed.jpct.Object3D
Returns all parents of this Object3D in an array.
getPercentage() - Method in class com.threed.jpct.Polyline
Returns the percentage (a value between 0 and 1 that defines how much of the line is actually visible).
getPixels() - Method in class com.threed.jpct.FrameBuffer
Returns the raw pixel-data.
getPlane(int, float) - Static method in class com.threed.jpct.Primitives
Returns a plane consisting of (quads^2)*2 polygons each "scale" units in size.
getPolygonID(int[]) - Static method in class com.threed.jpct.Interact2D
Gets the ID of a picked polygon out of the result array.
getPolygonIDs() - Method in class com.threed.jpct.CollisionEvent
Returns an array containing all the IDs of the object's polygons that were target of the collision that caused this event.
getPolygonIDs(int, int) - Method in class com.threed.jpct.GenericVertexController
 
getPolygonIDs(int, int) - Method in interface com.threed.jpct.IVertexController
Returns the polygon IDs of the polygons that are using the vertex "number".
getPolygonManager() - Method in class com.threed.jpct.Object3D
Returns the PolygonManager for this object.
getPolygonTexture(int) - Method in class com.threed.jpct.PolygonManager
Returns the texture ID of a polygon or -1 in case of an error.
getPolygonTextures(int) - Method in class com.threed.jpct.PolygonManager
Returns the texture IDs of a polygon or null in case of an error.
getPortals() - Method in class com.threed.jpct.World
Gets the Portals instance used by this world
getPosition() - Method in class com.threed.jpct.Camera
Gets the current position of the camera.
getPosition(SimpleVector) - Method in class com.threed.jpct.Camera
Gets the current position of the camera and fill the given SimpleVector with the result.
getPosition() - Method in class com.threed.jpct.util.Light
Returns the position of this light in world space.
getProgram() - Method in class com.threed.jpct.GLSLShader
Returns the id of the shader program.
getProjectionMatrix(FrameBuffer) - Method in class com.threed.jpct.Camera
Returns the projection matrix.
getProjectionMatrix(FrameBuffer, float, float) - Method in class com.threed.jpct.Camera
Returns the projection matrix with arbitrary values for near and far clipping plane.
getPyramide(float) - Static method in class com.threed.jpct.Primitives
Returns a pyramide
getPyramide(float, float) - Static method in class com.threed.jpct.Primitives
Returns a pyramide
getQueueCount() - Method in class com.threed.jpct.threading.Worker
Returns the number of queues that the Worker actually uses.
getRGB() - Method in class com.threed.jpct.RGBColor
Returns the color as an int rgb value.
getRadiusMultiplier() - Method in class com.threed.jpct.OcTree
Returns the current radius multiplier for this octree.
getReceiverCount() - Method in class com.threed.jpct.util.ShadowHelper
Gets the number of receivers in the helper.
getRed() - Method in class com.threed.jpct.RGBColor
Returns the red value (0..255).
getReflectionTexture() - Method in class com.threed.jpct.util.ReflectionHelper
Returns the texture used as reflection map.
getRenderHook() - Method in class com.threed.jpct.Object3D
Returns the render hook or null, if none has been set.
getRenderingUse() - Method in class com.threed.jpct.OcTree
Gets the rendering usage setting for this octree.
getRotationMatrix() - Method in class com.threed.jpct.Object3D
Returns the object's current rotation matrix.
getRotationMatrix() - Method in class com.threed.jpct.SimpleVector
Creates a rotation matrix that can be used to rotate a vector pointing to (0,0,1) to match the direction of this vector.
getRotationMatrix(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Creates a rotation matrix that can be used to rotate a vector pointing to (0,0,1) to match the direction of this vector.
getRotationMatrix(Matrix) - Method in class com.threed.jpct.SimpleVector
Creates a rotation matrix that can be used to rotate a vector pointing to (0,0,1) to match the direction of this vector.
getRotationMatrix(Matrix, SimpleVector) - Method in class com.threed.jpct.SimpleVector
Creates a rotation matrix that can be used to rotate a vector pointing to (0,0,1) to match the direction of this vector.
getRotationPivot() - Method in class com.threed.jpct.Object3D
Returns the rotation pivot of the object
getSamplingMode() - Method in class com.threed.jpct.FrameBuffer
Returns the used sampling mode for this framebuffer.
getScale() - Method in class com.threed.jpct.Object3D
Returns the cumulated scale value for this object.
getSequence(String) - Method in class com.threed.jpct.Animation
Returns a sequence index for a given name.
getSequenceBorders(int) - Method in class com.threed.jpct.Animation
Gets the position of the start and the end frame of a sequence.
getSequenceCount() - Method in class com.threed.jpct.Animation
Returns the number of sequences used.
getShadowMap() - Method in class com.threed.jpct.util.ShadowHelper
Returns the shadow map's texture.
getSideVector() - Method in class com.threed.jpct.Camera
Returns the side vector of the camera in world space.
getSize() - Method in class com.threed.jpct.VisList
Gets the current size of the visibility list.
getSize() - Method in class com.threed.jpct.World
Returns the number of user defined objects in this World.
getSource() - Method in class com.threed.jpct.CollisionEvent
Returns the source of the collision, if it's an Object3D (or null otherwise).
getSourceMesh() - Method in class com.threed.jpct.GenericVertexController
 
getSourceMesh() - Method in interface com.threed.jpct.IVertexController
Returns the source mesh's vertex data, i.e. the vertex-data that needs modification.
getSourceNormals() - Method in class com.threed.jpct.GenericVertexController
 
getSourceNormals() - Method in interface com.threed.jpct.IVertexController
Returns the source mesh's normals, i.e. the normals that need modification.
getSpecularLighting() - Method in class com.threed.jpct.Object3D
Returns the state of specular lighting.
getSphere(float) - Static method in class com.threed.jpct.Primitives
Returns a sphere with 20 faces.
getSphere(int, float) - Static method in class com.threed.jpct.Primitives
Returns a sphere with the given number of faces.
getState() - Method in class com.threed.jpct.TextureManager
Dumps the current state of the TextureManager to a Vector.
getState() - Method in class com.threed.jpct.util.KeyState
The state of the key of this KeyState, i.e. pressed or released.
getSubNodes() - Method in class com.threed.jpct.util.XMLNode
Returns all subnodes of this node.
getTangentVectors() - Method in class com.threed.jpct.GenericVertexController
 
getTangentVectors() - Method in interface com.threed.jpct.IVertexController
If available, this will return the tangent vectors for the mesh.
getTargets() - Method in class com.threed.jpct.CollisionEvent
Returns the target objects that are involved in this collision.
getTexture(String) - Method in class com.threed.jpct.TextureManager
Returns the texture being named 'name'.
getTextureByID(int) - Method in class com.threed.jpct.TextureManager
Returns the texture with the ID or null if no such texture can be found.
getTextureCount() - Method in class com.threed.jpct.TextureManager
Returns the number of textures the TextureManager holds.
getTextureID(String) - Method in class com.threed.jpct.TextureManager
Returns the numerical ID of the texture.
getTextureMatrix() - Method in class com.threed.jpct.Object3D
Returns the current texture matrix of null if none is set.
getTextureUV(int, int) - Method in class com.threed.jpct.PolygonManager
Returns the normalized texture coordinates mapped to a SimpleVector's x and y component.
getTextureUV(int, int, SimpleVector) - Method in class com.threed.jpct.PolygonManager
Returns the normalized texture coordinates mapped to a SimpleVector's x and y component.
getTransformedCenter() - Method in class com.threed.jpct.Object3D
Returns the center of the object in worldspace, i.e. after the object's current transformations have been applied to it.
getTransformedCenter(SimpleVector) - Method in class com.threed.jpct.Object3D
Returns the center of the object in worldspace, i.e. after the object's current transformations have been applied to it.
getTransformedNormal(int) - Method in class com.threed.jpct.PolygonManager
Returns a polygon's face normal transformed into world space.
getTransformedNormal(int, Matrix, SimpleVector) - Method in class com.threed.jpct.PolygonManager
Returns a polygon's face normal transformed into world space.
getTransformedVertex(int, int) - Method in class com.threed.jpct.PolygonManager
Returns a polygon's vertex transformed into world space.
getTransformedVertex(int, int, Matrix, SimpleVector) - Method in class com.threed.jpct.PolygonManager
Returns a polygon's vertex transformed into world space.
getTranslation() - Method in class com.threed.jpct.Matrix
Returns the translation this matrix would represent when viewed as a translation matrix.
getTranslation(SimpleVector) - Method in class com.threed.jpct.Matrix
Returns the translation this matrix would represent when viewed as a translation matrix.
getTranslation() - Method in class com.threed.jpct.Object3D
Returns the translation of the object (from its origin to its current position)
getTranslation(SimpleVector) - Method in class com.threed.jpct.Object3D
Returns the translation of the object.
getTranslationMatrix() - Method in class com.threed.jpct.Object3D
Returns the object's current translation matrix.
getTransparency() - Method in class com.threed.jpct.Object3D
Returns the current tranparency setting.
getTransparencyMode() - Method in class com.threed.jpct.Object3D
Returns the current transparency mode.
getTransparencyMode() - Method in class com.threed.jpct.Polyline
Returns the current transparency mode.
getTriangleCount() - Method in class com.threed.jpct.Mesh
The number of triangles for this mesh.
getType() - Method in class com.threed.jpct.CollisionEvent
Returns the type of the collision event.
getType() - Method in class com.threed.jpct.FrameBuffer
Returns the type of this FrameBuffer.
getType() - Method in class com.threed.jpct.VertexAttributes
Returns the type, i.e. the number of floats per vertex (1 to 4)
getUniqueVertexCount() - Method in class com.threed.jpct.Mesh
Returns the number of unique vertices.
getUpVector() - Method in class com.threed.jpct.Camera
Returns the up vector of the camera in world space.
getUserObject() - Method in class com.threed.jpct.Object3D
Return the user defined object.
getVersion() - Static method in class com.threed.jpct.Config
Returns the version of this release.
getVertexAttributes() - Method in class com.threed.jpct.Mesh
Returns an array with all the currently assigned vertex attributes.
getVertexCount() - Method in class com.threed.jpct.Mesh
Returns the number of vertices this mesh consists of
getVideoModes(int) - Static method in class com.threed.jpct.FrameBuffer
Static method to get the video modes a renderer (i.e. the hardware it's running on) supports.
getVisibility() - Method in class com.threed.jpct.Object3D
Returns the current visibility state of the object.
getVisibilityList() - Method in class com.threed.jpct.World
Gets the visibility list of the last rendered frame.
getWidth() - Method in class com.threed.jpct.FrameBuffer
The same as getOutputWidth().
getWidth() - Method in class com.threed.jpct.Polyline
Returns the line width.
getWidth() - Method in class com.threed.jpct.Texture
Returns the width of the texture in pixels.
getWorld() - Method in class com.threed.jpct.util.SkyBox
Gets the world that this skybox uses.
getWorldTransformation() - Method in class com.threed.jpct.Object3D
Returns the transformation matrix used to transform the object from objectspace into worldspace.
getWorldTransformation(Matrix) - Method in class com.threed.jpct.Object3D
Variant of getWorldTransformation() to avoid the creation of an additional matrix where not needed.
getWorldTransformationTweaked(Matrix) - Method in class com.threed.jpct.Object3D
 
getXAxis() - Method in class com.threed.jpct.Camera
Returns the (virtual) x-axis of the camera.
getXAxis() - Method in class com.threed.jpct.Matrix
Returns the x-axis this matrix would represent when viewed as a rotation matrix.
getXAxis(SimpleVector) - Method in class com.threed.jpct.Matrix
Returns the x-axis this matrix would represent when viewed as a rotation matrix.
getXAxis() - Method in class com.threed.jpct.Object3D
Returns the x-axis of the object.
getXAxis(SimpleVector) - Method in class com.threed.jpct.Object3D
Returns the x-axis of the object.
getYAxis() - Method in class com.threed.jpct.Camera
Returns the (virtual) y-axis of the camera.
getYAxis() - Method in class com.threed.jpct.Matrix
Returns the y-axis this matrix would represent when viewed as a rotation matrix.
getYAxis(SimpleVector) - Method in class com.threed.jpct.Matrix
Returns the y-axis this matrix would represent when viewed as a rotation matrix.
getYAxis() - Method in class com.threed.jpct.Object3D
Returns the y-axis of the object.
getYAxis(SimpleVector) - Method in class com.threed.jpct.Object3D
Returns the y-axis of the object.
getYFOV() - Method in class com.threed.jpct.Camera
Returns the fov in y-direction.
getZAxis() - Method in class com.threed.jpct.Camera
Returns the (virtual) z-axis of the camera.
getZAxis() - Method in class com.threed.jpct.Matrix
Returns the z-axis this matrix would represent when viewed as a rotation matrix.
getZAxis(SimpleVector) - Method in class com.threed.jpct.Matrix
Returns the z-axis this matrix would represent when viewed as a rotation matrix.
getZAxis() - Method in class com.threed.jpct.Object3D
Returns the z-axis of the object.
getZAxis(SimpleVector) - Method in class com.threed.jpct.Object3D
Returns the z-axis of the object.
glAWTCommandQueueCleanup - Static variable in class com.threed.jpct.Config
Number of buffer switches before the AWT command queue used by the AWTGLRenderer gets a clean up.
glAWTCommandQueueSize - Static variable in class com.threed.jpct.Config
Initial size of the command queue that is used by the AWTGLRenderer, i.e.
glAdditionalConfiguration - Static variable in class com.threed.jpct.Config
Allows for giving additional configuration information to the OpenGL renderers, i.e. to bypass the actual configuration jPCT is currently using.
glAnisotropy - Static variable in class com.threed.jpct.Config
Sets the level of anisotropic filtering used by OpenGL.
glAvoidTextureCopies - Static variable in class com.threed.jpct.Config
When in OpenGL mode, a texture's image data will be transfered to the graphics card and a copy will be kept in the Texture object in case that software rendering will be re-enabled, for applying texture effects or for multiple uploads into multiple contexts.
glBatchSize - Static variable in class com.threed.jpct.Config
When compiling an Object3D, the renderer has to assume an ideal batch size for the underlying hardware.
glBlendingAffectsAlpha - Static variable in class com.threed.jpct.Config
If set to true, the texture blending mode when using multi texturing affects the alpha channel too.
glBufferedBlits - Static variable in class com.threed.jpct.Config
If enabled, jPCT will aggregate blitting commands and execute them later in one call.
glColorDepth - Static variable in class com.threed.jpct.Config
The colordepth that the OpenGL framebuffer should have at least. jPCT will use any videomode that offers a colordepth equal to or larger than this value (but prefers equality).
glDynamicBatchSize - Static variable in class com.threed.jpct.Config
Similar to glBatchSize but for dynamically compiled objects.
glFixedBlitting - Static variable in class com.threed.jpct.Config
Some graphics cards/drivers are having problems with jPCT's 2D-blitting when Zbuffer-depth is only 16bit.
glFlipRenderTargets - Static variable in class com.threed.jpct.Config
If set to true, textures that are used as a render target will be flipped, which is default for the software renderer.
glForceEnvMapToSecondStage - Static variable in class com.threed.jpct.Config
By default, an environment map will be applied to the first texture stage if environment mapping is used on an object.
glForceFinish - Static variable in class com.threed.jpct.Config
Forces the renderer to do GLFinish at the end of each frame.
glFullscreen - Static variable in class com.threed.jpct.Config
OpenGL output may be shown in a window (default, but doesn't work well on some setups) and fullscreen.
glIgnoreAlphaBlendingFBO - Static variable in class com.threed.jpct.Config
When using shadow mapping on transparent polygons in combination with FBOs, some NVidia drivers are having performance problems.
glIgnoreNearPlane - Static variable in class com.threed.jpct.Config
If set to true, the OpenGL renderers will ignore the configured near plane for creating the frustum and use a default value instead.
glMipmap - Static variable in class com.threed.jpct.Config
Lets jPCT generate (and use) mipmaps for all textures when using an OpenGL renderer.This has to be set before enabling the OpenGL renderer to have an effect.
glMultiPassSorting - Static variable in class com.threed.jpct.Config
Enables a special sorting to increase performance when doing multi pass rendering.
glOverrideStageCount - Static variable in class com.threed.jpct.Config
A switch to override the maximum number of texture stages available. -1 means no override.
glRefresh - Static variable in class com.threed.jpct.Config
The refresh rate in Hz the desired videomode should have at least (but equality is prefered).
glRevertADDtoMODULATE - Static variable in class com.threed.jpct.Config
When setting this to true, every texture blending operation that uses the additive mode will be treated as if it were using modulation instead.
glSetDesiredVideoMode(int, int, int, boolean) - Static method in class com.threed.jpct.Config
This static method should help to set the desired video-mode for OpenGL.
glSetDesiredVideoMode(VideoMode, boolean) - Static method in class com.threed.jpct.Config
This static method should help to set the desired video-mode for OpenGL.
glShadowZBias - Static variable in class com.threed.jpct.Config
The depth bias used for shadow mapping.
glSkipInitialization - Static variable in class com.threed.jpct.Config
Setting this to true, makes jPCT skip any display initialization code in the OpenGL renderers.
glTextureDepth - Static variable in class com.threed.jpct.Config
Specifies the color-depth of the textures that should by used for OpenGL.
glTransparencyMul - Static variable in class com.threed.jpct.Config
Transparency in OpenGL is implemented in a way that tries to mimic the software renderer.
glTransparencyOffset - Static variable in class com.threed.jpct.Config
Transparency in OpenGL is implemented in a way that tries to mimic the software renderer.
glTriangleStrips - Static variable in class com.threed.jpct.Config
jPCT can render objects (or parts of objects) as triangle-strips when using OpenGL.
glTrilinear - Static variable in class com.threed.jpct.Config
Lets jPCT generate Mipmaps for all textures and enables trilinear filtering between them.
glUseCaches - Static variable in class com.threed.jpct.Config
The OpenGL renderer makes use of some simple caches to speed up framebuffer and texture access and to keep memory usage as low as possible.
glUseDynamicVBO - Static variable in class com.threed.jpct.Config
Experimental, not always faster.
glUseFBO - Static variable in class com.threed.jpct.Config
Makes jPCT use frame buffer objects (FBOs) if possible and applicable.
glUseIgnorantBlits - Static variable in class com.threed.jpct.Config
Forces the OpenGL renderer to skip the texture conversion from the FrameBuffer's blit(int[]...)
glUseUnappropriateModes - Static variable in class com.threed.jpct.Config
If set to true, the mode selection will relax the requirements one step below the step that usually makes sense.
glUseVBO - Static variable in class com.threed.jpct.Config
Makes jPCT use vertex buffer objects (VBOs) if possible and applicable.
glVSync - Static variable in class com.threed.jpct.Config
If set to true, vertical sync will be used if the driver supports this setting and doesn't override it itself.
glVerbose - Static variable in class com.threed.jpct.Config
Forces the GL-Renderer to talk to you about what he's doing when looking for videomodes and uploading textures.
glVertexArrays - Static variable in class com.threed.jpct.Config
jPCT can use VertexArrays to render objects.
glWindowName - Static variable in class com.threed.jpct.Config
The name of the window when OpenGL is used.
glZBufferDepth - Static variable in class com.threed.jpct.Config
The bit-depth the OpenGL z-buffer should have.
gouraud - Static variable in class com.threed.jpct.Config
Misleading name!
guessShaderModel() - Static method in class com.threed.jpct.GLSLShader
Guesses the shader model.

H

HERMITE - Static variable in class com.threed.jpct.Animation
Use hermite interpolation between keyframes.
hasChild(Object3D) - Method in class com.threed.jpct.Object3D
Tests an object for being a child object of the current object.
hasParent(Object3D) - Method in class com.threed.jpct.Object3D
Tests an object for being a parent object of the current object.
hasVertexAlpha() - Method in class com.threed.jpct.Object3D
Returns true, if this object uses vertex alpha values.
hashCode() - Method in class com.threed.jpct.Matrix
 
hashCode() - Method in class com.threed.jpct.SimpleVector
Overrides hashCode() from java.lang.Object.
height - Variable in class com.threed.jpct.VideoMode
The height of the framebuffer that this video mode uses in pixels

I

IPaintListener - interface com.threed.jpct.IPaintListener.
An IPaintListener can be attached to any IRenderer (via the FrameBuffer, because the actual IRenderer instances are not accessible) and will be notified before the actual painting of polygons starts and after it has finished.
IPostProcessor - interface com.threed.jpct.IPostProcessor.
An interface for defining a post processor that can be run on the framebuffer.
IRenderHook - interface com.threed.jpct.IRenderHook.
Provides a hook into the rendering pipeline of compiled Object3Ds.
IRenderer - interface com.threed.jpct.IRenderer.
jPCT supports different renderers in different modes.
ITextureEffect - interface com.threed.jpct.ITextureEffect.
An interface for texture effects.
IVertexController - interface com.threed.jpct.IVertexController.
This interface defines a VertexController.
Interact2D - class com.threed.jpct.Interact2D.
Interact2D offers some static methods for interacting with objects in camera-space.
include(Object3D) - Method in class com.threed.jpct.util.ReflectionHelper
Re-includes an object in the reflection.
increaseFOV(float) - Method in class com.threed.jpct.Camera
Increases the FOV.
init(int, int, int, int, int) - Method in class com.threed.jpct.AWTGLRenderer
 
init(int, int, int, int, int) - Method in class com.threed.jpct.GLRenderer
 
init(Mesh, boolean) - Method in class com.threed.jpct.GenericVertexController
 
init(FrameBuffer) - Method in interface com.threed.jpct.IPostProcessor
Initialize the processor.
init(int, int, int, int, int) - Method in interface com.threed.jpct.IRenderer
Initialize the renderer.
init(Texture) - Method in interface com.threed.jpct.ITextureEffect
Initializes the effect.
init(Mesh, boolean) - Method in interface com.threed.jpct.IVertexController
Initialize the VertexController with a mesh to modify and a operating mode.
init(int, int, int, int, int) - Method in class com.threed.jpct.JOGLRenderer
 
init(int, int, int, int, int) - Method in class com.threed.jpct.LegacyRenderer
 
init(int, int, int, int, int) - Method in class com.threed.jpct.SoftGLRenderer
 
init(Texture) - Method in class com.threed.jpct.WaterTextureEffect
 
init(FrameBuffer) - Method in class com.threed.jpct.procs.BloomGLProcessor
 
initWorker() - Method in class com.threed.jpct.SoftGLRenderer
 
interpolate(Matrix, Matrix, float) - Method in class com.threed.jpct.Matrix
Fills the matrix with data interpolated between the source and the destination matrix.
invert() - Method in class com.threed.jpct.Matrix
Calculates the inverse of this matrix.
invert(Matrix) - Method in class com.threed.jpct.Matrix
Calculates the inverse of this matrix and fills the result into the given matrix (which will be returned in addition).
invert() - Method in class com.threed.jpct.Object3D
Physically "inverts" the object, which means that the backface culling works the other way round.
invert3x3() - Method in class com.threed.jpct.Matrix
Calculates the inverse of this matrix as if this matrix would be a 3x3 one (instead of the 4x4 it actually is).
invert3x3(Matrix) - Method in class com.threed.jpct.Matrix
Calculates the inverse of this matrix as if this matrix would be a 3x3 one (instead of the 4x4 it actually is).
invertCulling(boolean) - Method in class com.threed.jpct.Object3D
Inverts culling order if set to true.
invertCulling(boolean) - Method in class com.threed.jpct.World
Inverts culling for all objects in the world at once.
invertTextureCoords(boolean, boolean) - Method in class com.threed.jpct.Object3D
Inverts the texture coordinates assuming that they are in the range of 0..1.
isBumpmapped() - Method in class com.threed.jpct.Object3D
Returns if bumpmapping is used or not.
isCompiled() - Method in class com.threed.jpct.Object3D
Returns if the object is compiled.
isDebugEnabled() - Static method in class com.threed.jpct.Logger
Returns true, if debug log level is active.
isDelayed() - Method in class com.threed.jpct.procs.BloomGLProcessor
Is the rendering delayed?
isDone(WorkLoad) - Method in class com.threed.jpct.threading.Worker
Is the Worker already done with a given WorkLoad?
isDynamic() - Method in class com.threed.jpct.VertexAttributes
Are these attributes dynamic?
isEnabled() - Method in class com.threed.jpct.Texture
Returns if the texture is enabled or not.
isEnabled() - Method in class com.threed.jpct.util.Light
Is the light enabled?
isEnvmapped() - Method in class com.threed.jpct.Object3D
Returns if environment mapping is used or not.
isFrontFacingTo(SimpleVector) - Method in class com.threed.jpct.Plane
Tests is the plane is facing the point or if the point is located "behind" the plane.
isIdentity() - Method in class com.threed.jpct.Matrix
Returns true, if this matrix is the identity matrix.
isIndoor - Static variable in class com.threed.jpct.Config
Enables some optimizations for indoor scenes (like not clearing the framebuffer for every frame).
isInitialized() - Method in class com.threed.jpct.FrameBuffer
Checks if the FrameBuffer and all its enabled renderers have been initialized correctly.
isInitialized() - Method in interface com.threed.jpct.IPostProcessor
Has to return true if the init()-method has run correctly and should return false after the processor has been disposed (but doesn't have to, if an implementation requires something else...no problem).
isInitialized() - Method in interface com.threed.jpct.IRenderer
Returns true, if the Renderer has been initialized and false otherwise.
isInitialized() - Method in class com.threed.jpct.LegacyRenderer
 
isInitialized() - Method in class com.threed.jpct.SoftGLRenderer
 
isInitialized() - Method in class com.threed.jpct.procs.BloomGLProcessor
 
isInitialized() - Method in class com.threed.jpct.util.ShadowHelper
Returns true, if the helper has been correctly initialized.
isLocked() - Method in class com.threed.jpct.Mesh
Returns if this mesh has been locked or not!
isOfOrderZero() - Method in class com.threed.jpct.OcTree
If the root-node is the only node in the tree, the tree is of order zero.
isPointMode() - Method in class com.threed.jpct.Polyline
Are we in point mode?
isRenderingShadowMap() - Method in class com.threed.jpct.util.ShadowHelper
Returns true if, at the time of the call, the helper is working on the shadow map itself.
isRenderingShadowPass() - Method in class com.threed.jpct.util.ShadowHelper
Returns true if, at the time of the call, the helper is doing the shadow pass.
isSelectable() - Method in class com.threed.jpct.Object3D
Returns the current "selectable"-state of the object.
isShadowMap() - Method in class com.threed.jpct.Texture
Returns if this texture is used as a shadow map or not.
isTransparent() - Method in class com.threed.jpct.Object3D
Returns if the object is transparent of not.
isVisible() - Method in class com.threed.jpct.Polyline
Returns the visibility of the line.

J

JOGLRenderer - class com.threed.jpct.JOGLRenderer.
A JOGL based variant of the AWTGLRenderer.

K

KEYFRAMESONLY - Static variable in class com.threed.jpct.Animation
Use no interpolation between keyframes.
KeyMapper - class com.threed.jpct.util.KeyMapper.
KeyMapper is convenience class to ease the different handling of the keyboard when using hard- or software rendering.
KeyMapper() - Constructor for class com.threed.jpct.util.KeyMapper
Use this constructor to create a KeyMapper that works in combination with hardware rendering (i.e. that is using LWJGL's methods to access the keyboard).
KeyMapper(Component) - Constructor for class com.threed.jpct.util.KeyMapper
Use this construtor to create a KeyMapper that works on an AWT/Swing component, which is usually your frame (or whatever) where the rendered output will be displayed onto.
KeyState - class com.threed.jpct.util.KeyState.
A KeyState is similar to the AWT KeyEvent and will be returned by the poll()-method of the KeyMapper.
keepPixelData(boolean) - Method in class com.threed.jpct.Texture
Should a texture's pixels be kept even when the texture has been uploaded to the GPU?
keyPressed(KeyEvent) - Method in class com.threed.jpct.util.KeyMapper
Has to be public, because KeyMapper implements KeyListener.
keyReleased(KeyEvent) - Method in class com.threed.jpct.util.KeyMapper
Has to be public, because KeyMapper implements KeyListener.
keyTyped(KeyEvent) - Method in class com.threed.jpct.util.KeyMapper
Has to be public, because KeyMapper implements KeyListener.

L

LIGHTING_ALL_ENABLED - Static variable in class com.threed.jpct.Object3D
Indicates that all kinds of light (lightsources, ambient and additional color) will be used on this object.
LIGHTING_NO_LIGHTS - Static variable in class com.threed.jpct.Object3D
Indicates that no lightsources will be taken into account to calculate an object's lighting.
LIGHT_INVISIBLE - Static variable in class com.threed.jpct.Lights
The light is not visible
LIGHT_VISIBLE - Static variable in class com.threed.jpct.Lights
The light is visible
LINEAR - Static variable in class com.threed.jpct.Animation
Use linear interpolation between keyframes.
LL_DEBUG - Static variable in class com.threed.jpct.Logger
Log-Level: log everything including debug
LL_ERRORS_AND_WARNINGS - Static variable in class com.threed.jpct.Logger
Log-Level: log errors and warnings
LL_ONLY_ERRORS - Static variable in class com.threed.jpct.Logger
Log-Level: log errors only
LL_VERBOSE - Static variable in class com.threed.jpct.Logger
Log-Level: log everything (default)
LegacyRenderer - class com.threed.jpct.LegacyRenderer.
This renderer was the default renderer in older versions.
LensFlare - class com.threed.jpct.util.LensFlare.
A simple lens flare effect.
LensFlare(SimpleVector, String, String, String, String) - Constructor for class com.threed.jpct.util.LensFlare
Create a new lens flare for a light source.
Light - class com.threed.jpct.util.Light.
Light is a helper class to ease the rather unintuitive handling of light sources in jPCT.
Light(World) - Constructor for class com.threed.jpct.util.Light
Creates a new light in the world.
Lights - class com.threed.jpct.Lights.
Manages the dynamic lights in a scene.
Loader - class com.threed.jpct.Loader.
Loader offers some static methods for loading files.
Logger - class com.threed.jpct.Logger.
Logger is jPCT's simple logging class for printing and storing messages, errors and warnings.
Logger() - Constructor for class com.threed.jpct.Logger
 
length() - Method in class com.threed.jpct.SimpleVector
Gives the length of this SimpleVector
lightDiscardDistance - Static variable in class com.threed.jpct.Config
A vertex will only be lit by a lightsource if its distance from the light is lower than this value (in world units).
lightMul - Static variable in class com.threed.jpct.Config
An "amplifier"-value for the lightsources.
linearDiv - Static variable in class com.threed.jpct.Config
How fast a lightsource's intensity fades out with distance.
load3DS(String, float) - Static method in class com.threed.jpct.Loader
Loads a file in 3DS-format into an array of objects. 3DS is a 3D-Studio format supported by many converter tools.
load3DS(URL, String, float) - Static method in class com.threed.jpct.Loader
Loads a file in 3DS-format into an array of objects. 3DS is a 3D-Studio format supported by many converter tools.
load3DS(InputStream, float) - Static method in class com.threed.jpct.Loader
Loads a file in 3DS-format into an array of objects. 3DS is a 3D-Studio format supported by many converter tools.
loadASC(String, float, boolean) - Static method in class com.threed.jpct.Loader
Loads a file in ASC-format into an object.
loadASC(URL, String, float, boolean) - Static method in class com.threed.jpct.Loader
Loads a file in ASC-format into an object.
loadASC(InputStream, float, boolean) - Static method in class com.threed.jpct.Loader
Loads a file in ASC-format into an object.
loadBalancingStrategy - Static variable in class com.threed.jpct.Config
If useMultipleThreads is used on the software renderer, you can choose the load balancing strategy with this setting.
loadJAW(String, float, boolean) - Static method in class com.threed.jpct.Loader
Loads a file in JAW-format into an object.
loadJAW(URL, String, float, boolean) - Static method in class com.threed.jpct.Loader
Loads a file in JAW-format into an object.
loadJAW(InputStream, float, boolean) - Static method in class com.threed.jpct.Loader
Loads a file in JAW-format into an object.
loadMD2(String, float) - Static method in class com.threed.jpct.Loader
Loads an object out of a file in MD2-format (Quake2 model format).
loadMD2(URL, String, float) - Static method in class com.threed.jpct.Loader
Loads an object out of a file in MD2-format (Quake2 model format).
loadMD2(InputStream, float) - Static method in class com.threed.jpct.Loader
Loads an object out of a file in MD2-format (Quake2 model format).
loadOBJ(String, String, float) - Static method in class com.threed.jpct.Loader
Loads a file in OBJ-format into an array of objects.
loadOBJ(URL, String, String, float) - Static method in class com.threed.jpct.Loader
Loads a file in OBJ-format into an array of objects.
loadOBJ(InputStream, InputStream, float) - Static method in class com.threed.jpct.Loader
Loads a file in OBJ-format into an array of objects.
loadSceneFromXML(String, World) - Static method in class com.threed.jpct.Loader
Loads a scene from XML.
loadSceneFromXML(URL, String, World) - Static method in class com.threed.jpct.Loader
Loads a scene from XML.
loadSceneFromXML(InputStream, World) - Static method in class com.threed.jpct.Loader
Loads a scene from XML.
loadSerializedObject(InputStream) - Static method in class com.threed.jpct.Loader
Loads an object in serialized format.
loadSerializedObjectArray(InputStream) - Static method in class com.threed.jpct.Loader
Loads an object-array in serialized format.
loadTextFile(String) - Static method in class com.threed.jpct.Loader
Loads a text-file into a String.
loadTextFile(URL, String) - Static method in class com.threed.jpct.Loader
Loads a text-file into a String.
loadTextFile(InputStream) - Static method in class com.threed.jpct.Loader
Loads a text-file into a String.
lockMatrices() - Method in class com.threed.jpct.World
The rotations and translations of 3D objects in jPCT are not thread-safe because of performance reasons (and because it is not required in most cases).
lockingTimer - Static variable in class com.threed.jpct.Config
While waiting for a lock to be released, the waiting thread will be either paused (if lockingTimer is greater zero) for "lockingTimer" milliseconds or Thread.yield() will be called (if lockingTimer is zero).
log(String, int) - Static method in class com.threed.jpct.Logger
Logs a message, error or warning.
log(String) - Static method in class com.threed.jpct.Logger
Logs a message.
log(Throwable) - Static method in class com.threed.jpct.Logger
Logs an exception as an error.
log(Throwable, int) - Static method in class com.threed.jpct.Logger
Logs an exception.
lookAt(SimpleVector) - Method in class com.threed.jpct.Camera
Rotates the camera so that is looks at the given position in world-space.

M

MAIN_OBJECT_NOT_SET - Static variable in class com.threed.jpct.World
The main object (used for portal rendering only) is not set.
MAX_PHYSICAL_TEXTURE_STAGES - Static variable in class com.threed.jpct.TextureInfo
The maximum number of physical texture layers available.
MEMORYIMAGESOURCE - Static variable in class com.threed.jpct.FrameBuffer
The type of this FrameBuffer is a MemoryImageSource (JAVA1.1)
MESSAGE - Static variable in class com.threed.jpct.Logger
The message is just that: a message
MODE_ADD - Static variable in class com.threed.jpct.TextureInfo
Use addition for adding this texture layer
MODE_ADD_SIGNED - Static variable in class com.threed.jpct.TextureInfo
Use a signed add for adding this texture layer, i.e. 50% grey means no change, everything above will be added and everything below will be subtracted.
MODE_BLEND - Static variable in class com.threed.jpct.TextureInfo
Use blending for adding this texture layer.
MODE_DECAL - Static variable in class com.threed.jpct.TextureInfo
Use the layer as a decal, i.e. the alpha channel defines the opacity.
MODE_LEGACY - Static variable in interface com.threed.jpct.IRenderer
The legacy jPCT lighting model should be used (valid for software mode only)
MODE_MODULATE - Static variable in class com.threed.jpct.TextureInfo
Use multiplication of color values for adding this texture layer
MODE_NORMAL - Static variable in class com.threed.jpct.OcTree
Builds the octree in the "normal" way
MODE_OPENGL - Static variable in interface com.threed.jpct.IRenderer
The standard OpenGL lighting model should be used (default)
MODE_OPTIMIZED - Static variable in class com.threed.jpct.OcTree
Tries to build a more optimized octree.
MODE_REPLACE - Static variable in class com.threed.jpct.TextureInfo
For the sake of completeness.
MODE_SUBTRACT - Static variable in class com.threed.jpct.TextureInfo
Use subtraction for this texture layer
MOUSE_SELECTABLE - Static variable in class com.threed.jpct.Object3D
This object will be processed by the methods of Interact2D
MOUSE_UNSELECTABLE - Static variable in class com.threed.jpct.Object3D
This object won't be processed by the methods of Interact2D
Matrix - class com.threed.jpct.Matrix.
This is jPCT's basic class for working with 4x4 matrices.
Matrix() - Constructor for class com.threed.jpct.Matrix
Creates a new matrix and sets it to the identity matrix.
Matrix(Matrix) - Constructor for class com.threed.jpct.Matrix
Creates a matrix from a given one.
Mesh - class com.threed.jpct.Mesh.
In a Mesh, jPCT stores the actual vertex and triangle information for an object.
makeEqualLength(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Makes this SimpleVector the length of another SimpleVector, but only if its longer than this.
matMul(Matrix) - Method in class com.threed.jpct.BufferedMatrix
Multiplies the backbuffer matrix with another one.
matMul(Matrix) - Method in class com.threed.jpct.Matrix
Multiplies this matrix with another one.
matMul(Matrix) - Method in class com.threed.jpct.SimpleVector
Multiplies the SimpleVector with a matrix, i.e. it applies the matrix's transformation to the SimpleVector.
matches(int) - Method in class com.threed.jpct.VertexAttributes
Returns true, if these vertex attributes are matching a given vertex count, i.e. if these attributes can be used on a mesh with that vertex count.
maxAnimationSubSequences - Static variable in class com.threed.jpct.Config
The maximum number of sub-sequences an Animation may contain.
maxLights - Static variable in class com.threed.jpct.Config
The maximum number of lightsources that the Lights instance of a World may handle.
maxNumberOfCores - Static variable in class com.threed.jpct.Config
The maximum number of cores/cpus jPCT may use for multi-threaded code.
maxParentObjects - Static variable in class com.threed.jpct.Config
The maximum number of parent objects every object may have. usually, an object has only one parent object anyway.
maxPolysVisible - Static variable in class com.threed.jpct.Config
The maximum size of the VisList.
maxPortalCoords - Static variable in class com.threed.jpct.Config
The maximum number of coordinates a single portal may consist of (Portals in jPCT doesn't have to be triangles or quads, they may have any shape).
maxPortals - Static variable in class com.threed.jpct.Config
The maximum number of portals an instance of World can handle.
maxTextureLayers - Static variable in class com.threed.jpct.Config
The maximum number of texture layers jPCT can handle.
maxTextures - Static variable in class com.threed.jpct.Config
The inital number of textures the texture-manager can handle.
mergeAll(Object3D[]) - Static method in class com.threed.jpct.Object3D
Merges all objects in the array into one large object.
mergeObjects(Object3D, Object3D) - Static method in class com.threed.jpct.Object3D
Static method that merges two objects into a third one.
mipmap - Static variable in class com.threed.jpct.Config
Lets jPCT generate (and use) mipmaps for all textures when using the software renderer.
moveCamera(int, float) - Method in class com.threed.jpct.Camera
Moves (translates) the camera with a given speed into "mode" direction relative to its current direction.
moveCamera(SimpleVector, float) - Method in class com.threed.jpct.Camera
Moves (translates) the camera with a given speed in an arbitrary direction (should be a normalized vector).
mtDebug - Static variable in class com.threed.jpct.Config
Debugging switch for multi threading...will most likely go away sometimes.

N

NONE - Static variable in class com.threed.jpct.util.KeyState
This will be returned by poll() if the queue is empty.
NO_OBJECT - Static variable in class com.threed.jpct.Object3D
The "ID" of an Object3D that doesn't exist.
nativeBufferSize - Static variable in class com.threed.jpct.Config
The size in kb of the native buffer cache.
nearPlane - Static variable in class com.threed.jpct.Config
The near clipping plane.
neverUseBufferedImage - Static variable in class com.threed.jpct.Config
When JAVA2 or higher is detected, jPCT uses a BufferedImage to render into.
newCamera() - Method in class com.threed.jpct.World
Resets the camera to origin looking along the z-axis.
normalize() - Method in class com.threed.jpct.SimpleVector
Normalizes a SimpleVector and returns a normalized vector as a new SimpleVector.
normalize(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Normalizes a SimpleVector and returns a normalized vector as a new SimpleVector.

O

OBJ_INVISIBLE - Static variable in class com.threed.jpct.Object3D
The object is invisible and won't be processed, rendered...nothing...
OBJ_VISIBLE - Static variable in class com.threed.jpct.Object3D
The object is visible
ON_ERROR_EXIT - Static variable in class com.threed.jpct.Logger
Exit after an error occurs
ON_ERROR_RESUME_NEXT - Static variable in class com.threed.jpct.Logger
Try to continue even in case of an error (default)
ON_ERROR_THROW_EXCEPTION - Static variable in class com.threed.jpct.Logger
Throw a RuntimeException in case of an error
OPAQUE_BLITTING - Static variable in class com.threed.jpct.FrameBuffer
2D texture-blitting into the framebuffer is done by copying the source 1-to-1 into the destination bitmap
ORIGIN - Static variable in class com.threed.jpct.SimpleVector
A SimpleVector representing the origin (0,0,0)
OVERBRIGHT_LIGHTING_DISABLED - Static variable in class com.threed.jpct.Lights
Overbright lighting won't be used
OVERBRIGHT_LIGHTING_ENABLED - Static variable in class com.threed.jpct.Lights
Overbright lighting will be used (default)
Object3D - class com.threed.jpct.Object3D.
Object3D is a class for 3-dimensional objects.
Object3D(int) - Constructor for class com.threed.jpct.Object3D
Creates a new instance of Object3D.
Object3D(Object3D) - Constructor for class com.threed.jpct.Object3D
This constructor works similar to cloneObject() but it allows to extend Object3D and still use the static methods from Loader/Primitives by adding a call to super(Object3D) in the constructor of your class.
Object3D(Object3D, boolean) - Constructor for class com.threed.jpct.Object3D
This constructor works similar to cloneObject() but it allows to extend Object3D and still use the static methods from Loader/Primitives by adding a call to super(Object3D) in the constructor of your class.
Object3D(float[], float[], int[], int) - Constructor for class com.threed.jpct.Object3D
Constructor for creating an Object3D out of indexed geometry in bulk form.
Object3D(float[], float[], float[], int[], int) - Constructor for class com.threed.jpct.Object3D
Constructor for creating an Object3D out of indexed geometry in bulk form.
OcTree - class com.threed.jpct.OcTree.
This is a basic octree implementation.
OcTree(Mesh, int, int) - Constructor for class com.threed.jpct.OcTree
Builds a new octree from an Object3D.
OcTree(Mesh, int, int, int) - Constructor for class com.threed.jpct.OcTree
Builds a new octree from an Object3D.
OcTree(Object3D, int, int) - Constructor for class com.threed.jpct.OcTree
Builds a new octree from an Object3D.
OcTree(Object3D, int, int, int) - Constructor for class com.threed.jpct.OcTree
Builds a new octree from an Object3D.
Overlay - class com.threed.jpct.util.Overlay.
Overlay is a helper class to create opaque or transparent screen overlays from textures.
Overlay(World, FrameBuffer, String) - Constructor for class com.threed.jpct.util.Overlay
Creates a new overlay that covers the whole screen.
Overlay(World, int, int, int, int, String) - Constructor for class com.threed.jpct.util.Overlay
Creates a new overlay of arbritary size.
oldStyle3DSLoader - Static variable in class com.threed.jpct.Config
jPCT 1.11+ features a fixed 3DS-loader, but the fix is based on experience, not on file format specs, because they were all different and inconsistent.
oldStyleBillBoarding - Static variable in class com.threed.jpct.Config
jPCT 1.15+ features a fixed bill boarding approach for child/parent-relations between objects.
onDispose() - Method in class com.threed.jpct.GLSLShader
Releases resourced used by the shader.
onDispose() - Method in interface com.threed.jpct.IRenderHook
Will be called, if the underlying compiled structures get disposed.
optiZ - Static variable in class com.threed.jpct.Config
Use OptiZ optimization to speed up z-buffer access.
optimizeBufferAccess() - Method in class com.threed.jpct.FrameBuffer
This method tries to pick the most optimal buffer access mode for the system jPCT is currently running on.
optimizeNormalCalcTH - Static variable in class com.threed.jpct.Config
jPCT has two different methods for calculating the vertex-normals.
orthonormalize() - Method in class com.threed.jpct.Matrix
Orthonormalizes a matrix using the Gramm-Schmidt orthonormalization algorithm.
orthonormalizeDouble() - Method in class com.threed.jpct.Matrix
Orthonormalizes a matrix using the Gramm-Schmidt orthonormalization algorithm.
overrideTexelData(ByteBuffer) - Method in class com.threed.jpct.Texture
This will override the actual texel data with the data from the buffer.

P

PORTAL_NOTDEFINITE - Static variable in class com.threed.jpct.Portals
The portal is not definite (can be the case if more than one portal from a sector into other sectors is visible).
PRESERVE_SOURCE_MESH - Static variable in interface com.threed.jpct.IVertexController
The VertexController will start with a "fresh" source mesh everytime it's being applied.
PRESSED - Static variable in class com.threed.jpct.util.KeyState
The key has been pressed
Plane - class com.threed.jpct.Plane.
A simple class to represent a plane. jPCT is using this for collision detection.
Plane() - Constructor for class com.threed.jpct.Plane
Creates a undefined plane.
Plane(SimpleVector, SimpleVector) - Constructor for class com.threed.jpct.Plane
Constructs a plane from a point on the plane and a normal
Plane(SimpleVector, SimpleVector, SimpleVector) - Constructor for class com.threed.jpct.Plane
Constructs a plane from three points that lie within the plane.
PolygonManager - class com.threed.jpct.PolygonManager.
A PolygonManager is part of each Object3D and can be obtained from that object.
Polyline - class com.threed.jpct.Polyline.
A Polyline is a line strip in world space.
Polyline(SimpleVector[], Color) - Constructor for class com.threed.jpct.Polyline
Creates a new, static Polyline.
Portals - class com.threed.jpct.Portals.
Portals handles the sectors and portals used for portal rendering.
Primitives - class com.threed.jpct.Primitives.
Primitives offers some (lathe) primitives (basic 3D-objects).
Projector - class com.threed.jpct.Projector.
Projector is an extended Camera used for projecting textures into the scene.
Projector() - Constructor for class com.threed.jpct.Projector
 
parseXML(String) - Method in class com.threed.jpct.util.XMLFactory
Parses the xml.
pickPolygon(VisList, SimpleVector) - Static method in class com.threed.jpct.Interact2D
Picks the polygon that is closest to the camera (and belongs to a "selectable" object) and lies in the given direction.
pickPolygon(VisList, SimpleVector, int) - Static method in class com.threed.jpct.Interact2D
Picks the polygon that is closest to the camera (and belongs to a "selectable" object) and lies in the given direction.
pickPolygon(VisList, SimpleVector, SimpleVector) - Static method in class com.threed.jpct.Interact2D
Picks the polygon that is closest to the camera (and belongs to a "selectable" object) and that is hit by the ray casted from some position vector into the scene.
pickPolygon(VisList, SimpleVector, SimpleVector, int) - Static method in class com.threed.jpct.Interact2D
Picks the polygon that is closest to the camera (and belongs to a "selectable" object) and that is hit by the ray casted from some position vector into the scene.
poll() - Method in class com.threed.jpct.util.KeyMapper
Poll the keyboard until no further KeyStates are available.
polygonBufferSize - Static variable in class com.threed.jpct.Config
Initial value for an internal polygon buffer of the World.
polygonIDLimit - Static variable in class com.threed.jpct.Config
A value that defines how many polygon IDs that were part of a collision will be stored before additional polygon IDs will be rejected.
preWarm(FrameBuffer) - Method in class com.threed.jpct.TextureManager
Does some work that may otherwise happen during runtime and can cause hick-ups.
preWarm(FrameBuffer, int) - Method in class com.threed.jpct.TextureManager
Special purpose version of preWarm(), which takes a count value in addition.
process() - Method in interface com.threed.jpct.IPostProcessor
Does the actual processing.
process() - Method in class com.threed.jpct.procs.BloomGLProcessor
 
project3D2D(Camera, FrameBuffer, SimpleVector) - Static method in class com.threed.jpct.Interact2D
Projects a vertex from world space into screen space.
project3D2D(Camera, FrameBuffer, SimpleVector, SimpleVector) - Static method in class com.threed.jpct.Interact2D
Projects a vertex from world space into screen space.
projectCenter3D2D(FrameBuffer, Object3D) - Static method in class com.threed.jpct.Interact2D
Gets the center of the object in screen-coordinates (2D) by transforming and projecting it from 3D objectspace into 2D screenspace.
projectCenter3D2D(Camera, FrameBuffer, Object3D) - Static method in class com.threed.jpct.Interact2D
Gets the center of the object in screen-coordinates (2D) by transforming and projecting it from 3D objectspace into 2D screenspace.

R

RAY_MISSES_BOX - Static variable in class com.threed.jpct.Object3D
Signals that a ray/box-intersection test has failed (the ray doesn't intersect with the box)
RED - Static variable in class com.threed.jpct.RGBColor
 
RELEASED - Static variable in class com.threed.jpct.util.KeyState
The key has been released
RENDERER_OPENGL - Static variable in interface com.threed.jpct.IRenderer
jPCT should use hardware accelerated rendering using OpenGL
RENDERER_SOFTWARE - Static variable in interface com.threed.jpct.IRenderer
jPCT should use software rendering (default)
RENDERING_DONT_USE - Static variable in class com.threed.jpct.OcTree
Don't use this octree to speed up rendering
RENDERING_USE - Static variable in class com.threed.jpct.OcTree
Use this octree to speed up rendering
RGBColor - class com.threed.jpct.RGBColor.
Mimics the Color-class in java.awt just like jPCT-AE does it.
RGBColor() - Constructor for class com.threed.jpct.RGBColor
Creates a new, black color.
RGBColor(int, int, int) - Constructor for class com.threed.jpct.RGBColor
Creates a new color.
RGBColor(int, int, int, int) - Constructor for class com.threed.jpct.RGBColor
Creates a new color with alpha.
RGB_SCALE_2X - Static variable in class com.threed.jpct.Lights
2X RGB scale value
RGB_SCALE_4X - Static variable in class com.threed.jpct.Lights
4X RGB scale value
RGB_SCALE_DEFAULT - Static variable in class com.threed.jpct.Lights
Default RGB scale value
ReflectionHelper - class com.threed.jpct.util.ReflectionHelper.
A helper class for creating planar mirrors like water surfaces or marble floors.
ReflectionHelper(FrameBuffer, Object3D, int, int) - Constructor for class com.threed.jpct.util.ReflectionHelper
Creates a new helper.
rayIntersectsAABB(SimpleVector, SimpleVector, boolean) - Method in class com.threed.jpct.Object3D
Checks if a given ray intersects with the axis aligned bounding box (in object-space) of this object.
rayIntersectsAABB(SimpleVector, SimpleVector) - Method in class com.threed.jpct.Object3D
Checks if a given ray intersects with the axis aligned bounding box (in object-space) of this object.
readTextureNames3DS(String) - Static method in class com.threed.jpct.Loader
Reads the texture names from a 3DS-file.
readTextureNames3DS(URL, String) - Static method in class com.threed.jpct.Loader
Reads the texture names from a 3DS-file.
readTextureNames3DS(InputStream) - Static method in class com.threed.jpct.Loader
Reads the texture names from a 3DS-file.
rebuild() - Method in class com.threed.jpct.Object3D
The same as build().
recreateTextureCoords() - Method in class com.threed.jpct.Object3D
Rebuilds the actual texture coordinates for this object.
reflect(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Reflects this vector on a plane with the given normal.
refresh() - Method in class com.threed.jpct.FrameBuffer
Forces the framebuffer to update its content with what's in the pixels-array.
refresh - Variable in class com.threed.jpct.VideoMode
The refresh rate in Hz.
refreshMeshData() - Method in class com.threed.jpct.GenericVertexController
 
refreshMeshData() - Method in interface com.threed.jpct.IVertexController
Refreshes the controller's data with the data taken directly from the Mesh.
remove(int) - Method in class com.threed.jpct.Animation
Removes data of a sequence from an animation.
removeAll() - Method in class com.threed.jpct.World
Removes all lights and objects from the world.
removeAllLights() - Method in class com.threed.jpct.World
Removes all lights from the world.
removeAllObjects() - Method in class com.threed.jpct.World
Removes all but the internal objects from the world.
removeAllPolylines() - Method in class com.threed.jpct.World
Removes all Polylines.
removeAllPostProcessors() - Method in class com.threed.jpct.FrameBuffer
Removes all post processors from the framebuffer.
removeAlpha() - Method in class com.threed.jpct.Texture
Removes any alpha information from a texture.
removeAndUnload(String, FrameBuffer) - Method in class com.threed.jpct.TextureManager
Combines removal and unload of a texture.
removeCaster(Object3D) - Method in class com.threed.jpct.util.ShadowHelper
Removes a caster.
removeChild(Object3D) - Method in class com.threed.jpct.Object3D
Removes an object from the child-collection of this.
removeClippingPlane(int) - Method in class com.threed.jpct.FrameBuffer
Removes an additional clipping plane.
removeCollisionListener(CollisionListener) - Method in class com.threed.jpct.Object3D
Removes a collision listener from the list of listeners.
removeEffect() - Method in class com.threed.jpct.Texture
Removes an ITextureEffect from the Texture
removeLight(int) - Method in class com.threed.jpct.World
Removes a light from the world.
removeMultiTexturing() - Method in class com.threed.jpct.Object3D
Removes all multi texturing information from this object.
removeObject(int) - Method in class com.threed.jpct.World
Removes the object with the specified ID from the World's object collection.
removeObject(Object3D) - Method in class com.threed.jpct.World
Removes the given object from the World's object collection.
removeParent(Object3D) - Method in class com.threed.jpct.Object3D
Removes an object from the parent-collection of this.
removePixels() - Method in class com.threed.jpct.Texture
Removes the backing int-array from this texture.
removePolyline(Polyline) - Method in class com.threed.jpct.World
Removes a Polyline from a world.
removePostProcessor(IPostProcessor) - Method in class com.threed.jpct.FrameBuffer
Removes a post processor from the framebuffer.
removeRenderTarget() - Method in class com.threed.jpct.FrameBuffer
Removes the render target from the framebuffer.
removeTexture(String) - Method in class com.threed.jpct.TextureManager
Removes a texture from the manager.
removeVertexController() - Method in class com.threed.jpct.Mesh
Removes the VertexController from this mesh.
render() - Method in class com.threed.jpct.procs.BloomGLProcessor
Should be called to apply a delayed processor to the current framebuffer.
render(FrameBuffer) - Method in class com.threed.jpct.util.LensFlare
Renders the effect.
render(World, FrameBuffer) - Method in class com.threed.jpct.util.SkyBox
Renders the skybox.
renderScene(FrameBuffer) - Method in class com.threed.jpct.World
Transforms and lights all the polygons.
reorderSectors(int) - Method in class com.threed.jpct.Object3D
Reorders the object's meshdata by grouping it according to the sectors.
repeatRendering() - Method in class com.threed.jpct.GLSLShader
Always returns false.
repeatRendering() - Method in interface com.threed.jpct.IRenderHook
If this returns true, the same geometry that was rendered will be rendered again using the exact same settings. beforeRendering() won't be called again. afterRendering() won't be called yet.
replaceTexture(String, Texture) - Method in class com.threed.jpct.TextureManager
Replaces a texture with the given name with another one.
replaceTexture(int, Texture) - Method in class com.threed.jpct.TextureManager
Replaces a texture with the given id with another one.
reproject2D3D(Camera, FrameBuffer, int, int) - Static method in class com.threed.jpct.Interact2D
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases) back into 3D (camera space).
reproject2D3D(Camera, FrameBuffer, int, int, SimpleVector) - Static method in class com.threed.jpct.Interact2D
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases) back into 3D (camera space).
reproject2D3D(Camera, FrameBuffer, int, int, float) - Static method in class com.threed.jpct.Interact2D
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases) back into 3D with a given z (in 3D).
reproject2D3D(Camera, FrameBuffer, int, int, float, SimpleVector) - Static method in class com.threed.jpct.Interact2D
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases) back into 3D with a given z (in 3D).
reproject2D3DWS(Camera, FrameBuffer, int, int) - Static method in class com.threed.jpct.Interact2D
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases) back into 3D (world space).
reproject2D3DWS(Camera, FrameBuffer, int, int, SimpleVector) - Static method in class com.threed.jpct.Interact2D
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases) back into 3D (world space).
reproject2D3DWS(Camera, FrameBuffer, int, int, float) - Static method in class com.threed.jpct.Interact2D
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases) back into 3D (world space).
reproject2D3DWS(Camera, FrameBuffer, int, int, float, SimpleVector) - Static method in class com.threed.jpct.Interact2D
Reprojects a 2D vector (a screen/framebuffer coordinate in most cases) back into 3D (world space).
requiresPolygonIDs() - Method in interface com.threed.jpct.CollisionListener
If the listener needs information about which polygons were affected by the collision, this method has to return true.
resetCollisionStatus() - Method in class com.threed.jpct.Object3D
Sets the indicator that the object was a target of the last collision detection to false, i.e. the object won't be recognized any longer as part of the collision.
resetNextID() - Static method in class com.threed.jpct.Object3D
Resets the internal object-counter.
resetTextureCounter() - Static method in class com.threed.jpct.util.ShadowHelper
Resets the texture counter.
resize(int, int) - Method in class com.threed.jpct.FrameBuffer
Does a resize of the FrameBuffer in case that the output window's size has changed.
rotate(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Rotates this SimpleVector using the angles (x,y,z) of rotVector.
rotate(Matrix) - Method in class com.threed.jpct.SimpleVector
Similar to matMul(), but uses only the rotational part of the matrix.
rotate(SimpleVector, SimpleVector) - Method in class com.threed.jpct.util.Light
Rotates the light around a rotation pivot.
rotateAxis(SimpleVector, float) - Method in class com.threed.jpct.BufferedMatrix
Rotates the backbuffer matrix around an arbitrary axis.
rotateAxis(SimpleVector, float) - Method in class com.threed.jpct.Matrix
Rotates the matrix around an arbitrary axis.
rotateAxis(SimpleVector, float) - Method in class com.threed.jpct.Object3D
Rotates the object's rotation matrix around an arbitrary axis.
rotateAxis(SimpleVector, float) - Method in class com.threed.jpct.SimpleVector
Rotates the vector around an arbitrary axis.
rotateCameraAxis(SimpleVector, float) - Method in class com.threed.jpct.Camera
Rotates the camera around an arbitrary axis.
rotateCameraX(float) - Method in class com.threed.jpct.Camera
Rotates the camera around the x-axis.
rotateCameraY(float) - Method in class com.threed.jpct.Camera
Rotates the camera around the y-axis.
rotateCameraZ(float) - Method in class com.threed.jpct.Camera
Rotates the camera around the z-axis.
rotateMesh() - Method in class com.threed.jpct.Object3D
Rotates the raw mesh data using the rotation matrix specified for this object.
rotateX(float) - Method in class com.threed.jpct.BufferedMatrix
Rotates the backbuffer matrix around the x-axis.
rotateX(float) - Method in class com.threed.jpct.Matrix
Rotates the matrix around the X-axis (counter clockwise for positive w).
rotateX(float) - Method in class com.threed.jpct.Object3D
Rotates the object's rotation matrix around the x-axis by the given angle w (radian, counter clockwise for positive values).
rotateX(float) - Method in class com.threed.jpct.SimpleVector
Rotates the SimpleVector around the x-axis.
rotateY(float) - Method in class com.threed.jpct.BufferedMatrix
Rotates the backbuffer matrix around the y-axis.
rotateY(float) - Method in class com.threed.jpct.Matrix
Rotates the matrix around the Y-axis (clockwise for positive w).
rotateY(float) - Method in class com.threed.jpct.Object3D
Rotates the object's rotation matrix around the y-axis by the given angle w (radian, clockwise for positive values).
rotateY(float) - Method in class com.threed.jpct.SimpleVector
Rotates the SimpleVector around the y-axis.
rotateZ(float) - Method in class com.threed.jpct.BufferedMatrix
Rotates the backbuffer matrix around the z-axis.
rotateZ(float) - Method in class com.threed.jpct.Matrix
Rotates the matrix around the Z-axis (counter clockwise for positive w).
rotateZ(float) - Method in class com.threed.jpct.Object3D
Rotates the object's rotation matrix around the z-axis by the given angle w (radian, counter clockwise for positive values).
rotateZ(float) - Method in class com.threed.jpct.SimpleVector
Rotates the SimpleVector around the z-axis.
runPostProcessors() - Method in class com.threed.jpct.FrameBuffer
Runs all post processors that have been added to this framebuffer.

S

SAMPLINGMODE_GL_AA_2X - Static variable in class com.threed.jpct.FrameBuffer
Use 2x anti aliasing when using the OpenGL renderer.
SAMPLINGMODE_GL_AA_4X - Static variable in class com.threed.jpct.FrameBuffer
Use 4x anti aliasing when using the OpenGL renderer.
SAMPLINGMODE_HARDWARE_ONLY - Static variable in class com.threed.jpct.FrameBuffer
A special sampling mode that indicates, that no software rendering will be used on this framebuffer.
SAMPLINGMODE_NORMAL - Static variable in class com.threed.jpct.FrameBuffer
Normal sampling mode (1-to-1)
SAMPLINGMODE_OGSS - Static variable in class com.threed.jpct.FrameBuffer
Use 2x2 oriented grid oversampling (FSAA using supersampling) for the software renderer.
SAMPLINGMODE_OGSS_FAST - Static variable in class com.threed.jpct.FrameBuffer
Use 1.5x1.5 oriented grid oversampling (FSAA using supersampling) for the software renderer.
SAMPLINGMODE_OGUS - Static variable in class com.threed.jpct.FrameBuffer
Use 0.5x0.5 oriented grid undersampling (to upsample an image rendered at a lower resolution)
SECTOR_AUTODETECT - Static variable in class com.threed.jpct.Object3D
Use autodetection of the covered sectors (for example for animated objects)
SECTOR_PRECALCULATED - Static variable in class com.threed.jpct.Object3D
Use static sector information
SECTOR_UNDEFINED - Static variable in class com.threed.jpct.Portals
The sector is undefined (this is sector 0).
SERIALIZE_ALL - Static variable in class com.threed.jpct.Mesh
normal serialization (default)
SERIALIZE_LOW_PRECISION - Static variable in class com.threed.jpct.Mesh
float data will be saved as 16 bit precision. on the average ~0.3 percent of precision will be lost
SERIALIZE_VERTICES_ONLY - Static variable in class com.threed.jpct.Mesh
Normals will not be serialized and will have to be recalculated during deserialization.
SHADING_FAKED_FLAT - Static variable in class com.threed.jpct.Object3D
Indicates that (faked) flat shading should be used.
SHADING_GOURAUD - Static variable in class com.threed.jpct.Object3D
Indicates that gouraud shading should be used (default)
SLIDE - Static variable in class com.threed.jpct.Camera
Camera slides along obstacles.
SPECULAR_DISABLED - Static variable in class com.threed.jpct.Object3D
Specular highLights won't be calculated
SPECULAR_ENABLED - Static variable in class com.threed.jpct.Object3D
Specular highLights will be calculated
STORE_MESSAGES - Static variable in class com.threed.jpct.Logger
Store logged messages in an internal message-buffer
SUPPORT_FOR_RGB_SCALING - Static variable in class com.threed.jpct.FrameBuffer
Use this to check if all the currently enabled renderers support RGB-scaling
SUPPORT_FOR_SHADOW_MAPPING - Static variable in class com.threed.jpct.FrameBuffer
Use this to check if all the currently enabled renderers support shadow mapping
SYNCHRONIZER - Static variable in class com.threed.jpct.FrameBuffer
An Object to which jPCT synchronizes all critical calls to Display, Mouse and Keyboard from LWJGL to.
ShadowHelper - class com.threed.jpct.util.ShadowHelper.
The ShadowHelper-class eases shadow mapping.
ShadowHelper(World, FrameBuffer, Projector, int) - Constructor for class com.threed.jpct.util.ShadowHelper
Creates a new shadow helper.
SimpleVector - class com.threed.jpct.SimpleVector.
SimpleVector is a class that represents a basic three-dimensional vector.
SimpleVector(float, float, float) - Constructor for class com.threed.jpct.SimpleVector
Creates a new SimpleVector by setting the x,y and z components of the vector
SimpleVector(double, double, double) - Constructor for class com.threed.jpct.SimpleVector
Creates a new SimpleVector by setting the x,y and z components of the vector.
SimpleVector(SimpleVector) - Constructor for class com.threed.jpct.SimpleVector
Creates a new SimpleVector from an existing one
SimpleVector() - Constructor for class com.threed.jpct.SimpleVector
Creates a new SimpleVector and sets the x,y and z components to zero
SimpleVector(float[]) - Constructor for class com.threed.jpct.SimpleVector
Creates a new SimpleVector from an array[3] of floats
SkyBox - class com.threed.jpct.util.SkyBox.
Simple skybox class to ease the creation of a standard skybox.
SkyBox(float) - Constructor for class com.threed.jpct.util.SkyBox
Creates a new skybox.
SkyBox(String, String, String, String, String, String, float) - Constructor for class com.threed.jpct.util.SkyBox
Creates a new skybox.
SoftGLRenderer - class com.threed.jpct.SoftGLRenderer.
 
saveMemory - Static variable in class com.threed.jpct.Config
If this is enabled, jPCT will reserve potentially needed memory only if it's REALLY needed.
scalarMul(float) - Method in class com.threed.jpct.Matrix
Multiplies this matrix with a scalar (the left upper 3x3 part only).
scalarMul(float) - Method in class com.threed.jpct.SimpleVector
Multiplies the SimpleVector with a scalar.
scale(float) - Method in class com.threed.jpct.Object3D
Scales the object.
sectorRange - Static variable in class com.threed.jpct.Config
A value used for sector detection similar to collideOffset.
serialize(Object3D, OutputStream, boolean) - Method in class com.threed.jpct.DeSerializer
Serialize an Object3D.
serializeArray(Object3D[], OutputStream, boolean) - Method in class com.threed.jpct.DeSerializer
Serialize an Object3D-array.
set(int, int, float) - Method in class com.threed.jpct.Matrix
Injects a value directly into the matrix at a position.
set(float, float, float) - Method in class com.threed.jpct.SimpleVector
Sets the x,y and z values of the SimpleVector to the given floats.
set(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Sets the x,y and z values of this SimpleVector to the ones of the given SimpleVector.
set(int, int, int) - Method in class com.threed.jpct.TextureInfo
Sets the values of an existing layer.
set(int, int, float, float, float, float, float, float, int) - Method in class com.threed.jpct.TextureInfo
Sets the values of an existing layer.
setAABoundingBox(int, float, float, float, float, float, float) - Method in class com.threed.jpct.Portals
Sets the axis-aligned bounding box for a sector.
setAdditionalColor(Color) - Method in class com.threed.jpct.Object3D
Sets the additional color for this object.
setAdditionalColor(int, int, int) - Method in class com.threed.jpct.Object3D
Sets the additional color for this object.
setAdditionalColorMode(boolean) - Method in class com.threed.jpct.util.ShadowHelper
Sets how an objects additional color will be treated.
setAllTextures(String, String) - Method in class com.threed.jpct.Object3D
Sets the textures for an object.
setAllTextures(String, String, String) - Method in class com.threed.jpct.Object3D
Sets the textures for an object.
setAlpha(int) - Method in class com.threed.jpct.Texture
Sets an alpha value for the whole texture
setAmbientLight(int, int, int) - Method in class com.threed.jpct.World
Sets the light intensity for the ambient light source.
setAmbientLight(Color) - Method in class com.threed.jpct.util.ShadowHelper
Sets the ambient lighting used during the shadow pass.
setAnimationSequence(Animation) - Method in class com.threed.jpct.Object3D
Sets the keyframe animation sequence that should be used for this object.
setAsMultiSectored() - Method in class com.threed.jpct.Object3D
Tells jPCT that this object is a multi-sectored one (for portal rendering).
setAsShadowMap(boolean) - Method in class com.threed.jpct.Texture
Marks this texture as a shadow map.
setAttenuation(float) - Method in class com.threed.jpct.util.Light
Sets the light's attenuation.
setBack(Matrix) - Method in class com.threed.jpct.BufferedMatrix
Sets the backbuffer matrix.
setBaseTexture(String) - Method in class com.threed.jpct.Object3D
Sets the base texture for the whole object.
setBillBoardMatrix(Matrix) - Method in class com.threed.jpct.Camera
Sets a special matrix used for the bill board calculations.
setBillboarding(boolean) - Method in class com.threed.jpct.Object3D
Enables/disables billboarding for this object.
setBlending(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables blending for the current object.
setBlittingShader(GLSLShader) - Method in class com.threed.jpct.FrameBuffer
Sets a shader that should be used for blitting instead of the fixed function pipeline.
setBlittingTarget(int) - Method in class com.threed.jpct.FrameBuffer
Sets the blitting target to either the front (default) or the back buffer.
setBorder(int) - Method in class com.threed.jpct.util.ShadowHelper
Sets a border around the actual shadow map to prevent the shadows from bleeding into parts of the scene that are not covered by the projector's view.
setBoundingBox(float, float, float, float, float, float) - Method in class com.threed.jpct.Object3D
Sets a new AABB for the object.
setBoundingBoxMode(boolean) - Method in class com.threed.jpct.FrameBuffer
Sets the bounding box mode for the framebuffer.
setBufferAccess(int) - Method in class com.threed.jpct.FrameBuffer
When using the software renderer, the framebuffer can be accessed in different ways.
setBumpmapTexture(String) - Method in class com.threed.jpct.Object3D
Sets the bumpmap of the object.
setBumpmapped(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables enviroment bumpmapping for this object.
setCameraTo(Camera) - Method in class com.threed.jpct.World
Sets the camera to another one.
setCenter(SimpleVector) - Method in class com.threed.jpct.Object3D
Sets the center of the object (in object-space).
setCenter(SimpleVector) - Method in class com.threed.jpct.util.SkyBox
Sets the center of the skybox.
setClamping(boolean) - Method in class com.threed.jpct.Texture
Set texture coordinate to clamping or wrapping/repeating.
setClampingMode(int) - Method in class com.threed.jpct.Animation
Sets the clamping mode for animations.
setClearColor(Color) - Method in class com.threed.jpct.util.ReflectionHelper
Sets the clear color for the reflection map.
setClippingPlane(int, Plane) - Method in class com.threed.jpct.FrameBuffer
Sets an additional clipping plane.
setClippingPlaneOffset(float) - Method in class com.threed.jpct.util.ReflectionHelper
Sets an offset for the internal clipping plane.
setClippingPlanes(float, float) - Method in class com.threed.jpct.Camera
If set, this overrides the settings in Config for the near and the far clipping plane for this world.
setClippingPlanes(float, float) - Method in class com.threed.jpct.World
Deprecated. Use the equally named method in Camera instead
setCollisionMode(int) - Method in class com.threed.jpct.Object3D
Sets if and how the object will respond to collisions.
setCollisionOptimization(boolean) - Method in class com.threed.jpct.Object3D
Sets an optimization for collision detection to be used/not used.
setCollisionUse(boolean) - Method in class com.threed.jpct.OcTree
Sets the octree to be used for collision detection.
setColor(Color) - Method in class com.threed.jpct.Polyline
Sets the color of the line strip.
setColor(Color) - Method in class com.threed.jpct.util.Overlay
Sets a new additional color.
setColumn(int, float, float, float, float) - Method in class com.threed.jpct.Matrix
Inject values directly into a matrix' column.
setCombining(boolean) - Method in class com.threed.jpct.procs.BloomGLProcessor
If set to false, only the blured version of the image will be shown, not the final result.
setCulling(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables backface culling for the current object.
setCullingMode(boolean) - Method in class com.threed.jpct.util.ShadowHelper
Sets the culling mode.
setCurrentObject3D(Object3D) - Method in class com.threed.jpct.GLSLShader
Does nothing in the default implementation.
setCurrentObject3D(Object3D) - Method in interface com.threed.jpct.IRenderHook
Sets the currently rendered object.
setCurrentShader(GLSLShader) - Method in class com.threed.jpct.GLSLShader
Does nothing in the default implemention.
setCurrentShader(GLSLShader) - Method in interface com.threed.jpct.IRenderHook
Sets the currently active shader.
setDefaultThread(Thread) - Static method in class com.threed.jpct.World
jPCT's methods can be called from within different threads.
setDelayed(boolean) - Method in class com.threed.jpct.procs.BloomGLProcessor
Sets the processor to delayed.
setDelayedDisabling(boolean) - Method in class com.threed.jpct.GLSLShader
If set to true, the engine can optimize shader usage better but it's not guaranteed, that the shader will be disabled after usage.
setDepth(float) - Method in class com.threed.jpct.util.Overlay
Sets the depth of the overlay.
setDepthBufferWrites(boolean) - Method in class com.threed.jpct.Object3D
This is only important when using the software renderer.
setDirection(boolean) - Method in class com.threed.jpct.util.LensFlare
If hiding is enabled, the visibility calculations can be done camera->light (default) or light->camera.
setDiscardDistance(float) - Method in class com.threed.jpct.util.Light
Sets the light's discard distance.
setDistanceOverride(float) - Method in class com.threed.jpct.util.Light
Overrides the distance that is usually calculated by taking the distance between the light source and an object.
setDummyTexture(Texture) - Method in class com.threed.jpct.TextureManager
Sets a texture as dummy texture.
setDump(float[]) - Method in class com.threed.jpct.Matrix
Reimports a dumped matrix (or every data from a float[16]-array) into a Matrix.
setDynamic(boolean) - Method in class com.threed.jpct.VertexAttributes
Sets these attributes as dynamic, i.e. you are allowed to update their data.
setEffect(ITextureEffect) - Method in class com.threed.jpct.Texture
Sets an effect for this texture.
setEllipsoidMode(int) - Method in class com.threed.jpct.Camera
When doing ellipsoid collision detection with a camera, the ellipsoid can be transformed according to the camera's transformation in camera space or it remains static in object space (i.e.
setEllipsoidMode(int) - Method in class com.threed.jpct.Object3D
When doing ellipsoid collision detection with this object, the ellipsoid can be transformed according to the objects's transformation and in the source's object space or it remains static in the target's object space (i.e.
setEnabled(boolean) - Method in class com.threed.jpct.Texture
Sets the texture to enable/disabled.
setEnabled(boolean) - Method in class com.threed.jpct.util.ReflectionHelper
Enables/Disables the reflection.
setEnvmapDirection(int) - Method in class com.threed.jpct.Object3D
Sets the pair of coordinates from (x,y,z) that will be used for calculating the environment mapping.
setEnvmapMode(boolean) - Method in class com.threed.jpct.Object3D
Sets the mode for environment mapping.
setEnvmapped(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables environment mapping for the object.
setExternalId(int, int) - Method in class com.threed.jpct.Texture
Sets an external id.
setFOV(float) - Method in class com.threed.jpct.Camera
Sets the FOV (within the limits set by setFOVLimits).
setFOVLimits(float, float) - Method in class com.threed.jpct.Camera
Sets the limits for FOV jPCT should permit.
setFOVtoDefault() - Method in class com.threed.jpct.Camera
Resets the FOV to the default value configured in Config.
setFiltering(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables filtering on a per texel basis.
setFiltering(boolean) - Method in class com.threed.jpct.util.ShadowHelper
Enabled percentage closer filtering on the shadow edges.
setFloatArrayUniform(String, float[]) - Method in class com.threed.jpct.GLSLShader
Sets a new float[] uniform.
setFogParameters(float, float, float, float) - Method in class com.threed.jpct.World
Sets the parameters for the linear distance fog (if enabled).
setFogParameters(float, float, float, float, float) - Method in class com.threed.jpct.World
Sets the parameters for the linear distance fog (if enabled).
setFogging(int) - Method in class com.threed.jpct.World
Enables/Disables linear distance-fogging.
setFoggingMode(int) - Method in class com.threed.jpct.World
Sets the fogging mode (per pixel or per polygon).
setFovAngle(float) - Method in class com.threed.jpct.Camera
An alternative to setFOV, which works directly with the angle.
setFrameBuffer(FrameBuffer) - Method in class com.threed.jpct.util.ShadowHelper
Sets a new FrameBuffer.
setFrustumOffset(float, float) - Method in class com.threed.jpct.Camera
Sets relative offsetss to view frustum in x and y-direction.
setGLFiltering(boolean) - Method in class com.threed.jpct.Texture
Sets the bilinear filtering state on textures when using a GL renderer.
setGLMipmap(boolean) - Method in class com.threed.jpct.Texture
Deprecated.  
setGlobalScale(float) - Method in class com.threed.jpct.util.LensFlare
Sets the global scale of the effect.
setGlobalShader(GLSLShader) - Method in class com.threed.jpct.World
Sets a global shader.
setHermiteParameter(float, float) - Method in class com.threed.jpct.Animation
Changes the bias and tension parameters used for hermite interpolation.
setHiding(boolean) - Method in class com.threed.jpct.util.LensFlare
If true (default), all geometry that is a potential collider hides the effect if it's located in a direct line between the camera and the light source.
setIdentity() - Method in class com.threed.jpct.Matrix
(Re-)sets this matrix to the identity matrix.
setInitialMatrix(Matrix) - Method in class com.threed.jpct.util.Overlay
Sets a new initial matrix that will be used instead of the identity matrix when calculating the Overlay's position.
setIntensity(SimpleVector) - Method in class com.threed.jpct.util.Light
Sets the light's intensity.
setIntensity(float, float, float) - Method in class com.threed.jpct.util.Light
Sets the light's intensity.
setInterpolationMethod(int) - Method in class com.threed.jpct.Animation
Sets the method that should be used to interpolate vertices between keyframes.
setLightAttenuation(int, float) - Method in class com.threed.jpct.World
Overrides the setting from Config.linearDiv and Config.fadeoutLight for the given light.
setLightDiscardDistance(int, float) - Method in class com.threed.jpct.World
Overrides the setting from Config.discardDistance for the given light number.
setLightDistanceOverride(int, float) - Method in class com.threed.jpct.World
Overrides the distance that is usually calculated by taking the distance between the light source and an object.
setLightIntensity(int, float, float, float) - Method in class com.threed.jpct.World
Sets the intensity for a light source (the "color" of the light source).
setLightMode(boolean) - Method in class com.threed.jpct.util.ShadowHelper
Sets the lighting mode.
setLightPosition(int, SimpleVector) - Method in class com.threed.jpct.World
Moves a light source to a new position in worldspace.
setLightPosition(SimpleVector) - Method in class com.threed.jpct.util.LensFlare
Sets a new light position.
setLightRotation(int, SimpleVector, float, float, float) - Method in class com.threed.jpct.World
Sets the current rotation behaviour of the light source with this number.
setLightRotation(int, float, float, float) - Method in class com.threed.jpct.World
Sets the current rotation behaviour of the light source with this number.
setLightSource(Projector) - Method in class com.threed.jpct.util.ShadowHelper
Sets the directional light source to another one.
setLightVisibility(int, boolean) - Method in class com.threed.jpct.World
Sets the light to be visible (default) or invisible.
setLighting(int) - Method in class com.threed.jpct.Object3D
Sets the lighting mode.
setLocked(boolean) - Method in class com.threed.jpct.Mesh
Locks an object.
setLogLevel(int) - Static method in class com.threed.jpct.Logger
Sets the log-level.
setMainObjectID(int) - Method in class com.threed.jpct.World
Sets the ID of the main object.
setMatrixCacheUsage(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables the matrix cache.
setMaxLights(int) - Method in class com.threed.jpct.Object3D
Sets the maximum number of lights that should have an influence on this object.
setMaximumDistance(float) - Method in class com.threed.jpct.util.LensFlare
If hiding is enabled, this value specifies how far away from the camera a polygon can maximally be to be considered as a blocker.
setMesh(Mesh) - Method in class com.threed.jpct.Object3D
Sets an object's mesh to another one.
setMessageBuffer(boolean) - Static method in class com.threed.jpct.Logger
Sets the message-buffer to store messages or to discard them after logging.
setMinShaderModel(int) - Method in class com.threed.jpct.GLSLShader
Sets the minimum shader model that this shader needs.
setMipmap(boolean) - Method in class com.threed.jpct.Texture
Overrides a global mip map setting in Config for this particular texture.
setMipmapMode(int) - Method in class com.threed.jpct.Texture
Exists solely for compatibility with jPCT-AE.
setName(String) - Method in class com.threed.jpct.Object3D
Sets the name of the object to a name other than the default one.
setNewCoordinates(int, int, int, int) - Method in class com.threed.jpct.util.Overlay
Sets new coordinates for the overlay.
setNextID(int) - Static method in class com.threed.jpct.Object3D
Sets the ID the next object will get.
setObjectsVisibility(boolean) - Method in class com.threed.jpct.World
Sets the visibility for objects that belong to a world.
setOcTree(OcTree) - Method in class com.threed.jpct.Object3D
Assigns an octree to the object.
setOnError(int) - Static method in class com.threed.jpct.Logger
Sets error behaviour.
setOrientation(SimpleVector, SimpleVector) - Method in class com.threed.jpct.Camera
Sets the orientation of the camera by giving a direction and an up-vector.
setOrientation(SimpleVector, SimpleVector) - Method in class com.threed.jpct.Matrix
Sets the orientation of a rotation matrix by giving a direction and an up-vector.
setOrientation(SimpleVector, SimpleVector) - Method in class com.threed.jpct.Object3D
Sets the orientation of this object by giving a direction and an up-vector.
setOrigin(SimpleVector) - Method in class com.threed.jpct.Object3D
Sets the origin of the object.
setOutputBuffering(int) - Static method in class com.threed.jpct.Logger
Sets how many messages should be stored in the message buffer before they are printed out.
setOverbrightLighting(int) - Method in class com.threed.jpct.Lights
Disable/Enable (default) overbright lighting.
setPaintListener(IPaintListener) - Method in class com.threed.jpct.FrameBuffer
Adds a listener to all currently used renderers.
setPaintListener(IPaintListener) - Method in interface com.threed.jpct.IRenderer
Sets a listener that will be called before the actual painting starts and after it has finished.
setPaintListener(IPaintListener) - Method in class com.threed.jpct.LegacyRenderer
 
setPaintListener(IPaintListener) - Method in class com.threed.jpct.SoftGLRenderer
 
setPaintListenerState(boolean) - Method in class com.threed.jpct.FrameBuffer
Sets the state of the paint listener.
setParameterValue(String, Object) - Static method in class com.threed.jpct.Config
Sets a parameter with the given name to a value.
setParent(Object3D) - Method in class com.threed.jpct.Polyline
Sets a parent object.
setPercentage(float) - Method in class com.threed.jpct.Polyline
Sets a value between 0 and 1 that defines how much of the line is actually visible. 0 means nothing, 1 means fully visible.
setPointMode(boolean) - Method in class com.threed.jpct.Polyline
If set to true, points will be drawn instead of lines.
setPolygonTexture(int, int) - Method in class com.threed.jpct.PolygonManager
Sets the texture for a polygon.
setPolygonTexture(int, TextureInfo) - Method in class com.threed.jpct.PolygonManager
Sets the textures and its coordinates for a polygon.
setPortalAttributes(int, int) - Method in class com.threed.jpct.Portals
Sets the attributes of the portal.
setPosition(SimpleVector) - Method in class com.threed.jpct.Camera
Sets the camera to a position in worldspace.
setPosition(float, float, float) - Method in class com.threed.jpct.Camera
Sets the camera to a position in worldspace.
setPosition(SimpleVector) - Method in class com.threed.jpct.util.Light
Sets the position of this light in world space.
setPositionToCenter(Object3D) - Method in class com.threed.jpct.Camera
Sets the camera to the position of the transformed center of an Object3D.
setPrintStream(PrintStream) - Static method in class com.threed.jpct.Logger
Sets the logging PrintStream.
setProjector(Projector, boolean) - Method in class com.threed.jpct.Texture
Sets a projector, i.e. this texture will be treated as if it would be projected onto the scene from the projector's position (and into its direction).
setRGBScale(int) - Method in class com.threed.jpct.Lights
With this, it's possible to "simulate" overbright lighting to a degree.
setRadiusMultiplier(float) - Method in class com.threed.jpct.OcTree
Sets the radius multiplier that will be used for the sphere-polygon collision detection.
setReNormalization(boolean) - Method in class com.threed.jpct.Object3D
Enables re-normalization of transformed normal vectors.
setRenderHook(IRenderHook) - Method in class com.threed.jpct.Object3D
Sets a new hook into the rendering pipeline.
setRenderTarget(int) - Method in class com.threed.jpct.FrameBuffer
Sets the render target of the framebuffer to a texture.
setRenderTarget(int, int, int, int, int, boolean) - Method in class com.threed.jpct.FrameBuffer
Sets the render target of the framebuffer to a texture.
setRenderTarget(Texture) - Method in class com.threed.jpct.FrameBuffer
Sets the render target of the framebuffer to a texture.
setRenderTarget(Texture, int, int, int, int, boolean) - Method in class com.threed.jpct.FrameBuffer
Sets the render target of the framebuffer to a texture.
setRenderingUse(boolean) - Method in class com.threed.jpct.OcTree
Sets the octree to be used for rendering.
setRevertMode(boolean) - Method in class com.threed.jpct.util.ShadowHelper
If enabled, every MODE_ADD texture operation will be reverted to a MODE_MODULATE when doing the shadow pass.
setRotation(float) - Method in class com.threed.jpct.util.Overlay
Rotates the Overlay around it's midpoint or it's pivot, if one is set.
setRotationMatrix(Matrix) - Method in class com.threed.jpct.Object3D
Sets the rotation matrix for the object.
setRotationPivot(SimpleVector) - Method in class com.threed.jpct.Object3D
Sets the rotation pivot of the object.
setRotationPivot(int, int) - Method in class com.threed.jpct.util.Overlay
Sets the pivot point for the rotation in screen coordinates.
setRow(int, float, float, float, float) - Method in class com.threed.jpct.Matrix
Inject values directly into a matrix' row.
setScale(float) - Method in class com.threed.jpct.Object3D
Sets an absolute value for the object's scaling.
setSector(int) - Method in class com.threed.jpct.Object3D
Places the object into a specific sector.
setSectorDetectionMode(boolean) - Method in class com.threed.jpct.Object3D
Sets the method used for sector detection.
setSelectable(boolean) - Method in class com.threed.jpct.Object3D
Sets the object as selectable/unselectable.
setSelectable(boolean) - Method in class com.threed.jpct.util.Overlay
Sets the object as selectable/unselectable.
setSerializeMethod(int) - Method in class com.threed.jpct.Mesh
Sets the serialization method.
setShadingMode(int) - Method in class com.threed.jpct.Object3D
jPCT always uses gouraud shading and that can't be disabled.
setShadowHelper(ShadowHelper) - Method in class com.threed.jpct.GLSLShader
Sets the ShadowHelper instance.
setSortOffset(float) - Method in class com.threed.jpct.Object3D
Sets on offset for the z-Sorting.
setSourceCoordinates(float, float, float, float) - Method in class com.threed.jpct.util.Overlay
Sets new source coordinates.
setSpecularLighting(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables specular lighting for the object.
setState(Vector) - Method in class com.threed.jpct.TextureManager
Sets the state of the TextureManager.
setStaticFloatArrayUniform(String, float[]) - Method in class com.threed.jpct.GLSLShader
Sets a new float[] uniform.
setStaticUniform(String, int) - Method in class com.threed.jpct.GLSLShader
Sets a new integer uniform.
setStaticUniform(String, float) - Method in class com.threed.jpct.GLSLShader
Sets a new float uniform.
setStaticUniform(String, float[]) - Method in class com.threed.jpct.GLSLShader
Sets a new float|vecX uniform.
setStaticUniform(String, SimpleVector) - Method in class com.threed.jpct.GLSLShader
Sets a new SimpleVector uniform.
setStaticUniform(String, SimpleVector[]) - Method in class com.threed.jpct.GLSLShader
Sets a new array of SimpleVector uniform.
setStaticUniform(String, Matrix) - Method in class com.threed.jpct.GLSLShader
Sets a new Matrix uniform.
setStaticUniform(String, Matrix[]) - Method in class com.threed.jpct.GLSLShader
Sets a new array of Matrix uniform.
setTexture(String) - Method in class com.threed.jpct.Object3D
Sets the texture for the object.
setTexture(TextureInfo) - Method in class com.threed.jpct.Object3D
Sets the texture for the object via an instance of TextureInfo.
setTexture(String) - Method in class com.threed.jpct.util.Overlay
Changes the texture of the overlay.
setTexture(TextureInfo) - Method in class com.threed.jpct.util.Overlay
Changes the texture of the overlay.
setTextureMatrix(Matrix) - Method in class com.threed.jpct.Object3D
Sets a matrix that is applied to transform the texture in stage 0.
setTo(Matrix) - Method in class com.threed.jpct.Matrix
Sets this matrix' values to the ones of the source matrix.
setTo(SimpleVector, SimpleVector) - Method in class com.threed.jpct.Plane
Sets the plane's attributes to new ones.
setTo(SimpleVector, SimpleVector, SimpleVector) - Method in class com.threed.jpct.Plane
Sets the plane's attributes to new ones.
setTranslationMatrix(Matrix) - Method in class com.threed.jpct.Object3D
Sets the translation matrix for the object.
setTransparency(float) - Method in class com.threed.jpct.GLSLShader
Does nothing in the default implementation.
setTransparency(float) - Method in interface com.threed.jpct.IRenderHook
Set which transparency value is used for this object.
setTransparency(int) - Method in class com.threed.jpct.Object3D
Sets the object to be transparent using the given level of transparency.
setTransparency(int) - Method in class com.threed.jpct.util.LensFlare
Sets the transparency of the effect.
setTransparency(int) - Method in class com.threed.jpct.util.Overlay
Set the transparency of the overlay.
setTransparencyMode(int) - Method in class com.threed.jpct.Object3D
Sets the transparency (blending) mode.
setTransparencyMode(int) - Method in class com.threed.jpct.Polyline
Sets the transparency mode analog to the setter in Object3D (i.e. it uses the same constants).
setTransparencyMode(int) - Method in class com.threed.jpct.util.Overlay
Sets the transparency mode similar to setTransparencyMode() in Object3D.
setUniform(String, int) - Method in class com.threed.jpct.GLSLShader
Sets a new integer uniform.
setUniform(String, float) - Method in class com.threed.jpct.GLSLShader
Sets a new float uniform.
setUniform(String, SimpleVector) - Method in class com.threed.jpct.GLSLShader
Sets a new SimpleVector uniform.
setUniform(String, SimpleVector[]) - Method in class com.threed.jpct.GLSLShader
Sets a new array of SimpleVectors uniform.
setUniform(String, Matrix[]) - Method in class com.threed.jpct.GLSLShader
Sets a new array of Matrix uniform.
setUniform(String, float[]) - Method in class com.threed.jpct.GLSLShader
Sets a new float|vecX uniform.
setUniform(String, Matrix) - Method in class com.threed.jpct.GLSLShader
Sets a new Matrix uniform.
setUniformCache(boolean) - Method in class com.threed.jpct.GLSLShader
Does nothing in desktop jPCT.
setUserObject(Object) - Method in class com.threed.jpct.Object3D
This method is a "workaround" in case you want to give additional information to an Object3D but don't want to (or can't) extend Object3D itself.
setVertexAlpha(int, int, float) - Method in class com.threed.jpct.PolygonManager
Sets the alpha value for an objects vertex.
setVertexController(IVertexController, boolean) - Method in class com.threed.jpct.Mesh
Sets the VertexController for this Mesh.
setVertexOptimization(boolean) - Static method in class com.threed.jpct.Loader
Enables(default)/Disables vertex optimizations for the Loader.
setVirtualDimensions(int, int) - Method in class com.threed.jpct.FrameBuffer
This has a meaning only if a render target has been set.
setVisibility(boolean) - Method in class com.threed.jpct.Object3D
Sets the object to visible/invisible.
setVisibility(boolean) - Method in class com.threed.jpct.util.Overlay
Sets the visibility similar to setVisibility() in Object3D.
setVisible(boolean) - Method in class com.threed.jpct.Polyline
Sets the visibility of the line.
setWidth(float) - Method in class com.threed.jpct.Polyline
Sets the line width.
setWorldProcessor(WorldProcessor) - Method in class com.threed.jpct.World
Sets a new world processor.
setYFOV(float) - Method in class com.threed.jpct.Camera
Sets the FOV in y-direction (within the limits set by setFOVLimits).
setYFovAngle(float) - Method in class com.threed.jpct.Camera
An alternative to setYFOV, which works directly with the angle.
setup() - Method in class com.threed.jpct.GenericVertexController
This is an empty implementation of setup().
setup() - Method in interface com.threed.jpct.IVertexController
This method can be overwritten to do some additional setup work.
shareCompiledData(Object3D) - Method in class com.threed.jpct.Object3D
Enables a compiled object to share data with another compiled one.
shareTextureData(Object3D) - Method in class com.threed.jpct.Object3D
In addition to sharing the actual mesh data, you can also make objects share the same texturing information (the actual textures, not the uv-coordinates).
shareVisibilityList - Static variable in class com.threed.jpct.Config
If this is set to true, each instance of World will use the same instance of VisList and will use the same polygon buffer object.
snapshot() - Method in class com.threed.jpct.procs.BloomGLProcessor
Takes a snapshot of the current scene.
spanBasedHsr - Static variable in class com.threed.jpct.Config
Use a hidden surface removal method based on spans and sub-spans.
specPow - Static variable in class com.threed.jpct.Config
The sharpness of specular highlights.
specTerm - Static variable in class com.threed.jpct.Config
An "amplifier"-value for specular highlights.
sphereIntersectsAABB(SimpleVector, float) - Method in class com.threed.jpct.Object3D
Checks if a given sphere intersects the axis aligned bounding box (in object-space) of this object.
startNewPortal() - Method in class com.threed.jpct.Portals
Starts a new portal definition.
startPainting() - Method in interface com.threed.jpct.IPaintListener
Called when the renderer starts painting.
strip() - Method in class com.threed.jpct.Animation
Removes triangle information from this animation's meshes.
strip() - Method in class com.threed.jpct.Mesh
Removes triangle information from this mesh.
strip() - Method in class com.threed.jpct.Object3D
Strips an Object3D.
sub(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Subtracts another SimpleVector from this SimpleVector without creating a new instance.
supports(String) - Method in class com.threed.jpct.FrameBuffer
Checks if a feature is supported by all the renderers of this framebuffer.
sync() - Method in class com.threed.jpct.FrameBuffer
Does nothing.
synchronizedRendering - Static variable in class com.threed.jpct.Config
Only applies to multi-threaded renderers.

T

TEXTURE_NOTFOUND - Static variable in class com.threed.jpct.TextureManager
The id of a none-existent texture
TRANSPARENCY_MODE_ADD - Static variable in class com.threed.jpct.Object3D
An alternative transparency mode for additive blending.
TRANSPARENCY_MODE_DEFAULT - Static variable in class com.threed.jpct.Object3D
The default transparency mode and the only one that the legacy software renderer supports.
TRANSPARENT_BLITTING - Static variable in class com.threed.jpct.FrameBuffer
2D texture-blitting into the framebuffer is done by copying the source into the destination bitmap only at places where the sources bitmap has none-zero color-values.
TYPE_FOUR_FLOATS - Static variable in class com.threed.jpct.VertexAttributes
Type for assigning four floats to each vertex
TYPE_SINGLE_FLOATS - Static variable in class com.threed.jpct.VertexAttributes
Type for assigning a single float to each vertex
TYPE_SOURCE - Static variable in class com.threed.jpct.CollisionEvent
The object is the source of the collision that has caused the event
TYPE_TARGET - Static variable in class com.threed.jpct.CollisionEvent
The object is a target of the collision that has caused the event
TYPE_THREE_FLOATS - Static variable in class com.threed.jpct.VertexAttributes
Type for assigning three floats to each vertex
TYPE_TWO_FLOATS - Static variable in class com.threed.jpct.VertexAttributes
Type for assigning two floats to each vertex
Texture - class com.threed.jpct.Texture.
A Texture in jPCT is a bitmap with a width/height of 2^x and a color-depth of 24 bpp.
Texture(String) - Constructor for class com.threed.jpct.Texture
Creates a texture using an image from file. jPCT supports every format that JAVA supports for creating images from files as long as the result is a 24bpp image.
Texture(String, boolean) - Constructor for class com.threed.jpct.Texture
Creates a texture using an image from file. jPCT supports every format that JAVA supports for creating images from files as long as the result is a 24bpp image.
Texture(URL, String) - Constructor for class com.threed.jpct.Texture
Creates a texture using an image from an URL (intended to be used in applets). jPCT supports every format that JAVA supports for creating images from files as long as the result is a 24bpp image.
Texture(URL, String, boolean) - Constructor for class com.threed.jpct.Texture
Creates a texture using an image from an URL (intended to be used in applets). jPCT supports every format that JAVA supports for creating images from files as long as the result is a 24bpp image.
Texture(InputStream) - Constructor for class com.threed.jpct.Texture
Creates a texture using an image from file. jPCT supports every format that JAVA supports for creating images from files as long as the result is a 24bpp image.
Texture(InputStream, boolean) - Constructor for class com.threed.jpct.Texture
Creates a texture using an image from file (usually in jpeg format). jPCT supports every format that JAVA supports for creating images from files as long as the result is a 24bpp image.
Texture(Image) - Constructor for class com.threed.jpct.Texture
Creates a texture using a java.awt.Image. jPCT supports every format that JAVA supports for creating images from files as long as the result is a 24bpp image.
Texture(Image, boolean) - Constructor for class com.threed.jpct.Texture
Creates a texture using a java.awt.Imagem. jPCT supports every format that JAVA supports for creating images from files as long as the result is a 24bpp image.
Texture(int, int) - Constructor for class com.threed.jpct.Texture
Creates a black texture with no alpha in the given dimensions.
Texture(int, int, int) - Constructor for class com.threed.jpct.Texture
Creates a black texture with alpha in the given dimensions.
Texture(int, int, Color) - Constructor for class com.threed.jpct.Texture
Creates a colored texture with no alpha in the given dimensions.
TextureInfo - class com.threed.jpct.TextureInfo.
TextureInfo is jPCT's key to multi texturing.
TextureInfo(int, float, float, float, float, float, float) - Constructor for class com.threed.jpct.TextureInfo
Creates a new TextureInfo.
TextureInfo(int) - Constructor for class com.threed.jpct.TextureInfo
Creates a new TextureInfo.
TextureManager - class com.threed.jpct.TextureManager.
The TextureManager is a singleton for storing and retrieving textures.
texelFilter - Static variable in class com.threed.jpct.Config
Use texel-filtering to avoid the blocky look of point sampling.
toArray() - Method in class com.threed.jpct.SimpleVector
Returns an float[3]-array containing the components of the vector so that [0]=x, [1]=y and [2]=z.
toString() - Method in class com.threed.jpct.CollisionEvent
Overwrites toString() from java.lang.Object.
toString() - Method in class com.threed.jpct.Matrix
 
toString() - Method in class com.threed.jpct.SimpleVector
Returns this SimpleVector as a String.
toString() - Method in class com.threed.jpct.VideoMode
Displays the video-mode data in a human readable format.
toXML() - Method in class com.threed.jpct.World
Serializes the world to XML.
touch() - Method in class com.threed.jpct.Object3D
Touches an object.
transform(SimpleVector) - Method in class com.threed.jpct.Camera
Transforms a vertex from world into camera space.
transform(SimpleVector, SimpleVector) - Method in class com.threed.jpct.Camera
Transforms a vertex from world into camera space.
transformToGL() - Method in class com.threed.jpct.Matrix
Transforms a matrix from jPCT's format into OpenGL's.
transformUVCoords(Object3D, float, float, float, float, float, float) - Static method in class com.threed.jpct.util.ExtendedPrimitives
Moves, scales and again moves uv coords on an Object3D object.
translate(SimpleVector) - Method in class com.threed.jpct.Matrix
Applies a translation to this matrix.
translate(float, float, float) - Method in class com.threed.jpct.Matrix
Applies a translation to this matrix.
translate(SimpleVector) - Method in class com.threed.jpct.Object3D
Translates ("moves") the object in worldspace by modifying the translation matrix.
translate(float, float, float) - Method in class com.threed.jpct.Object3D
Translates ("moves") the object in worldspace by modifying the translation matrix.
translateMesh() - Method in class com.threed.jpct.Object3D
Translates the raw mesh data using the translation and the origin matrix of this object.
transpose() - Method in class com.threed.jpct.Matrix
Calculates the transposed matrix of this matrix.
tuneForIndoor() - Static method in class com.threed.jpct.Config
Enables a preset configuration for indoor-rendering.
tuneForOutdoor() - Static method in class com.threed.jpct.Config
Enables a preset configuration for outdoor-rendering.

U

UNKNOWN_OBJECTSIZE - Static variable in class com.threed.jpct.Object3D
The object is empty
USE_CLAMPING - Static variable in class com.threed.jpct.Animation
Use clamping when the interpolation reaches the end of a sub-sequence.
USE_WRAPPING - Static variable in class com.threed.jpct.Animation
Use wrapping when the interpolation reaches the end of a sub-sequence.
unbuild() - Method in class com.threed.jpct.Object3D
"Unbuilds" an object, i.e. it takes back some of the changes that build() does to the object, so that new triangles can be added again to this object.
unlink() - Method in class com.threed.jpct.util.Overlay
Unlinks the overlay.
unloadTexture(FrameBuffer, Texture) - Method in class com.threed.jpct.TextureManager
Unloads a texture from the contexts of the renderers of the given frame buffer.
unloadTimeout - Static variable in class com.threed.jpct.Config
Timeout value in ms after which a threaded renderer is allowed to remove the unload request of textures that have never been used by the renderer from the queue.
unlockMatrices() - Method in class com.threed.jpct.World
Unlocks the matrices so that another thread that is waiting to lock them may do so and continue with his normal operation.
update() - Method in class com.threed.jpct.FrameBuffer
Updates the output buffer of the framebuffer with the new data from the backbuffer.
update(SimpleVector[]) - Method in class com.threed.jpct.Polyline
Updates the line strip.
update(float[], int) - Method in class com.threed.jpct.VertexAttributes
Updates the attributes' data.
update(FrameBuffer, World) - Method in class com.threed.jpct.util.LensFlare
Updates the lens flare.
update(FrameBuffer) - Method in class com.threed.jpct.util.Overlay
Updates the overlay.
updateMesh() - Method in class com.threed.jpct.GenericVertexController
Alters the actual Mesh to reflect the modifications that have been applied to the DestinationMesh- and DestinationNormals-arrays.
updateMesh() - Method in interface com.threed.jpct.IVertexController
Alters the actual Mesh to reflect the modifications that have been applied to the DestinationMesh- and DestinationNormals-arrays.
updateShadowMap() - Method in class com.threed.jpct.util.ShadowHelper
Updates the shadow map as seen from the directional light source.
useBB - Static variable in class com.threed.jpct.Config
Use the bounding box every Object3D has for faster clipping and culling.
useFastCollisionDetection - Static variable in class com.threed.jpct.Config
Uses the axis aligned bounding box every object has (should have...) to optimize collision detection.
useFastSpecular - Static variable in class com.threed.jpct.Config
Use fast specular lighting (if it's used at all).
useFramebufferWithAlpha - Static variable in class com.threed.jpct.Config
A software renderer only setting.
useFrustumCulling - Static variable in class com.threed.jpct.Config
Use frustum culling to speed up geometry calculations.
useLocking - Static variable in class com.threed.jpct.Config
jPCT may use locking for the rotation and translation matrices when rendering the objects.
useMultiThreadedBlitting - Static variable in class com.threed.jpct.Config
Only serves a purpose when useMultipleThreads is set to true and software rendering is being used.
useMultipassStriping - Static variable in class com.threed.jpct.Config
jPCT offers a method to rebuild an object so that it consists of triangle strips instead of single triangles.
useMultipleThreads - Static variable in class com.threed.jpct.Config
An switch to make jPCT use multi-threading for some operations.
useNormalsFromOBJ - Static variable in class com.threed.jpct.Config
By default, jPCT calculates normals based on the mesh's geometry when calling build().
useRotationPivotFrom3DS - Static variable in class com.threed.jpct.Config
By default, jPCT calculates a rotation pivot based on the mesh's geometry when calling build().
usesRenderer(int) - Method in class com.threed.jpct.FrameBuffer
Tests if the given renderer is used by this framebuffer.

V

VERSION - Static variable in class com.threed.jpct.Config
Deprecated.  
VertexAttributes - class com.threed.jpct.VertexAttributes.
This class can be used to assign additional vertex attributes to meshes.
VertexAttributes(String, float[], int) - Constructor for class com.threed.jpct.VertexAttributes
Cretes new vertex attributes.
VideoMode - class com.threed.jpct.VideoMode.
A VideoMode represents a display mode that a device can handle.
VideoMode(int, int, int, int, int) - Constructor for class com.threed.jpct.VideoMode
Creates a new VideoMode.
VisList - class com.threed.jpct.VisList.
 
viewportOffsetAffectsRenderTarget - Static variable in class com.threed.jpct.Config
If set to true, any offset to the viewport will affect the render target as well.
viewportOffsetX - Static variable in class com.threed.jpct.Config
Shifts the (normalized) viewport into x-direction, i.e. a value of 0.5 lets the rendering start in the middle of the framebuffer so that only the leftmost half of the image is visible in the right half of the framebuffer.
viewportOffsetY - Static variable in class com.threed.jpct.Config
Shifts the (normalized) viewport into y-direction, i.e. a value of 0.5 lets the rendering start in the middle of the Framebuffer so that only the uppermost half of the image is visible in the bottom of the framebuffer.

W

WARNING - Static variable in class com.threed.jpct.Logger
The message is a warning
WHITE - Static variable in class com.threed.jpct.RGBColor
 
WaterTextureEffect - class com.threed.jpct.WaterTextureEffect.
An effect that renders ripples into a texture.
WaterTextureEffect(int) - Constructor for class com.threed.jpct.WaterTextureEffect
Creates a new texture effect.
WorkLoad - interface com.threed.jpct.threading.WorkLoad.
A WorkLoad is what the Worker will process in its queues.
Worker - class com.threed.jpct.threading.Worker.
A simple multi-threading framework that jPCT uses to speed up some operations on multicore cpus.
Worker(int) - Constructor for class com.threed.jpct.threading.Worker
Creates a new Worker.
World - class com.threed.jpct.World.
The World class is the most important class in jPCT.
World() - Constructor for class com.threed.jpct.World
Creates a new "world".
WorldProcessor - class com.threed.jpct.WorldProcessor.
A WorldProcessor does some object processing for the World.
WorldProcessor(int) - Constructor for class com.threed.jpct.WorldProcessor
Creates a new world processor with the given number of processing threads and a granularity of 2.
WorldProcessor(int, int) - Constructor for class com.threed.jpct.WorldProcessor
Creates a new world processor with the given number of processing threads.
waitFor(Class) - Method in class com.threed.jpct.threading.Worker
Waits for all WorksLoads that are instances of the given Class to be processed.
waitForAll() - Method in class com.threed.jpct.threading.Worker
Waits for all WorkLoads to be processed.
wasTargetOfLastCollision() - Method in class com.threed.jpct.Object3D
True, if this object was a target of the last collision detection that took place (regardless of what kind it was).
wasVisible() - Method in class com.threed.jpct.Object3D
Returns if the object was visible (or at least supposed to be) in the last frame.
width - Variable in class com.threed.jpct.VideoMode
The width of the framebuffer that this video mode uses in pixels

X

XMLFactory - class com.threed.jpct.util.XMLFactory.
XMLFactory is a small factory to parse XML-files.
XMLNode - class com.threed.jpct.util.XMLNode.
A XMLNode is a node of the tree-structure the XMLFactory builds when parsing a XML-file.
x - Variable in class com.threed.jpct.SimpleVector
The x component of the vector

Y

y - Variable in class com.threed.jpct.SimpleVector
The y component of the vector

Z

z - Variable in class com.threed.jpct.SimpleVector
The z component of the vector
zTrick - Static variable in class com.threed.jpct.Config
Use zTrick to avoid clearing the z-buffer.

A B C D E F G H I J K L M N O P R S T U V W X Y Z