| |
|
| javax.swing.JDialog org.jdesktop.j3d.examples.dot3.TextureControlPanel
TextureControlPanel | public class TextureControlPanel extends JDialog implements ChangeListener,ActionListener(Code) | | A control panel for Dot3Demo.
It enables user change LightMap, enables/disables textures units states
and toggles geometry wireframes on/off
|
TextureControlPanel | public TextureControlPanel()(Code) | | |
getTextureImage | public BufferedImage getTextureImage()(Code) | | Wrapper method call for MyCanvas.getTextureImage()
Returns a texture image.
Avoid calling the same image several times
by cheking hasTextureImageReady() first.
latest texture image available |
hasTextureImageReady | public boolean hasTextureImageReady()(Code) | | Wrapper method call for MyCanvas. hasTextureImageReady()
true if exists a new texture image available |
setLightMask | public void setLightMask(BufferedImage mask)(Code) | | Wrapper method to MyCanvas.setLightMask(mask)
Parameters: mask - a new light mask |
|
|
|