Class ShapeGalleryDemo
java.lang.Object
eu.svjatoslav.aukio.e3d.examples.essentials.ShapeGalleryDemo
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 -
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: floor grid, all solid and wireframe shapes with labels, orbiting light sources with markers, and the initial camera placement.static voidEntry point for the shaded shapes demo.
-
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 bothmain(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 tolighting- lighting to configurecamera- camera to position
-
main
Entry point for the shaded shapes demo.- Parameters:
args- command line arguments (ignored)
-