Class MinimalExample

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

public class MinimalExample extends Object
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
    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: one red box, camera pulled back to see it.
    static void
    main(String[] args)
    Entry point for the minimal scene demo.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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 minimal scene demo.
      Parameters:
      args - command line arguments (ignored)