Class SineHeightmap
java.lang.Object
eu.svjatoslav.aukio.e3d.examples.SineHeightmap
Demo showing a sine heightmap surface with a central wireframe sphere.
Two wobbly surfaces are positioned above and below the sphere.
-
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: central wireframe sphere between two wobbly sine surfaces, camera pulled back on -Z.static voidEntry point for the graph demo.
-
Constructor Details
-
SineHeightmap
public SineHeightmap()Creates a new GraphDemo instance.
-
-
Method Details
-
main
Entry point for the graph demo.- Parameters:
args- command line arguments (ignored)
-
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: central wireframe sphere between two wobbly sine surfaces, camera pulled back on -Z. 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
-