All Questions
Tagged with scene-graph architecture
11 questions
1
vote
1
answer
339
views
Can I have a scene graph translation node with multiple parent nodes?
I am trying to write a C++ scene graph structure. While designing the node classes I am facing the below issue.
I have a scene graph to represent a house.
I would like to have another house next to ...
0
votes
1
answer
694
views
Scene components and renderer
I'm currently writing a very small game engine for learning purposes, and hit a block when trying to separate the engine's logic from the "rendering" module.
My current approach is to feed my ...
3
votes
0
answers
429
views
World scene graph questions [closed]
I am going through the process of rethinking my current game engine's design. And I'd like to ask about some information from other's experiences about scene graph. Before we begin, this graph is in ...
10
votes
1
answer
852
views
How to cache resources in my homebrew rendering system
Background:
I am designing a simple 3D render system for an entity component system type architecture using C++ and OpenGL. The system consists of a renderer and a scene graph. When I finish the ...
4
votes
1
answer
613
views
Utility of submesh class in a 3d game engine?
I've read somewhere that we use sub mesh for being able to give different materials to one mesh. But why not simply do this with scenegraph ?
I mean you have a car mesh, and instead of using ...
2
votes
1
answer
618
views
2D scene graph not transforming relative to parent
I am currently in the process of coding my own 2D Scene graph, which is basically a port of flash's render engine.
The problem I have right now is my rendering doesn't seem to be working properly. ...
11
votes
1
answer
4k
views
To scene graph or not to scene graph?
I've been struggling with a decision regarding whether or not to implement a scene graph in my game. I have some use cases that call for such a tool, but I haven't been able to get through some of the ...
11
votes
2
answers
8k
views
What should be contained in a game scene graph?
Would you help me to clarify, please, what what exactly should be contained within a game scene graph? See the following list, please:
Game Actors? (obviously yes, all the objects changing state ...
8
votes
3
answers
3k
views
Scene Graph as Object Container?
Scene graph contains game nodes representing game objects. At a first glance, it might seem practical to use Scene Graph as physical container for in game objects, instead of std::vector<> for ...
4
votes
2
answers
2k
views
How can I traverse a scene graph and hit only nodes in the view frustum?
Scene Graph seems to be the most effective way of representing the game world.
The game world usually tends to be as large as the memory and device can handle. In contrast, the screen of the device ...
4
votes
2
answers
2k
views
Simple scene graph in 2D, without matrices?
First of all, I think I roughly know how a scene graph works. Please correct me if I'm wrong.
It is a tree based structure, with each branch/leaf being a node. It means you can better organise ...