Nature demo
-
- Halfling
- Posts: 82
- Joined: Tue Jan 03, 2006 4:05 pm
- Location: Växjö, Sweden
- Contact:
Nature demo
Hi, I had some time over a couple of weeks ago and decided to make a small demo combining some greate Ogre addons, and today i finally finished it.
Addons used:
PagedGeometry
Caelum
Hydrax
Editable Terrain Manager - Not used directly but in an editor using my .net wrapper
I made the terrain by making the base height map in photoshop, put it into World Machine and gave it a final touch in a editor i made a couple of months ago.
However there are some issues right now - the sun do not get a correct reflection and sometimes there are ghost reflections from the trees. But i believe that the end result is more than ok =) Oh - and there are som perfomance issues Got about 30 fps on my Q6600 and 8800GTS.
A video
Executable + source code
Addons used:
PagedGeometry
Caelum
Hydrax
Editable Terrain Manager - Not used directly but in an editor using my .net wrapper
I made the terrain by making the base height map in photoshop, put it into World Machine and gave it a final touch in a editor i made a couple of months ago.
However there are some issues right now - the sun do not get a correct reflection and sometimes there are ghost reflections from the trees. But i believe that the end result is more than ok =) Oh - and there are som perfomance issues Got about 30 fps on my Q6600 and 8800GTS.
A video
Executable + source code
Last edited by lilljohan on Sat Aug 16, 2008 2:52 pm, edited 1 time in total.
-
- Orc
- Posts: 468
- Joined: Sat Jan 27, 2007 12:06 pm
- Contact:
the video is private:
http://www.vimeo.com/232857
http://www.vimeo.com/232857
-
- Halfling
- Posts: 82
- Joined: Tue Jan 03, 2006 4:05 pm
- Location: Växjö, Sweden
- Contact:
Should be fixed now =)cdkeito wrote:the video is private:
http://www.vimeo.com/232857
- KungFooMasta
- OGRE Contributor
- Posts: 2087
- Joined: Thu Mar 03, 2005 7:11 am
- Location: WA, USA
- x 16
- Contact:
lilljohan, this is very inspirational! Thanks for sharing the video and the source!
Creator of QuickGUI!
- Kencho
- OGRE Retired Moderator
- Posts: 4011
- Joined: Fri Sep 19, 2003 6:28 pm
- Location: Burgos, Spain
- x 2
- Contact:
- buckED
- Greenskin
- Posts: 133
- Joined: Fri Feb 15, 2008 9:51 pm
I somehow can't run it.
When I try the executable it states that the appliction cinfiguration is not correct (just translating from german here, so it must not be 100% accurate)
I also tried to open the solution, but when attempting to do so I get a message about an XML parser error.
This is what it says :
"'9,00' violates enumeration constraint of '7.00 7,00 7.10 7,10 8.00 8,00'.
The attribute 'Version' with value '9,00' failed to parse."
I don't know, but it might be very simple actually, only that this error tells me just about nothing. Which is a shame, because I'd really love to try it out myself.
When I try the executable it states that the appliction cinfiguration is not correct (just translating from german here, so it must not be 100% accurate)
I also tried to open the solution, but when attempting to do so I get a message about an XML parser error.
This is what it says :
"'9,00' violates enumeration constraint of '7.00 7,00 7.10 7,10 8.00 8,00'.
The attribute 'Version' with value '9,00' failed to parse."
I don't know, but it might be very simple actually, only that this error tells me just about nothing. Which is a shame, because I'd really love to try it out myself.
Many of life's failures are people who did not realize how close they were to success when they gave up.
~ Thomas Edison ~
~ Thomas Edison ~
-
- Halfling
- Posts: 82
- Joined: Tue Jan 03, 2006 4:05 pm
- Location: Växjö, Sweden
- Contact:
You need the VC++08 runtime: http://www.microsoft.com/downloads/deta ... laylang=enbuckED wrote:I somehow can't run it.
When I try the executable it states that the appliction cinfiguration is not correct (just translating from german here, so it must not be 100% accurate)
I also tried to open the solution, but when attempting to do so I get a message about an XML parser error.
This is what it says :
"'9,00' violates enumeration constraint of '7.00 7,00 7.10 7,10 8.00 8,00'.
The attribute 'Version' with value '9,00' failed to parse."
I don't know, but it might be very simple actually, only that this error tells me just about nothing. Which is a shame, because I'd really love to try it out myself.
It's a Visual Studio 2008 solution so you need that to open it.
Last edited by lilljohan on Thu Jul 24, 2008 9:25 pm, edited 2 times in total.
- Xavyiy
- OGRE Expert User
- Posts: 847
- Joined: Tue Apr 12, 2005 2:35 pm
- Location: Albacete - Spain
- x 87
- buckED
- Greenskin
- Posts: 133
- Joined: Fri Feb 15, 2008 9:51 pm
Ok that first problem is solved, thanks for the input. however now it states, that d3dx9_36.dll could not be found. what am I missing here?
[edit] oh and the parser thing is still an issue. any idea what it might be? [/edit]
[edit] oh and the parser thing is still an issue. any idea what it might be? [/edit]
Many of life's failures are people who did not realize how close they were to success when they gave up.
~ Thomas Edison ~
~ Thomas Edison ~
-
- Halfling
- Posts: 82
- Joined: Tue Jan 03, 2006 4:05 pm
- Location: Växjö, Sweden
- Contact:
You're missing d3dx9_36.dll Get the latest DirectX or just download the file: http://www.dll-files.com/dllindex/dll-f ... l?d3dx9_36buckED wrote:Ok that first problem is solved, thanks for the input. however now it states, that d3dx9_36.dll could not be found. what am I missing here?
-
- Goblin
- Posts: 235
- Joined: Wed Feb 05, 2003 5:49 am
- Contact:
Woot I hope those METM patches I submitted helped you get your editor running, I know it did mine
I am curious though, did you ever try and use ETM to actually render the terrain at runtime, versus edit time? I tried, but it always cause the Callum skybox to be skewed and way above the terrain. I think it had something to do with the way ETM uses extents, but I could never fix it. I know it doesn't happen with PLSM or the stock terrain manager.
I am curious though, did you ever try and use ETM to actually render the terrain at runtime, versus edit time? I tried, but it always cause the Callum skybox to be skewed and way above the terrain. I think it had something to do with the way ETM uses extents, but I could never fix it. I know it doesn't happen with PLSM or the stock terrain manager.
-
- Halfling
- Posts: 82
- Joined: Tue Jan 03, 2006 4:05 pm
- Location: Växjö, Sweden
- Contact:
No i have never tried that, but i have started to work on my game / editor again and hopefully i will get Caelum working in it. Just have to wrap it first =)Kerion wrote:Woot I hope those METM patches I submitted helped you get your editor running, I know it did mine
I am curious though, did you ever try and use ETM to actually render the terrain at runtime, versus edit time? I tried, but it always cause the Callum skybox to be skewed and way above the terrain. I think it had something to do with the way ETM uses extents, but I could never fix it. I know it doesn't happen with PLSM or the stock terrain manager.
- PolyVox
- OGRE Contributor
- Posts: 1316
- Joined: Tue Nov 21, 2006 11:28 am
- Location: Groningen, The Netherlands
- x 18
- Contact:
-
- Halfling
- Posts: 82
- Joined: Tue Jan 03, 2006 4:05 pm
- Location: Växjö, Sweden
- Contact:
I could not get my debug overlay working. But i got a snapshot on the textures from Pix instead.Xavyiy wrote:Hey! Very nice
I don't the because of trees reflections issue, possible something related with Paged geometry/static geometry? Don't think so..., it will be useful a little debug overlay with "HydraxReflectionMap"/"HydraxRefractionMap" textures.
Pretty nice!!
Full scene Reflection Refraction Something weird
- Nauk
- Gnoll
- Posts: 653
- Joined: Thu May 11, 2006 9:12 pm
- Location: Bavaria
- x 36
- Contact:
awesome demo, transports the power of the used libraries
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
- KungFooMasta
- OGRE Contributor
- Posts: 2087
- Joined: Thu Mar 03, 2005 7:11 am
- Location: WA, USA
- x 16
- Contact:
I linked some other people to watch the video, and somebody pointed out that the sun's reflection wasn't correct on the water. I rewatched the video, and it does seem to be off, around 23 seconds into it. Are my eyes bad? I would expect the sun's reflection to be between the camera and the sun, but its off to the right.
Creator of QuickGUI!
- Xavyiy
- OGRE Expert User
- Posts: 847
- Joined: Tue Apr 12, 2005 2:35 pm
- Location: Albacete - Spain
- x 87
Mmm... it seems that there're problems with Camera reflection and trees, it's very possible that this is not an Hydrax bug because Hydrax just uses Ogre::Camera::enableReflection(ClipPlane) to get the Reflection texture.lilljohan wrote:I could not get my debug overlay working. But i got a snapshot on the textures from Pix instead.Xavyiy wrote:Hey! Very nice
I don't the because of trees reflections issue, possible something related with Paged geometry/static geometry? Don't think so..., it will be useful a little debug overlay with "HydraxReflectionMap"/"HydraxRefractionMap" textures.
Pretty nice!!
Full scene Reflection Refraction Something weird
Only with one screenshot I can't know what the problem is, but it's possible that the clip plane doesn't work with these trees(I need a video or something like this to know if that's the problem, but it's possible that).
Xavi
Edit: Some other people have the sun reflection issue, I will looking into this to be sure that it isn't an Hydrax bug.
Edit 2: Try to set a little value of Hydrax::setPlanesError([0,10]) to be sure that it's not that.
- leonardoaraujo.santos
- Greenskin
- Posts: 141
- Joined: Fri Apr 27, 2007 6:00 pm
- Location: Brazil
-
- Halfling
- Posts: 82
- Joined: Tue Jan 03, 2006 4:05 pm
- Location: Växjö, Sweden
- Contact:
Yeah, i'm already aware of that issue =/KungFooMasta wrote:I linked some other people to watch the video, and somebody pointed out that the sun's reflection wasn't correct on the water. I rewatched the video, and it does seem to be off, around 23 seconds into it. Are my eyes bad? I would expect the sun's reflection to be between the camera and the sun, but its off to the right.
I will try that.Xavyiy wrote:Edit 2: Try to set a little value of Hydrax::setPlanesError([0,10]) to be sure that it's not that.
From https://caelum.svn.sourceforge.net/svnroot/caelum_Anonymous wrote:Where did you get Caelum ?
Edit Xavyiy: It works =) This is what happens when i am stupid and modify every parameter but setPlanesError
Last edited by lilljohan on Fri Jul 25, 2008 9:52 am, edited 1 time in total.
- buckED
- Greenskin
- Posts: 133
- Joined: Fri Feb 15, 2008 9:51 pm
I absolutely like this idea. Code is one thing and it's already great enough you shared it. But on the wiki it wouldn't get lost that fast under numerous posts. Plus the wiki gives you a lot of space for additional information and explanations.Maybe it could be converted to some tutorial on Ogre wiki?
Many of life's failures are people who did not realize how close they were to success when they gave up.
~ Thomas Edison ~
~ Thomas Edison ~
-
- Halfling
- Posts: 82
- Joined: Tue Jan 03, 2006 4:05 pm
- Location: Växjö, Sweden
- Contact: