Page 1 of 1

Using billboard nodes in Quake 3 Levels

Posted: Sun Jul 09, 2006 8:44 pm
by Mequa
When I use billboard scene nodes with Quake 3 levels (as with one of the Irrlicht demos), the billboards show through the Quake 3 level walls.
This is fine for the demo (when the light ball thing is used to illuminate what is in front of the camera), but I want to be able to create fake 3D objects and place them in a Quake 3 map.
(Yes, I know this is a very dated technique for games in 2006! But I especially need it for my project.)

Apart from creating my own version of the billboard scene node (i.e. a very simple mapped mesh node which always faces the camera), is there any way around this?

Posted: Sun Jul 09, 2006 9:40 pm
by Acki
This is standart for Billboard nodes !!!
You can change this behavior like this:

Code: Select all

bbnode->setMaterialFlag(video::EMF_ZBUFFER, true);

Posted: Sun Jul 09, 2006 10:00 pm
by Mequa
Thanks, that solved it :)

Posted: Sun Jul 09, 2006 10:45 pm
by Acki
Would I lie to you !?!?! :lol: