invisible mesh, why????

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
juliusctw
Posts: 392
Joined: Fri Apr 21, 2006 6:56 am
Contact:

invisible mesh, why????

Post by juliusctw »

when i create a SceneNode , it shows up, but when I use

smgr2 = smgr->createNewSceneManager()

and use smgr2 to create a SceneNode, it shows up but it is Transparent

I check Render and PreRender for the SceneNOde, and they ran, the mesh is definitely drawn, but they are transparent when i use a second sceneManger, please any suggestions????
Valtras
Posts: 33
Joined: Tue Aug 08, 2006 8:47 pm
Location: Wy pier da laj

Post by Valtras »

smgr2->drawAll(); ?
DarkDepths
Posts: 126
Joined: Sun Apr 02, 2006 1:21 am
Location: Canada

Post by DarkDepths »

Im kinda new to irrlicht and dont understand much, and I was just wondering what the purpose of creating a second scene manager would be... For different levels or something?
juliusctw
Posts: 392
Joined: Fri Apr 21, 2006 6:56 am
Contact:

yeah

Post by juliusctw »

yeah
smgr->drawAll() was definitely in there , i had to give up my quest to use multiple smgrs and settle with just 1.

the reason why you would use multiple smgr are for organization purpose, each smgr is really just a mother sceneNode that draws its children inside it, so i was gonna organize each level with a smgr, but i couldn't seem to get it working, so i just create empty scenenodes as mother SceneNodes inside a single smgr
Post Reply