Using 3D For 2D

Blitz3D Forums/Blitz3D Programming/Using 3D For 2D

Kenshin Yurihara(Posted 2010) [#1]
Alright so I thought I'd come to the communtiy with some questions and ideas. I was wondering about using spirtes to display "2D" Images on the screen like characters, but why use 3D for this you ask?
Well, I don't want to go through the hassle of creating a fake camera for scrolling if I don't have to and I'd like to use some of the 3D lighting effects, but I have one main concern...can Texture masking mask more then just Black? If not that ideas outta the question.

I'd also like to know of any performance or just general issues you've had using 2D stuff with 3D Cameras and what not.
(Example: Using DrawImage with Camera Lolz)

Thanks again guys.

Edit: I might be dropping this idea all together..the camera doesn't want to work with the 2D images at all. Time to create a fake camera!

Last edited 2010


Yasha(Posted 2010) [#2]
I believe the expression is "don't reinvent the wheel"...

http://www.blitzbasic.com/Community/posts.php?topic=92270

Can do everything 2D can and much more.

As for performance - some people say that there is quite a performance hit if you use both real 2D and a 3D scene. Since 2D-in-3D offers much better performance anyway, just use it for everything.


D4NM4N(Posted 2010) [#3]
yes you can, but DO NOT USE sprites.
Use proper textured quads.

Last edited 2010