Class AtlasExample
java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.renderer.utils.atlas.AtlasExample
Example showing how to use the TexturePacker to create a texture atlas. Also shows the benefits of using it together
with the MeshCombiner.
-
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 TypeMethodDescriptionvoid
debugDumpAtlases
(TexturePacker packer) 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
-
AtlasExample
public AtlasExample()
-
-
Method Details
-
main
-
updateExample
- Overrides:
updateExample
in classExampleBase
-
initExample
protected void initExample()- Specified by:
initExample
in classExampleBase
-
debugDumpAtlases
-