2D OGRE wrapper

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
atomo
User
User
Posts: 65
Joined: Thu May 22, 2008 10:32 pm

2D OGRE wrapper

Post by atomo »

Is it possible to replace the current 2D lib by a 2D OGRE wrapper ?
It could allow to have GUI, particles, physics, cameras and sound 3D for 2D games.
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: 2D OGRE wrapper

Post by Zach »

There is no "2D Ogre". Ogre is a 3D engine.

There may be addons or something out there to help facilitate using the 3D engine to render 2D stuff, but that's the best you will find.
atomo
User
User
Posts: 65
Joined: Thu May 22, 2008 10:32 pm

Re: 2D OGRE wrapper

Post by atomo »

What i mean is use the same technique for sprites 3D but with OGRE's meshs.
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Re: 2D OGRE wrapper

Post by Guimauve »

Zach wrote:There is no "2D Ogre". Ogre is a 3D engine.

There may be addons or something out there to help facilitate using the 3D engine to render 2D stuff, but that's the best you will find.
Just for the record, the OGRE 3D engine come with a 2D overlay rendering system, allowing to add 2D stuff over the 3D scene. But this feature is not available from PB for the moment. And I don't think it will be added anytime soon. Maybe for PB V5.90 or 6.00

Unfortunately, the C++ Object Oriented Programming is the most popular approach today. The biggest problem with OGRE 3D engine is the C++ OOP source code which is not the best thing when we create program with a procedural language like PureBasic. We need to create a wrapper to use it and if the wrapper is not complete or some needed features are missing, tough luck.

Nevertheless, the work has been done for the v4.60 is a great improvement over the previous version. Congratulations to the development team for their work even if it is still much to do.

Best regards.
Guimauve
Post Reply