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

C

cacheCompressedTextures - Static variable in class com.threed.jpct.Config
Experimental!
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.
Camera - Class in com.threed.jpct
 
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).
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)
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.
chooseConfig(EGL10, EGLDisplay) - Method in class com.threed.jpct.util.AAConfigChooser
 
chooseConfig(EGL10, EGLDisplay) - Method in class com.threed.jpct.util.NVDepthConfigChooser
 
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.
cleanUp() - Method in class com.threed.jpct.Virtualizer
Cleans up the Virtualizer.
clear() - Method in class com.threed.jpct.FrameBuffer
Clears the framebuffer and the z-buffer.
clear(RGBColor) - Method in class com.threed.jpct.FrameBuffer
Clears the framebuffer with the given color.
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.IntList
Clears the list.
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(RGBColor) - 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.
clearShader() - Method in class com.threed.jpct.Object3D
Removes a shader and reverts to the default shader set.
clearSpecificLights() - Method in class com.threed.jpct.Object3D
Clears the specific light list.
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.
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.
collision(CollisionEvent) - Method in interface com.threed.jpct.CollisionListener
This method will be called in case of a collision.
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
CollisionEvent - Class in com.threed.jpct
A collision event is caused by a collision of either the camera or an object with another object.
CollisionListener - Interface in com.threed.jpct
Implement this interface and assign instances of your class to Object3Ds to receive collision events in case of collisions.
com.threed.jpct.util - package com.threed.jpct.util
 
compact() - Method in class com.threed.jpct.IntList
Truncates unused parts from the internal storage list, so that the resulting list doesn't require more memory than it has to.
compact() - Static method in class com.threed.jpct.util.MemoryHelper
Tries to free some memory by forcing gc and finalization.
compile() - Method in class com.threed.jpct.Object3D
Mainly needed to ease porting from the desktop version of jPCT.
compile(boolean) - Method in class com.threed.jpct.Object3D
Mainly needed to ease porting from the desktop version of jPCT.
compile(boolean, boolean) - Method in class com.threed.jpct.Object3D
Mainly needed to ease porting from the desktop version of jPCT.
compile() - Method in class com.threed.jpct.util.SkyBox
Can be used to compile the skybox to avoid compilation at runtime.
compileAllObjects() - Method in class com.threed.jpct.World
Compiles all objects in the world for better gpu processing.
compileShader(GLSLShader, List<VertexAttributes>) - Method in class com.threed.jpct.FrameBuffer
Compiles the shader and processes it's additional vertex attributes, if those are used within this shader.
COMPRESS - Static variable in class com.threed.jpct.Mesh
The mesh will be compressed
compress() - Method in class com.threed.jpct.Mesh
Compresses the mesh by removing unused information from it.
compress() - Method in class com.threed.jpct.Texture
Compresses the texture so that is uses less main memory.
compress() - Method in class com.threed.jpct.TextureManager
Compresses all texture known to the TextureManager so that they use less main memory.
Config - Class in com.threed.jpct
Config is used for configuring the engine.
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.
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).
convert(Drawable) - Static method in class com.threed.jpct.util.BitmapHelper
Creates a Bitmap from a Drawable.
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)).
create() - Static method in class com.threed.jpct.SimpleVector
Another way to create a SimpleVector.
create(SimpleVector) - Static method in class com.threed.jpct.SimpleVector
Another way to create a SimpleVector.
create(float, float, float) - Static method in class com.threed.jpct.SimpleVector
Another way to create 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.
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.
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.
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.
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
cullingIsInverted() - Method in class com.threed.jpct.Object3D
Returns true, if inverted culling is used on this object.
A B C D E F G H I K L M N O P R S T U V W X Y Z 
Skip navigation links