Class CoordinateSystemDemo
java.lang.Object
eu.svjatoslav.aukio.e3d.examples.essentials.CoordinateSystemDemo
Demo displaying coordinate system axes using 3D arrows.
This demo illustrates the Aukio 3D coordinate system with three colored arrows originating from the origin (0,0,0), each pointing along a positive axis direction:
- Red arrow — +X axis (points RIGHT)
- Green arrow — +Y axis (points DOWN visually)
- Blue arrow — +Z axis (points AWAY from viewer)
A reference grid at Y=0 provides spatial context. Text labels identify each axis.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildScene(eu.svjatoslav.aukio.e3d.renderer.raster.ShapeCollection shapes, eu.svjatoslav.aukio.e3d.renderer.raster.lighting.LightingManager lighting, eu.svjatoslav.aukio.e3d.geometry.Camera camera) Builds the demo scene: reference grid, three labeled axis arrows, and the camera placement that views all three axes.static voidEntry point for the coordinate system demo.
-
Constructor Details
-
CoordinateSystemDemo
public CoordinateSystemDemo()
-
-
Method Details
-
buildScene
public static void buildScene(eu.svjatoslav.aukio.e3d.renderer.raster.ShapeCollection shapes, eu.svjatoslav.aukio.e3d.renderer.raster.lighting.LightingManager lighting, eu.svjatoslav.aukio.e3d.geometry.Camera camera) Builds the demo scene: reference grid, three labeled axis arrows, and the camera placement that views all three axes. Called by bothmain(String[])and the golden-image harness — must stay deterministic (no time, no unseeded randomness).- Parameters:
shapes- scene to add shapes tolighting- lighting to configure (unused here)camera- camera to position
-
main
Entry point for the coordinate system demo.- Parameters:
args- command line arguments (ignored)
-