How do I draw a image under a 3D world?
Blitz3D Forums/Blitz3D Beginners Area/How do I draw a image under a 3D world?
| ||
The following code would draw a foreground on my 3D game: repeat updateworld renderworld drawimage image,0,0 flip forever but if I want to draw my image UNDER the 3D objects, how do I do this? The ideal would be: repeat updateworld drawimage image,0,0 renderworld flip forever but it does not work. Any hint, please? |
| ||
My B3D is a bit rusty, but i think you can... create a sprite (i think they're called sprites, the 3d billboard things under the 3d commands) with your image. Parent it to your camera. Set the entity order of the sprite so it is always rendered behind everything else. |
| ||
cam = CreateCamera() CameraClsMode cam,False,True |
| ||
Love you, Gfk! :) |