de.jreality.tutorial.tool
Class Paint3DToolExample
java.lang.Object
de.jreality.tutorial.tool.Paint3DToolExample
public class Paint3DToolExample
- extends 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
Paint3DToolExample
public Paint3DToolExample()
main
public static void main(String[] args)
throws IOException
- Throws:
IOException