Display a geometry
From JReality Wiki
Redirect page
Redirect to:
It's easy to display geometries with JRViewer.
Contents
Display a geometry in JRViewer
Source file: Icosahedron
Calling JRViewer.display(SceneGraphNode n) opens the jReality viewer and displays the Geometry or a SceneGraphComponent passed in as argument.
Some simple geometries are implemented in class de.jreality.geometry.Primitives, find an example below.
... JRViewer.display(Primitives.icosahedron());
Screenshot
|