Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
Abhishek's user avatar
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 ...
scenearchitectureguest's user avatar
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 ...
moonshineTheleocat's user avatar
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 ...
Sean's user avatar
  • 103
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 ...
user2591935's user avatar
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. ...
Dr.Denis McCracleJizz's user avatar
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 ...
notlesh's user avatar
  • 3,897
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 ...
Bunkai.Satori's user avatar
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 ...
Bunkai.Satori's user avatar
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 ...
Bunkai.Satori's user avatar
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 ...
PrettyPrincessKitty FS's user avatar