2d commands in 3d?
Blitz3D Forums/Blitz3D Beginners Area/2d commands in 3d?
| ||
Hi again! I have many questions recently... I want to draw 2d sprites on top of 3d rendered picture... Well, while I'm in windowed mode everything is fine, but not if I go fullscreen... I'm doing FLIP... Everthing seems to be fine, but all I see is black screen! |
| ||
Whooprsie! Forgot about frame tweening! ;-) |
| ||
Whooprsie! Forgot about frame tweening! ;-) Does that mean you've solved the problem? If not, reduce your code to the bare minimum number of lines necessary to reproduce the problem (preferably with no loading of media) and post it. When you say "sprite", do you mean Blitz3D Sprites or images drawn with 2d drawing routines? On a hunch, try increasing your bit depth to 32 - that "solved" a Z-Buffer problem I was having in fullscreen. |
| ||
... if it's 2D then make sure you draw them after renderworld/updateworld but before flip. |
| ||
Yeah, just had a problem with vsync... So I just couldn't notice the animation... Not it's fixed. Thanx guys! |