2D doesn't work with my 3D

Blitz3D Forums/Blitz3D Beginners Area/2D doesn't work with my 3D

Crazy4Code(Posted 2005) [#1]
For some reason, the 2D things that I make don't show up (including sprites, unless I did something wrong). Words don't appear either. I'm supposed to have these cross-hairs in the middle of my screen, but they only, appear for a split second if my text is changing. Wha'ts going on?


GfK(Posted 2005) [#2]
Wha'ts going on?
Don't know without seeing some code.


RiverRatt(Posted 2005) [#3]
.


Matty(Posted 2005) [#4]
Grantyt3 - Have you looked at the samples that come with Blitz3d?


Mustang(Posted 2005) [#5]
I'm guessing that you have screwed your screen update order somehow so that you draw 2D first and then 3D which overdraws the 2D. Be caferul how and in which order you use "update world" and "flip" and other commands like text and copyrect stuff. It is perfectly possible to use 2D on top of 3D - in fact, I use 2D-3D-2D sandwich on my own GUI.


Snarkbait(Posted 2005) [#6]
do all the 2d commands after renerworld and before flip.


Crazy4Code(Posted 2005) [#7]
Oh, that's the problem. I didn't know that