help drawing 2d in 3d

Blitz3D Forums/Blitz3D Programming/help drawing 2d in 3d

RRK1020(Posted 2005) [#1]
can you draw 3D stuff while making an 2D image appear on screen (in front of the 3D) when I did it, it didn' t work.


Gabriel(Posted 2005) [#2]
Yes. Do your 2d drawing after RenderWorld and before Flip.


RRK1020(Posted 2005) [#3]
ohhh ok. Thx


D4NM4N(Posted 2005) [#4]
you could try my little sprite library, its quite simple to use, it basically create a virtual 640,480 hud in front of the camera (this is virtual, so it is indeendant of video mode) and it doesnt use any 2d stuff to slow down the 3d
www.d-grafix.com/sourcecode.html


Shifty Geezer(Posted 2005) [#5]
Mixing 2D drawing with 3D rendering cripples old GPU's. It's not recommended. What you can do instead is create a pixel perfect sprite (or Pixie as their called in the Code Archives) and draw onto that with Setbuffer(Texturebuffer()).


gosse(Posted 2005) [#6]
*cough*cough*