| java.lang.Object com.sun.j3d.loaders.lw3d.ParserObject com.sun.j3d.loaders.lw3d.LwoSurface
LwoSurface | class LwoSurface extends ParserObject (Code) | | This class is responsible for retrieving the surface parameters for a
particular surface from a binary Object file and turning that data
into Java3D data. These surface parameters include
diffuse/specular/emissive properties, color, shininess, transparency,
and textures. For textures, this class instantiates a LwoTexture object
to parse that data and turn it into Java3D texture data.
|
colordiffuseColorspecularColoremissiveColor | Color3f colordiffuseColorspecularColoremissiveColor(Code) | | |
creaseAngle | float creaseAngle(Code) | | |
diffusespeculartransparencyluminosity | float diffusespeculartransparencyluminosity(Code) | | |
redgreenblue | int redgreenblue(Code) | | |
shininess | float shininess(Code) | | |
textureAxis | int textureAxis(Code) | | |
textureCentertextureSize | Vector3f textureCentertextureSize(Code) | | |
LwoSurface | LwoSurface(LWOBFileReader reader, int length, int debugVals) throws FileNotFoundException(Code) | | Constructor that parses surface data from the binary file
and creates the necessary Java3d objects
|
getColor | Color3f getColor()(Code) | | |
getCreaseAngle | float getCreaseAngle()(Code) | | |
getDiffuseColor | Color3f getDiffuseColor()(Code) | | |
getEmissiveColor | Color3f getEmissiveColor()(Code) | | |
getShininess | float getShininess()(Code) | | |
getSpecularColor | Color3f getSpecularColor()(Code) | | |
getTexture | LwoTexture getTexture()(Code) | | Returns the LwoTexture for the surface, if any is defined. Note that
lw3d allows users to define multiple textures for any surface, which
is not possible through Java3d. Therefore, we just grab the first
texture in any list of textures for a surface
|
getTransparency | float getTransparency()(Code) | | |
setJ3dColors | void setJ3dColors()(Code) | | Creates Java3d color objects from the lw3d surface data
|
|
|