Package com.ardor3d.example.renderer
Class GeometryInstancingExample
java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.renderer.GeometryInstancingExample
Demonstrates the use of geometry instancing and compares it to VBO.
-
Field Summary
Fields inherited from class com.ardor3d.example.ExampleBase
_canvas, _controlHandle, _doShot, _exit, _frameHandler, _lightState, _logicalLayer, _minAlphaBits, _minDepthBits, _minStencilBits, _mouseManager, _physicalLayer, _root, _screenShotExp, _settings, _showBounds, _showDepth, _showNormals, _stereo, _timer, _wireframeState, _worldUp, light, QUIT_VM_ON_EXIT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
generateSpheres
(Node modelBase, boolean useInstancing, int nrOfObjects) protected void
static void
protected void
updateExample
(ReadOnlyTimer timer) Methods inherited from class com.ardor3d.example.ExampleBase
doPick, exit, getAttributes, init, processPicks, quit, registerInputTriggers, renderDebug, renderExample, renderUnto, run, start, update, updateLogicalLayer
-
Constructor Details
-
GeometryInstancingExample
public GeometryInstancingExample()
-
-
Method Details
-
main
-
updateExample
- Overrides:
updateExample
in classExampleBase
-
initExample
protected void initExample()- Specified by:
initExample
in classExampleBase
-
generateSpheres
-