3D rendering of a dynamic environment - UPDATED [23/02/2009]
Posted: Sun Nov 30, 2008 8:39 am
This is my own project I had made for my graduating thesis:
"3D rendering of a dynamic environment in gaming scope"
here a link to download the demo:
http://www.mediafire.com/?byqxzdqmilw
What do you need to run the demo:
* Latest Directx Runtime:
http://www.microsoft.com/downloads/deta ... 6652cd92a3
* Latest OpenAL:
http://connect.creativelabs.com/openal/ ... alinst.zip
* Latest Physx System Software:
http://us.download.nvidia.com/Windows/8 ... ftware.exe
Here some features:
* Day/night cycle (using caelum)
* Realistic water reflection, refraction (using hydrax)
* Optimized rendering of static paged geometry (using paged geometry)
* Free camera with variable speed to explore the ambient
* Possibility to take screenshots with sys stamp key
* Terrain rendering with tsm from heightmap with physx collision detection support
* Terrain texturing with splatting textures technique
* Parallax mapping on road texture for good depth effect (thanks xavyiy)
* Multiple sounds playing support (using OgreOggSound)
* Multiple particle system effects (using particle universe)
* Random weather conditions simulation, with:
* Dynamic wind variables (speed, direction)
* Rain effects with different intensity, speed, direction (wind correlated)
* Thunderstorm with lightning effects
* Thunders' sounds calculated in base of the lightnings positions related to observer position, with real attenuation/distance retard to hear them.
* Water surface update in base of weather conditions (big or little waves)
* No presets defined, all is random
All this is into a framework that provide:
Sounds management
Particle Systems management
Physx management
Paged Geometry management
Input management
with possibility to extend it for development of a complete game.
Here some screenshots:
this is my first Ogre3D experience, and I hope that's not the last ^^
so, don't be too hard with me ^^
know bugs:
with opengl there's a displacement error with paged geometry density map:
http://www.ogre3d.org/phpBB2addons/view ... 1e1d70acd5
p.s.: I had to fix all license related code (scripting, material, etc), but this isn't a commercial project so I hope there aren't problems for this.
LAST UPDATE 23/02/2009
SOURCE CODE RELEASED
After receiving many requests I have decided to release the source code of my project under LGPL.
The only thing I ask is to report (in this thread) the various projects that integrate all or part of my job.
Any change of interest for the development of the project or bug fix, should always be reported on this thread so I can integrate them into the project as a subsequent release.
The project as it has been issued is not a library, but one with the framework in which it was developed. So it need some work to be used in other projects.
If someone wants to make it modular to be used as a library is authorized to do so, as long as signals in this thread of the detailed design work to be done to make the community involved.
I hope that my work could be of help to many projects.
If you like my work you can donate by click here
UPDATE 9/12/2008
I fixed some bugs and some features.
Here the list:
- Fixed a bug with thunder's sound
- Rain direction related to wind, now works correctly
- New more realistic sun reflects on water (specially when cloudy)
- Better lightning position in way to see them
- Fixed some minour bugs
"3D rendering of a dynamic environment in gaming scope"
here a link to download the demo:
http://www.mediafire.com/?byqxzdqmilw
What do you need to run the demo:
* Latest Directx Runtime:
http://www.microsoft.com/downloads/deta ... 6652cd92a3
* Latest OpenAL:
http://connect.creativelabs.com/openal/ ... alinst.zip
* Latest Physx System Software:
http://us.download.nvidia.com/Windows/8 ... ftware.exe
Here some features:
* Day/night cycle (using caelum)
* Realistic water reflection, refraction (using hydrax)
* Optimized rendering of static paged geometry (using paged geometry)
* Free camera with variable speed to explore the ambient
* Possibility to take screenshots with sys stamp key
* Terrain rendering with tsm from heightmap with physx collision detection support
* Terrain texturing with splatting textures technique
* Parallax mapping on road texture for good depth effect (thanks xavyiy)
* Multiple sounds playing support (using OgreOggSound)
* Multiple particle system effects (using particle universe)
* Random weather conditions simulation, with:
* Dynamic wind variables (speed, direction)
* Rain effects with different intensity, speed, direction (wind correlated)
* Thunderstorm with lightning effects
* Thunders' sounds calculated in base of the lightnings positions related to observer position, with real attenuation/distance retard to hear them.
* Water surface update in base of weather conditions (big or little waves)
* No presets defined, all is random
All this is into a framework that provide:
Sounds management
Particle Systems management
Physx management
Paged Geometry management
Input management
with possibility to extend it for development of a complete game.
Here some screenshots:
this is my first Ogre3D experience, and I hope that's not the last ^^
so, don't be too hard with me ^^
know bugs:
with opengl there's a displacement error with paged geometry density map:
http://www.ogre3d.org/phpBB2addons/view ... 1e1d70acd5
p.s.: I had to fix all license related code (scripting, material, etc), but this isn't a commercial project so I hope there aren't problems for this.
LAST UPDATE 23/02/2009
SOURCE CODE RELEASED
After receiving many requests I have decided to release the source code of my project under LGPL.
The only thing I ask is to report (in this thread) the various projects that integrate all or part of my job.
Any change of interest for the development of the project or bug fix, should always be reported on this thread so I can integrate them into the project as a subsequent release.
The project as it has been issued is not a library, but one with the framework in which it was developed. So it need some work to be used in other projects.
If someone wants to make it modular to be used as a library is authorized to do so, as long as signals in this thread of the detailed design work to be done to make the community involved.
I hope that my work could be of help to many projects.
If you like my work you can donate by click here
UPDATE 9/12/2008
I fixed some bugs and some features.
Here the list:
- Fixed a bug with thunder's sound
- Rain direction related to wind, now works correctly
- New more realistic sun reflects on water (specially when cloudy)
- Better lightning position in way to see them
- Fixed some minour bugs