I was just testing Java3D immediate mode.
It seems that in immediate mode you can only render shapes and geometry (?!)
I couldn't find any way to traverse and render a whole j3d scene graph.
Someone, please tell me this isn't true....
You can do this:
while(true) {
gc.clear();
gc.draw( cube ); // cube is a geometry or shape node
canvas.renderField(Canvas3DStats.FIELD_ALL);
canvas.swap();
}
But I really want to do something like this:
while(true) {
gc.clear();
gc.draw( bgRoot ); // where bgRoot is a BranchGroup
canvas.renderField(Canvas3DStats.FIELD_ALL);
canvas.swap();
}
thanks
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/