3D drawing 'in front'

Blitz3D Forums/Blitz3D Beginners Area/3D drawing 'in front'

Shifty Geezer(Posted 2004) [#1]
How can I draw an object (3D mouse pointer) in front of everything else in a scene? My pointer's a 3D object placed in the 3D world but it disappears into the floor. By using EntityOrder() with a negative value I get the right drawing but the model isn't constructed properly as Z-buffering is disabled this way. Is there any other "draw this object last" trick that can be used?


Rob Farley(Posted 2004) [#2]
You could hide the pointer, render your scene. Then show it, hide everything else, set camera cls mode off and render again.


BlitzSupport(Posted 2004) [#3]
Blimey, good thinking Rob!


Rob Farley(Posted 2004) [#4]
I don't know if you're being sarcastic James! So I'll take it as a compliment! :)