de.jreality.tutorial.tool
Class Paint3DToolExample
java.lang.Object
de.jreality.tutorial.tool.Paint3DToolExample
public class Paint3DToolExample
- extends java.lang.Object
This tutorial demonstrates how to write a tool to paint on a 3D surface. It uses the texture coordinates of the
surface to paint into a texture map associated to the surface.
It also shows how a tool can use different activation slots
to lead to different behavior. In this case, painting by dragging with the left button down paints with a brush which is a shaded blue
sphere on the surface. The same with the shift-key depressed erases what has been drawn, by drawing with a brush that is
identical to the original texture color.
- Author:
- gunn
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Paint3DToolExample
public Paint3DToolExample()
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException