Questions tagged [scenegraph]

A scene graph is a general data structure commonly used by vector-based graphics editing applications and modern computer games, which arranges the logical and often (but not necessarily) spatial representation of a graphical scene.

Scene graphs are data structures used to hierarchically organize and manage the contents of spatially oriented scene data.A scene graph is a collection of nodes in a graph or tree structure. A tree node (in the overall tree structure of the scene graph) may have many children but often only a single parent, with the effect of a parent applied to all its child nodes; an operation performed on a group automatically propagates its effect to all of its members. In many programs, associating a geometrical transformation matrix (see also transformation and matrix) at each group level and concatenating such matrices together is an efficient and natural way to process such operations. A common feature, for instance, is the ability to group related shapes/objects into a compound object that can then be moved, transformed, selected, etc. as easily as a single object.

Examples of such programs include Acrobat 3D, Adobe Illustrator, AutoCAD, CorelDRAW, OpenSceneGraph, OpenSG, VRML97, X3D, Hoops and Open Inventor.

179 questions
2
votes
0 answers

Certain transformations in Open Inventor(Coin3D)

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…
Marc
  • 385
  • 1
  • 8
  • 21
2
votes
0 answers

Sorting siblings in a hierarchy of objects

I've implemented a scene tree to be used in a 2D game. The tree nodes contain transformations and drawable objects. This is what the scene tree looks like: Root | -------------------------- | …
2
votes
2 answers

Render a SceneGraph with PyOpenGL

I'm using OpenGLContext to load a VRML file into a SceneGraph object. Unfortunately, for the life of me I can't find any example showing how to render the SceneGraph. I've created a context with testcontext.getInteractive(), but now what? How do I…
zmbq
  • 38,013
  • 14
  • 101
  • 171
2
votes
4 answers

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…
Per Arneng
  • 2,100
  • 5
  • 21
  • 32
2
votes
1 answer

object render order, scene graph?

I am rendering 3D objects using OpenGL. Each object in the 3D world has a bounding box and an associated model matrix for transforming the object from part coordinate system (PCS) to world (WCS). The bounding box is also in PCS. The centroid of each…
Ram
  • 3,045
  • 3
  • 27
  • 42
2
votes
1 answer

java3d Picking objects

I am building a java3d GUI, using which users can create custom scene graphs, without needing to know the code, i want to pick specific boxes using mouse, and i want to be able to move them around.. so for that i need picking.. There are say, 2…
2am
  • 699
  • 1
  • 7
  • 25
2
votes
0 answers

Openscenegraph - How to create an invisible boundary beyond which camera does not go

I am new to 3d programming so here goes. I am trying to simulate a room. I don't have images for the walls loaded but I want to in code simulate the boundaries. How do I accomplish this please? Below is the code that handles the movement of the…
Rac Main
  • 191
  • 1
  • 1
  • 7
1
vote
1 answer

Generating a simple scene graph for Java game

I'm working on a relatively simple game in Java using OPENGL (via Processing). I'm using a typical MVC pattern with game updates being passed to the Processing Applet using an Observer pattern. I want to implement a relatively simple scene graph…
noise
  • 71
  • 1
  • 7
1
vote
1 answer

Does Roku have a built in focus management system?

I've been researching this a lot, and have gotten some mixed answers about the way that Roku manages focus. I know Apple TV has a complex manager that determines what the next focused element should be, but in Roku, I'm having some trouble achieving…
Bart
  • 367
  • 2
  • 11
1
vote
1 answer

Making a Get request in brightscript for roku channel not working

I am building a Roku tv channel, I have displayed a keyboard so user can type, and there are two buttons to search, I have made an observer on these buttons, when the button is pressed, I want to make a get request to get results, but the API call…
1
vote
1 answer

How to get available memory info in Roku

Is there any programmatic way to get Roku memory info? I was trying to use ECP command, but there I am not getting. I am using ECP command to check memory info as…
1
vote
1 answer

Get Call Depth Inside React Component

I'm trying to make a scene graph in React that supports nesting components. Something along the lines of: When a SceneNode is mounted I…
Mattia
  • 2,251
  • 1
  • 22
  • 27
1
vote
1 answer

Meaning of glTF's Inverse(GlobalTransform) in Skin Matrix

I want to render a mesh with skeletal animation. Before animating, I want to just render the mesh with just the first keyframe of the animaton i.e. render mesh with the bone hierarchy transforms in place. I'm ignoring the scene structure in the…
legends2k
  • 31,634
  • 25
  • 118
  • 222
1
vote
0 answers

Why qmake-builded Qt Quick app uses threaded render loop, and same CMake-builded app uses basic render loop?

Created two versions of empty Qt Quick Application. First with qmake build system. Second with CMake build system. Added in each application following code for logging purposes: #include int main(int argc, char *argv[]) { …
abg
  • 43
  • 1
  • 5
1
vote
1 answer

How to perform JavaFX scene graph updates without affecting animation performance

I'm looking for advice on updating the JavaFX scene graph while an animation is running. What I have is a custom level of detail node in a 3D scene that loads and creates a MeshView in a background thread. That's fine, it works without affecting…