Hello,
I’ve a real big Problem with Java3d. I try to program a Java3d multiplayer Space Shooter. The objects like the landscape and the space ship models are loaded with a loader (ObjectFile). My 3d Modeling Program exports Wavefront .obj files only without lights and materials and so on. So I don’t know how to add an Appearance object to a loaded .obj file and its geometry. I can’t set the Appearance object to the BranchGroup object I get from the Scene object. How can I change the material and/or set something like CULL_NONE.
Hi, I think you have to search the children of the branchGroup (and maybe other levels below) for the Shape3D and than work on that. You need to know, or guess, the structure of the graph below the root bg.
You can do this by hand or with com.sun.j3d.demos.utils.scenegraph.traverser.ProcessNodeInterface (I do not remember where this class came from, maybe java3d fly through, sorry).
Bye
Lorenzo
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
