Class MinimalExample
java.lang.Object
eu.svjatoslav.aukio.e3d.examples.essentials.MinimalExample
Minimal example demonstrating how to create a basic 3D scene.
Creates a window with a single red box. This is the "Create Your First 3D Scene" example from the Aukio 3D documentation.
-
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: one red box, camera pulled back to see it.static voidEntry point for the minimal scene demo.
-
Constructor Details
-
MinimalExample
public MinimalExample()
-
-
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: one red box, camera pulled back to see it. 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 minimal scene demo.- Parameters:
args- command line arguments (ignored)
-