Package gov.nih.mipav.view.renderer.J3D
Class SoftwareMaterial
- java.lang.Object
-
- gov.nih.mipav.view.renderer.J3D.SoftwareMaterial
-
public class SoftwareMaterial extends java.lang.ObjectThis class maintains the following material properties:- emissive color (unaffected by lights) - ambient color (affected only by ambient lights) - diffuse color (for diffuse lighting; can be replaced by vertex color) - specular color (for specular lighting; can be replaced by vertex color) - specular shininess (set to zero to disable specular effects)
-
-
Field Summary
Fields Modifier and Type Field Description javax.vecmath.Color3fambientDOCUMENT ME!javax.vecmath.Color3fdiffuseDOCUMENT ME!javax.vecmath.Color3femissiveDefaults colors set according to defaults for Java3D Material.floatshininessDisable specular lighting effects.javax.vecmath.Color3fspecularDOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description SoftwareMaterial()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasSpecular()Query whether the material has specular properties.
-
-
-
Field Detail
-
ambient
public javax.vecmath.Color3f ambient
DOCUMENT ME!
-
diffuse
public javax.vecmath.Color3f diffuse
DOCUMENT ME!
-
emissive
public javax.vecmath.Color3f emissive
Defaults colors set according to defaults for Java3D Material.
-
shininess
public float shininess
Disable specular lighting effects.
-
specular
public javax.vecmath.Color3f specular
DOCUMENT ME!
-
-