scenegraph

Is there any decent OpenGL SceneGraph API/framework?

I am new to OpenGL. Wondering if there is any good Scenegraph API/framework for OpenGL. At the moment I am using glut with a custom node based solution: I am setting children and siblings for each node the calling a traverse function. I'd like a more flexible solution when it comes to managing dynamic elements in the scene. ...

Getting absolute position and rotation from inside a scene graph?

So I have run up against this problem a few times: I have some object in my 3D Scene Graph which is a child of some other object. Lets call them c (Child) and p (Parent). c's position is defined relative to p. Thus c may have a position (1,0,0) but of course, due to p having some other position, say (1,2,3), it is not actually rendered...

Scene graph implementation for Papervision ?

Hi, I'm trying to use Papervision for Flash, for this project of mine, which involves a 3D model of a mechanical frame, consisting of several connected parts. Movement of one of the parts results in a corresponding change in orientation and position of other parts of the frame. My understanding is that using a scene graph to handle thi...

3D scene-graph library for Java?

I'm looking for a reliable 3D scenegraph API for Java with good documentation, an active community and a license that allows for commercial use. I ruled out com.sun.scenegraph because it's GPL (and seemingly dead), Java3D because of this post and JMonkeyEngine because of this post. Any ideas? ...

Building a new hierarchy, use an abstract class or an interface?

I'm preparing to build a 2D scene graph for my game, and i would like to know whether i should use at it's root an interface or two or a couple of abstract classes. Here's my requirements: Base node item needs to be able to store a matrix also needs to be able to store a list of child nodes as well as a single parent node Transform n...

Start with a scene graph engine or with opengl direct?

I am a professional developer working mostly with Java but on my spare time i like to play around with different languages and libraries. The thing is that i want to start learning how to develop 3D enabled applications or games. There are alot of engines out there but im afraid that by using those directly i will fail to learn the basic...

What makes a JavaFx 1.2 Scene Graph Refresh?

My first question =). I'm writing a video game with a user interface written in JavaFx. The behavior is correct, but I'm having performance problems. I'm trying to figure out how to figure out what is queuing up the refreshes which are slowing down the app. I've got a relatively complex Scene Graph that represents a hexagonal map. It s...

Attach an object to the view platform in Java3D

Hello, In my Java3D application, I have a movable viewing platform (thanks to "OrbitBehavior" and "KeyNavigatorBehavior" behaviors for example) so I can change my point of view to the scene. Now, I would like to add an object which is "static" over my view, i.e. always viewed the same way when I move my view (for example, like the gun o...

How do I use OpenGL 3.x VBOs to render a dynamic world?

Although there seem to be very few up to date references for OpenGL 3.x itself, the actual low level manipulation of OpenGL is relatively straight forward. However I am having serious trouble trying to even conceptualise how one would manipulate VBOs in order to render a dynamic world. Obviously the immediate mode ways of old are non ap...

Javadoc for JavaFX (not JavaFX api!); from source? from project scenegraph?

The API JavaFX comes with is for the JavaFX langage, which I have one reason to learn, but more reasons not to. I know Project Scenegraph (scenegraph.dev.java.net, AKA Scenario) is ambiguously the same library. I would just generate javadocs from Project Scenegraph, but it hasn't seen an update since 2007 and the mailing lists are dead. ...

Problem with method in a class when called from another class

Hi, I'm writing a simple scene graph to hold some objects so I can control the rendering and drawing of these objects in OpenGL. I have two classes, one called GameObject which defines the objects with certain parameters such as position and velocity as well as how to draw the object. It has a method called update() which is used to ca...

Certain transformations in Open Inventor(Coin3D)

Hi, I am quite new to Open Inventor(Coin3D) and have the following problem: I have a SoSelection holding a root node(also SoSeparator). And the root node holds a number of SoSeparator nodes. Each of these SoSeparator nodes holds a SoTransform node and a SoCube node. When I select one cube node I want all other cubes within a certain di...

3D Scene graph toolkits for Android

I was wondering if there is any 3D scene graph toolkit available or at least in development for Android? I could not find anything, assuming that all existing solutions for Java won't run on the Android platform. ...

SceneGraph traversal in Haskell

I want to implement a simple SceneGraph in Haskell using Data.Tree consisting of Transform and Shape nodes. In a SceneGraph the spatial transformation is accumulated while traversing and applied to the shape for rendering. type Transform = Vector2 Double data Shape = Circle Double | Square Double data SceneNode = XFormNode Transform...