Page 1 of 1
2D & 3D graphics
Posted: Sat Jan 10, 2015 7:05 am
by zxretrosoft
I have an idea. I can something with 2D and 3D graphics. But I need the combination.
I want to do a combination of 2D and 3D graphics, like eg. In a simulator.
There is still a 2D edge of the screen (there must be a 2D sprites), while the inside is a 3D space.
But I have not found a way to do it. Could somebody please help? Just generally, how to solve this in PB

Re: 2D & 3D graphics
Posted: Sat Jan 10, 2015 9:36 am
by Bananenfreak
You can do that:
Code: Select all
RenderWorld()
StartDrawing(SpriteOutput(x))
DrawText(0, 0, Str("bla"))
StopDrawing()
DisplaySprite(x, 10, 10)
FlipBuffers()
After RenderWorld() and before you call FlipBuffers, you can call spritefunctions.
But isn´t it a better way to use an planemodel? So you could handle with physics, start, landing,...
Re: 2D & 3D graphics
Posted: Sat Jan 10, 2015 10:14 am
by zxretrosoft
Thanks a lot! That's what I need, I'll try it ...
But isn´t it a better way to use an planemodel?
Maybe so, but I have no experience with it. It is somewhere an example?
Re: 2D & 3D graphics
Posted: Sun Jan 11, 2015 12:20 pm
by Bananenfreak
http://tf3dm.com/
There are multiple Websites with free models. Perhaps there are some jets you can use.
Just make a nodesystem with plane and camera and set the camera this way in Cockpit of plane.
Re: 2D & 3D graphics
Posted: Sun Jan 11, 2015 12:42 pm
by zxretrosoft
Thanks! I know these similar website
http://opengameart.org/
They will also come in handy:-)