Chapter 2

Setting up the Environment

1

a

finding the position of scene nodes

MyEntity will be at (60,60,60) and MyEntity2 will be at (0,0,0)

2

b

playing with scene nodes

(10,-10,10)

3

b

rotating a scene node

pitch, yaw, roll

4

 

creating child scene nodes

4.1)One way is to only give a name for the scene node and the other one is to give a name and a position where the scene node should be created.

4.2) Please refer the code.

5

b

even more about the scene graph

From the root to the leafs

6

 

Ogre3D and spaces

The three spaces are world, parent, and local.

Get Ogre 3D 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.