Can a scene node have only one mesh attached?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
overburn
Posts: 101
Joined: Sun Nov 04, 2007 8:08 am
Location: Romania, Ploiesti

Can a scene node have only one mesh attached?

Post by overburn »

Hello,

Can a scene node have only one mesh attached to it , or is it possible to attach more?

Thanks
One Tequila, Two Tequila, Three Tequila, Floor.
_______________________________________
ASUS P5V-VM Ultra
Intel Pentium D930
1x 2GB DDR2 Kingmax 800mhz/533mhz mb
Leadtek PX9600GT W 512MB DDR3
200GB Maxtor HDD
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Post by greenya »

Scene node may have child nodes. And a scene node it self can be a IMeshSceneNode or IAnimatedMeshSceneNode.
overburn
Posts: 101
Joined: Sun Nov 04, 2007 8:08 am
Location: Romania, Ploiesti

Post by overburn »

Oh , so technically a scene node can only have one object attached , or can it have a mesh and a light for example at the same time?
One Tequila, Two Tequila, Three Tequila, Floor.
_______________________________________
ASUS P5V-VM Ultra
Intel Pentium D930
1x 2GB DDR2 Kingmax 800mhz/533mhz mb
Leadtek PX9600GT W 512MB DDR3
200GB Maxtor HDD
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Post by Lonesome Ducky »

An IMeshSceneNode contains a mesh, but it can be affected by a light that is not within that class. You can also attach other meshes to each other, but they will be separate instances of scene nodes.
Post Reply