Package com.ardor3d.example.basic
Class JoglBasicExample
java.lang.Object
com.ardor3d.example.basic.JoglBasicExample
- All Implemented Interfaces:
Scene
This jogl-based example is meant to show how to use Ardor3D at the most primitive level, forsaking the use of ExampleBase and much of our framework classes and interfaces.
Also of note, this example does not allow choosing of properties on launch. It also does not handle input or show any special debugging. This is to simplify the example to the basic essentials.
-
Constructor Summary
ConstructorDescriptionConstructs the example class, also creating the native window and GL surface. -
Method Summary
Modifier and TypeMethodDescriptionA scene should be able to handle a pick execution as it is the only thing that has a complete picture of the scenegraph(s).static void
boolean
renderUnto
(Renderer renderer)
-
Constructor Details
-
JoglBasicExample
public JoglBasicExample()Constructs the example class, also creating the native window and GL surface.
-
-
Method Details
-
main
-
renderUnto
- Specified by:
renderUnto
in interfaceScene
- Parameters:
renderer
- the renderer- Returns:
true
if a render occurred and we should swap the buffers.
-
doPick
Description copied from interface:Scene
A scene should be able to handle a pick execution as it is the only thing that has a complete picture of the scenegraph(s).
-