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

S

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.
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.
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.
setAdditionalColor(RGBColor) - Method in class com.threed.jpct.Object3D
Sets the additional color for this object.
setAmbientLight(int, int, int) - Method in class com.threed.jpct.World
Sets the light intensity for the ambient light source.
setAnimationSequence(Animation) - Method in class com.threed.jpct.Object3D
Sets the keyframe animation sequence that should be used for this object.
setBack(Matrix) - Method in class com.threed.jpct.Camera
Sets the backbuffer matrix.
setBillboarding(boolean) - Method in class com.threed.jpct.Object3D
Enables/disables billboarding for this object.
setBoundingBox(float, float, float, float, float, float) - Method in class com.threed.jpct.Object3D
Sets a new AABB for the object.
setCaching(boolean) - Method in class com.threed.jpct.Animation
If enabled, animations will be processed faster, you'll get a higher frame rate.
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).
setClampingMode(int) - Method in class com.threed.jpct.Animation
Sets the clamping mode for animations.
setClippingPlanes(float, float) - Method in class com.threed.jpct.World
If set, this overrides the settings in Config for the near and the far clipping plane for this world.
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(RGBColor) - 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.
setCulling(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables backface culling for the current object.
setDefaultThread(Thread) - Static method in class com.threed.jpct.World
jPCT's methods can be called from within different threads.
setDepth(float) - Method in class com.threed.jpct.util.Overlay
Sets the depth of the overlay.
setDiscardDistance(float) - Method in class com.threed.jpct.Light
Sets the light's discard distance.
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.
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.
setEnvmapped(boolean) - Method in class com.threed.jpct.Object3D
Enables/Disables environment mapping for the object.
setFiltering(boolean) - Method in class com.threed.jpct.Texture
Sets the bilinear filtering state on textures.
setFixedPointMode(boolean) - Method in class com.threed.jpct.Object3D
If set to true, some operations will be using fixed point instead of floating point.
setFogging(int) - Method in class com.threed.jpct.World
Enables/Disables linear distance-fogging
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).
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.
setIdentity() - Method in class com.threed.jpct.Matrix
(Re-)sets this matrix to the identity matrix.
setIntensity(SimpleVector) - Method in class com.threed.jpct.Light
Sets the light's intensity.
setIntensity(float, float, float) - Method in class com.threed.jpct.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.
setLighting(int) - Method in class com.threed.jpct.Object3D
Sets the lighting mode.
setLogLevel(int) - Static method in class com.threed.jpct.Logger
Sets the log-level.
setMesh(Mesh) - Method in class com.threed.jpct.Object3D
Sets an object's mesh to another one.
setMipmap(boolean) - Method in class com.threed.jpct.Texture
Enabled/Disables mip map setting for a texture.
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 all 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.
setPaintListener(IPaintListener) - Method in class com.threed.jpct.FrameBuffer
Adds a listener to the renderer.
setParameterValue(String, Object) - Static method in class com.threed.jpct.Config
Sets a parameter with the given name to a value.
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.
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.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.
setRadiusMultiplier(float) - Method in class com.threed.jpct.OcTree
Sets the radius multiplier that will be used for the sphere-polygon collision detection.
setRenderHook(IRenderHook) - Method in class com.threed.jpct.Object3D
Sets a new hook into the rendering pipeline.
setRenderingUse(boolean) - Method in class com.threed.jpct.OcTree
Sets the octree to be used for rendering.
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.
setRotation(float) - Method in class com.threed.jpct.util.Overlay
Rotates the Overlay around it's midpoint.
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.
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.
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.
setSortOffset(float) - Method in class com.threed.jpct.Object3D
Sets on offset for the z-Sorting.
setSourceCoordinates(int, int, int, int) - 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(List<?>) - Method in class com.threed.jpct.TextureManager
Sets the state of the TextureManager.
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.
setTranslationMatrix(Matrix) - Method in class com.threed.jpct.Object3D
Sets the translation matrix for the 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.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.util.Overlay
Sets the transparency mode similar to setTransparencyMode() in Object3D.
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.
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.
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.
setYFOV(float) - Method in class com.threed.jpct.Camera
Sets the FOV in y-direction (within the limits set by setFOVLimits).
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)
shareCompiledData(Object3D) - Method in class com.threed.jpct.Object3D
Enables a compiled object to share data with another compiled one.
SimpleVector - Class in com.threed.jpct
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
SLIDE - Static variable in class com.threed.jpct.Camera
Camera slides along obstacles.
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.
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
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.
startPainting() - Method in interface com.threed.jpct.IPaintListener
Called when the renderer starts painting.
stateOrientedSorting - Static variable in class com.threed.jpct.Config
If true, sorting will be state oriented.
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
Frees some memory by stripping some data that isn't needed anymore unless you want to modify the object afterwards by using a PolygonManager.
sub(SimpleVector) - Method in class com.threed.jpct.SimpleVector
Subtracts another SimpleVector from this SimpleVector without creating a new instance.

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