Search found 2 matches

by Dan
Thu Dec 01, 2005 12:55 pm
Forum: Beginners Help
Topic: Drawing objects seperately of the scene manager
Replies: 2
Views: 212

Drawing objects seperately of the scene manager

Hi Ive been working on a simple fps using the Irrlicht engine while I learn how to use it. Ive read some similar threads about adding a weapon to an fps. Ive set up my player weapon model so that z testing is disabled using: node ->setMaterialFlag(video::EMF_ZBUFFER, false); However the weapon is al...
by Dan
Thu Dec 01, 2005 12:43 pm
Forum: Beginners Help
Topic: Adding a weapon to FPS
Replies: 17
Views: 1362

Z Testing

You can turn off z testing by:

yourWeaponNode -> setMeterialFlag(video::EMF_ZBUFFER, false);

however you still have the problem of setting the correct drawing order.

You want the weapon to be drawn last.

Hope that helps

edit: Im new to irrlicht so could someone please correct me if im wrong