Every autumn, i start a new project.My [Sept 2007/June 2008] project was an OpenGL 3D engine with XBlite.I can't implement more features because i reached the limits of my hardware (Athlon XP2400+ & ATI Radeon 9800), so i stopped the project.I learned a lot with this project and i feel sad to keep it somewhere on my HD so if someone is interested, i could clean up a bit the code and share the source code.It is 95% XBLite and some critical functions (MMX blocks, stencil shadows) has been written for NASM.
Model manager that allows to add models format easily (actually only MD3 is implemented)
Simple shadow mapping (2D & Cube) for statics
Stencil shadows for dynamics (connectivity fast algorithm)
Dynamic generation for shadows with caching system (only update shadowmaps/stencil geometry when needed)
BSP portal system partially implemented
Experimental features :
Bloom
Soft shadows
Glass/Water shaders
It is fully fonctionnal but some things need to be improved like shadows mapping (need to have a GFX card with float textures to do things like VSM, portal system need to be linked to objects) and some missing (MD3 animation, patches/curves stencil shadows). For a more solid usage, a file system and a memory manager could be added , the entrypoints are already defined.
I am going to build a demo with map and models.I'll try to make something light as possible to upload on Google Groups.I'll post here when it will be finished.
Greg, i am used to use NASM for its simplicity but that would be nice if you could convert asm code to GoAsm so users may be able to compile the whole code with tools packed with XBlite.I attached source asm.
This post contains attachments; to download them you must login.
What is your license? Is it a form of "open source" or public domain? Can I use portions of it in my own work or xblite?
I oftenly write code for myself and rarely release so i am pretty ignorant about licenses. After taking a look to various licenses, i decided to release the sources under GNU GPL/LGPL license.That would be a pleasure to know someone found usage for my code
Hi rhett, i am still working to integrate asm code directly in XBlite code and suppress DLL that was need before.The other problem is to reduce the size of the package because i used severals set of textures to test it and i must check to keep only needed materials.
If you have a better card like me (it is not very difficult, an old x800 does the trick), there is a lot of fun things to add to it (VSM shadows,FBO,deferred shading,etc...)
I've been using an engine called Horde3D for some time now (which supports most of your proposed features already), but I'd be totally willing to drop it for one written in Xblite. I have a radeon hd 4870, and a radeon hd 3870x2 so adding modern features won't be a problem. Please post it, because I am very interested
Done ! Don't have a host so uploaded it on rapidshare.It has a little demo map, controls are arrow keys, mouse to look around and space for the flash light.