Class LitSolidCubesTest

java.lang.Object
eu.svjatoslav.sixth.e3d.examples.benchmark.LitSolidCubesTest
All Implemented Interfaces:
BenchmarkTest

public class LitSolidCubesTest extends Object implements BenchmarkTest
Benchmark test for solid opaque cubes with dynamic lighting. Renders a grid of fully opaque cubes lit by three orbiting light sources to test shaded polygon rasterization performance.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the display name for this benchmark test.
    void
    setup(eu.svjatoslav.sixth.e3d.renderer.raster.ShapeCollection shapes)
    Sets up the test scene by adding shapes to the collection.
    void
    setViewPanel(eu.svjatoslav.sixth.e3d.gui.ViewPanel viewPanel)
    Sets the view panel for animation callbacks.
    void
    teardown(eu.svjatoslav.sixth.e3d.renderer.raster.ShapeCollection shapes)
    Tears down the test scene by removing all shapes added during setup.

    Methods inherited from class java.lang.Object

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

    • LitSolidCubesTest

      public LitSolidCubesTest()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: BenchmarkTest
      Returns the display name for this benchmark test.
      Specified by:
      getName in interface BenchmarkTest
      Returns:
      the test name
    • setup

      public void setup(eu.svjatoslav.sixth.e3d.renderer.raster.ShapeCollection shapes)
      Description copied from interface: BenchmarkTest
      Sets up the test scene by adding shapes to the collection.
      Specified by:
      setup in interface BenchmarkTest
      Parameters:
      shapes - the shape collection to populate
    • teardown

      public void teardown(eu.svjatoslav.sixth.e3d.renderer.raster.ShapeCollection shapes)
      Description copied from interface: BenchmarkTest
      Tears down the test scene by removing all shapes added during setup.
      Specified by:
      teardown in interface BenchmarkTest
      Parameters:
      shapes - the shape collection to clean up
    • setViewPanel

      public void setViewPanel(eu.svjatoslav.sixth.e3d.gui.ViewPanel viewPanel)
      Sets the view panel for animation callbacks.
      Specified by:
      setViewPanel in interface BenchmarkTest
      Parameters:
      viewPanel - the view panel