Class CoordinateSystemDemo

java.lang.Object
eu.svjatoslav.aukio.e3d.examples.essentials.CoordinateSystemDemo

public class CoordinateSystemDemo extends Object
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:
  • SolidPolygonArrow
  • ForwardOrientedTextBlock
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    static void
    main(String[] args)
    Entry point for the coordinate system demo.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 both main(String[]) and the golden-image harness — must stay deterministic (no time, no unseeded randomness).
      Parameters:
      shapes - scene to add shapes to
      lighting - lighting to configure (unused here)
      camera - camera to position
    • main

      public static void main(String[] args)
      Entry point for the coordinate system demo.
      Parameters:
      args - command line arguments (ignored)