3D sprite

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
G43L
Posts: 5
Joined: Thu Feb 18, 2010 2:07 pm

3D sprite

Post by G43L »

Hi,

I'd like to know how to load a 3D mesh and create a node _without_ adding it to the scene. The 3D mesh is a sprite I'd like use many times - I know I can use render() to draw it.

Thanks for any answer,
G43L
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

You mean to not display node on scene?
If I good understand you, you can use setVisible(bool) from ISceneNode, like:
node->setVisible(false);
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Post by greenya »

Also you can create another SceneManager and use it for anything. Simply do not call its drawAll() method and it won't be drawn.

ISceneManager::createNewSceneManager()
G43L
Posts: 5
Joined: Thu Feb 18, 2010 2:07 pm

Post by G43L »

Hello,

Thank you very much for your replies! I'll try...
Post Reply