2D doesn't work with my 3D
Blitz3D Forums/Blitz3D Beginners Area/2D doesn't work with my 3D
| ||
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? |
| ||
Wha'ts going on? Don't know without seeing some code. |
| ||
. |
| ||
Grantyt3 - Have you looked at the samples that come with Blitz3d? |
| ||
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. |
| ||
do all the 2d commands after renerworld and before flip. |
| ||
Oh, that's the problem. I didn't know that |