Displaying 2D before 3D

Blitz3D Forums/Blitz3D Programming/Displaying 2D before 3D

yerrel(Posted 2006) [#1]
Hoi,

Is there a command or a way in Blitz3D for displaying 2D-shapes i.e images, text etc. before 3D-Objects?

for example i want to draw a starfield than draw the 3D-Objects ( ships etc. ). So that the 3D-Objects are above the 2D-shapes ( in fornt of the starfield )?

I've tried but no luck so far.


GfK(Posted 2006) [#2]
CameraClsMode Cam,False,True

While Not Keydown(1)
  Cls
  
  ;Do 2D stuff

  ;Do 3D stuff

  Renderworld()
  Flip
Wend



yerrel(Posted 2006) [#3]
Tnx GfK :-))

It has been a long time ago since i've touched my Blitz3D....


John Pickford(Posted 2006) [#4]
And make sure your 3D camera isn't clearing the screen.


Damien Sturdy(Posted 2006) [#5]

And make sure your 3D camera isn't clearing the screen.



I was going to say that, but check the first line of GfK's code :)


Subirenihil(Posted 2006) [#6]
Computers are like air conditioners, they stop working if you open Windows.

I like your signature (tu) Cygnus. :)