Class ShapeGalleryDemo

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

public class ShapeGalleryDemo extends Object
Gallery demo showcasing all available 3D shapes in the Aukio 3D engine.

This demo displays a 7x2 grid of shapes organized by type (columns) and rendering style (rows). The top row shows solid polygon shapes, and the bottom row shows wireframe shapes. Each column represents a different shape type.

Features:

  • Orbiting colored lights for dynamic lighting demonstration
  • Floor grid showing the layout structure
  • Text labels identifying each shape type
  • 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: floor grid, all solid and wireframe shapes with labels, orbiting light sources with markers, and the initial camera placement.
    static void
    main(String[] args)
    Entry point for the shaded shapes demo.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShapeGalleryDemo

      public ShapeGalleryDemo()
  • 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: floor grid, all solid and wireframe shapes with labels, orbiting light sources with markers, and the initial camera placement. Called by both main(String[]) and the golden-image harness — must stay deterministic (seeded randomness only, no time). Does not register the animation listener; main(String[]) does that.
      Parameters:
      shapes - scene to add shapes to
      lighting - lighting to configure
      camera - camera to position
    • main

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