Class GeometryInstancingExample

java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.renderer.GeometryInstancingExample
All Implemented Interfaces:
Scene, Updater, Runnable

public class GeometryInstancingExample extends ExampleBase
Demonstrates the use of geometry instancing and compares it to VBO.
  • Constructor Details

    • GeometryInstancingExample

      public GeometryInstancingExample()
  • Method Details

    • main

      public static void main(String[] args)
    • updateExample

      protected void updateExample(ReadOnlyTimer timer)
      Overrides:
      updateExample in class ExampleBase
    • initExample

      protected void initExample()
      Specified by:
      initExample in class ExampleBase
    • generateSpheres

      protected void generateSpheres(Node modelBase, boolean useInstancing, int nrOfObjects)