de.jreality.tutorial.tform
Class TransformationHierarchy
java.lang.Object
de.jreality.tutorial.tform.TransformationHierarchy
public class TransformationHierarchy
- extends Object
This tutorial demonstrates how the same geometry can be reused in different SceneGraphComponent
instances,
each time being rendered according to the Transformation
and Appearance
contained
in that instance. In this case the scene graph is constructed hierarchically, with a branching number of 2.
We use direct calls to Appearance.setAttribute(String, Object)
instead of using shader interfaces.
- Author:
- gunn
TransformationHierarchy
public TransformationHierarchy()
main
public static void main(String[] args)
throws IOException
- Throws:
IOException