Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SceneGraph / SceneNode] What is the idea of this ?  (Read 1056 times)

0 Members and 1 Guest are viewing this topic.

Arch1eN

  • Newbie
  • *
  • Posts: 5
    • View Profile
[SceneGraph / SceneNode] What is the idea of this ?
« on: September 26, 2014, 12:27:29 pm »
Hi !

I am reading SFML Game Development Book and i am really interested in SceneNodes, however i cant quite understand the concept. Thus i have few questions about this topic which. I was looking for some information on the internet, but i cant find any comprehensive article about it.

1. What is the idea of SceneNodes ?
2. Why is it called SceneNode and what "node" means in programming ?
3. What is the difference between SceneNodes and eg. StateManager ?
4. Could You describe the process of what SceneNode is doing ?

Any kind of help will be apreciated, and thanks in advance :)

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: [SceneGraph / SceneNode] What is the idea of this ?
« Reply #1 on: September 26, 2014, 04:17:15 pm »
1. What is the idea of SceneNodes ?
This is explained in the book, so can you be more specific concerning what you don't understand?

2. Why is it called SceneNode and what "node" means in programming ?
A node is an "element" in a tree data structure, or more general a graph. See Wikipedia.

3. What is the difference between SceneNodes and eg. StateManager ?
These are completely unrelated concepts, it doesn't make sense to ask that question.

4. Could You describe the process of what SceneNode is doing ?
Again, this is described in the book, so please read the chapter and tell us exactly which parts you struggle with.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything