Hydrax-SkyX tech demo 1.0

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain

Hydrax-SkyX tech demo 1.0

Post by Xavyiy » Mon Aug 24, 2009 12:12 pm

ImageImage
ImageImage
ImageImage
ImageImage

Hi all!
These last weeks I've been working on SkyX 0.1 and now that it's finished, I've done a little demo showing how to combine Hydrax and SkyX.

Demo features:
  • Hydrax-SkyX full integration
  • Full dynamic sky system
  • Sun highlights bloom post-processing effect
  • Depth texture shadows
  • Shader Model 2.0 capable
HD Video:
http://www.youtube.com/watch?v=FL02s_MGIQc - Youtube
http://modclub.rigsofrods.com/xavi/Hydr ... yXDemo.mp4 - Direct link, 83Mb

Download:
Compiled demo: http://modclub.rigsofrods.com/xavi/Hydr ... yXDemo.rar - 16Mb
Sources: http://modclub.rigsofrods.com/xavi/Hydr ... ources.rar - 13.5Mb

Hope you like it!

--------------------------------------------------------------
P.D.: SkyX 0.1 and Hydrax 0.5.1 are going to be released along this week!
0 x

User avatar
vilgeits
Goblin
Posts: 298
Joined: Tue Aug 02, 2005 10:41 pm

Re: Hydrax-SkyX tech demo 1.0

Post by vilgeits » Mon Aug 24, 2009 12:36 pm

First on reply: THANKS!
0 x

User avatar
boyamer
Orc
Posts: 459
Joined: Sat Jan 24, 2009 11:16 am
Location: Italy

Re: Hydrax-SkyX tech demo 1.0

Post by boyamer » Mon Aug 24, 2009 12:59 pm

This is incredible man!
0 x

User avatar
Xplodwild
Goblin
Posts: 231
Joined: Thu Feb 12, 2009 3:49 pm
Location: France
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by Xplodwild » Mon Aug 24, 2009 1:24 pm

Demo freezes up my computer :/ I get a black/green screen at 0.005fps. I'm running a Core 2 Quad Q6600, 4Go RAM, WinXP SP3, GeForce 7600GT. "Normal" hydrax works well, aswell as your first SkyX preview worked.

Works on my 9300M GS on my Asus N10 laptop btw.
Last edited by Xplodwild on Mon Aug 24, 2009 2:41 pm, edited 1 time in total.
0 x

Illidanz
Kobold
Posts: 34
Joined: Fri Aug 22, 2008 7:58 am

Re: Hydrax-SkyX tech demo 1.0

Post by Illidanz » Mon Aug 24, 2009 1:39 pm

Awesome!

Works fine on my pc (win xp, gtx 295)
0 x

User avatar
xadhoom
Minaton
Posts: 973
Joined: Fri Dec 28, 2007 4:35 pm
Location: Germany

Re: Hydrax-SkyX tech demo 1.0

Post by xadhoom » Mon Aug 24, 2009 2:16 pm

The binary version worked for me without problems... though I only got around 60 FPS and it seems that "Bloom" is not meant to be a HDR compositing pass, right? At least the existing geometry does not show anything like that. FSAA != 0 did not work for me (at least) in windowed mode.
The thin clouds should reflect the light colour when the sun is "beyond/below" them and where are all the volumetric clouds?

BUT: Hey it already looks really good :-) I look forward to your release!

xad
0 x

User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 1
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by Kencho » Mon Aug 24, 2009 2:50 pm

Beautiful, man! :D

PS: Great music taste as well 8)
0 x
Image

User avatar
DanielSefton
Ogre Magi
Posts: 1235
Joined: Fri Oct 26, 2007 12:36 am
Location: Mountain View, CA
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by DanielSefton » Mon Aug 24, 2009 3:24 pm

Wowee! :shock:
The thin clouds should reflect the light colour when the sun is "beyond/below" them and where are all the volumetric clouds?
Yeah, for example here's a couple of screenshots of MyRddin's plugin, and his light scattering is tasty: one, two

Also, I think the sunset colour is too yellow, it should be more orangey perhaps like this and this and back to this (from CryEngine).

But seriously, this is CryEngine quality. The way the sun fades into the water is awesome. :D
0 x

User avatar
Azgur
Goblin
Posts: 264
Joined: Thu Aug 21, 2008 4:48 pm

Re: Hydrax-SkyX tech demo 1.0

Post by Azgur » Mon Aug 24, 2009 3:51 pm

So pretty :D
0 x

User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain

Re: Hydrax-SkyX tech demo 1.0

Post by Xavyiy » Mon Aug 24, 2009 4:26 pm

At first, thanks for opinions :)

@Xplodwild
It seems to be something related with your drivers but if you say that the Hydrax and SkyX demo apps works as expected, then the problem must be something related with the bloom compositor or shadows.
So... I've uploaded two .exe's, one with no bloom and the other one with no shadows:
http://modclub.rigsofrods.com/xavi/Hydr ... hadows.exe
http://modclub.rigsofrods.com/xavi/Hydr ... oBloom.exe

Hope one of them works!

@xadhoom
As you say, the implemented 'Bloom' effect is not something like a HDR compositor, it's just for water sun highlights, a very simple an unexpensive compositor, nothing compared with a true HDR system. Anyway SkyX supports true HDR rendering, SkyX::setLightingMode(SkyX::LM_HDR or SkyX::LM_LDR), so... it's perfect for a true HDR rendering app.
About the antialiasing problem, it works as expected on my (two-years-old) 8600GT, so it must be something related with your drivers/graphic card.
About the basic clouds, I've to work on them and add some more light scattering effects like the effect you're talking about, but I will put it in the 0.2 version ToDo.
And about the volumetric clouds, I haven't enabled them in the demo, but don't worry, I'll release a demo showing how to use them in the SkyX 0.1 package :)
About FPS, I get around 50~60 in 1440x900 - fullscreen with the bloom compositor enabled and 'high quality' texture shadows, something very reasonable if you have present that I obtain about 55~65 with the simple Hydrax demo(No bloom, no shadows, no sky).
Anyway I'll work on Hydrax cpu speed enhancements in the future.

@DanielSefton
For clouds -> xadhoom reply :)

And for the sunset/general sky colours, don't worry, SkyX uses a simplified physically model that allows you to modify in real-time(without any kind of speed drop) the sky colours.
Just see SkyX::AtmosphereManager::Options::WaveLength :)
Anyway, I'll improve the Sky shader in a future. (Using a precomputed texture for speed-up things, etc).


Xavi
Last edited by Xavyiy on Mon Aug 24, 2009 4:39 pm, edited 1 time in total.
0 x

User avatar
_tommo_
Gnoll
Posts: 677
Joined: Tue Sep 19, 2006 6:09 pm
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by _tommo_ » Mon Aug 24, 2009 4:37 pm

really awesome :D

The water given a better environment could be on par with Crysis' as for visual impact... the sky looks just perfect; it is beautiful while not attracting attention, being a perfect backdrop.

The only thing that looks a bit wrong IMHO are the caustics and the depth trasparency, that are too strong in the first depth interval (0-something) to then fade to nothing too fast, like in this screenshot.
It feels like if there is a layer of completely trasparent water over a layer of opaque blue water... not very natural.
In nature (like with rocky sea bottoms) you gradually lose the ability to see reds, then blues, then violets with increasing depth, so that you should still see white rocks under ~12 m of clear water.

Anyway i don't know how many people could notice this, the impact is really superb! :D
0 x
OverMindGames Blog
IndieVault.it: Il nuovo portale italiano su Game Dev & Indie Games

User avatar
Xplodwild
Goblin
Posts: 231
Joined: Thu Feb 12, 2009 3:49 pm
Location: France
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by Xplodwild » Mon Aug 24, 2009 4:45 pm

Xavyiy wrote:@Xplodwild
It seems to be something related with your drivers but if you say that the Hydrax and SkyX demo apps works as expected, then the problem must be something related with the bloom compositor or shadows.
So... I've uploaded two .exe's, one with no bloom and the other one with no shadows:
http://modclub.rigsofrods.com/xavi/Hydr ... hadows.exe
http://modclub.rigsofrods.com/xavi/Hydr ... oBloom.exe

The NoShadows one works (NoBloom doesn't work ofcourse). So it's something related with shadows :)
Anyway, great work, looks beautiful.
0 x

User avatar
boyamer
Orc
Posts: 459
Joined: Sat Jan 24, 2009 11:16 am
Location: Italy

Re: Hydrax-SkyX tech demo 1.0

Post by boyamer » Mon Aug 24, 2009 4:47 pm

Can't wait for SkyX and Hydrax source code :)
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by jacmoe » Mon Aug 24, 2009 5:49 pm

This looks and feels totally awesome :D

What's the license for SkyX ? :)
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
DanielSefton
Ogre Magi
Posts: 1235
Joined: Fri Oct 26, 2007 12:36 am
Location: Mountain View, CA
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by DanielSefton » Mon Aug 24, 2009 6:18 pm

Xavyiy wrote:And for the sunset/general sky colours, don't worry, SkyX uses a simplified physically model that allows you to modify in real-time(without any kind of speed drop) the sky colours.
Will look forward to tweaking the params. :)
Xplodwild wrote:Demo freezes up my computer :/ I get a black/green screen at 0.005fps ... The NoShadows one works (NoBloom doesn't work ofcourse). So it's something related with shadows :)
Just to echo that - same for me. NoShadows works and the default one hangs and alternates between black and green (nVidia 6600)
0 x

User avatar
Nargil
Greenskin
Posts: 124
Joined: Thu Feb 15, 2007 8:47 pm

Re: Hydrax-SkyX tech demo 1.0

Post by Nargil » Mon Aug 24, 2009 6:28 pm

I hope you don't mind some critique:
- I don't like the stars. There are to many of them and you can see the skydome rotating.
- I'd like to see the stars reflection on hydrax.
- the shadows look a bit bad, but this isn't paradise demo, is it ?
- you can see the specular on the issle even if the sun is underwater.
0 x
Hardcore libertarian, hardcore programmer.
Dell M6300: T9300, 4GB, Quadro FX1600M, 17" 1920x1200p non-glare, OCZ Vertex 120 + external Seagate 120GB 7200.3
Use the power of 2 - literally. Non 2^n texture sizes may crash your graphic driver

User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain

Re: Hydrax-SkyX tech demo 1.0

Post by Xavyiy » Mon Aug 24, 2009 7:05 pm

@Xplodwild & DanielSefton
Try with this .exe:
http://modclub.rigsofrods.com/xavi/Hydr ... o_Test.exe

@jacmoe
LGPL :), so.. don't worry about the Hydrax-SkyX demo GPL license ;) (Anyway feel free to use some pieces of the main.cpp code in your app! Even if you use a different license..)

@Nargil
Critiques are always welcome :)
About current stars, you've reason, them are a simple seamless texture tiled in the skydome shader.
I'll work in a good stars system for future versions.
I've disabled the stars in the reflection map due to the feel is more realistic without the starfield, but if you want to see reflected in the water and you've the time, just comment this line: mSkyX->setStarfieldEnabled(false); in the main.cpp file :) (I hope release SkyX 0.1 and Hydrax 0.5.1 along this week).
About shadows, them are very very basic and even in high quality they doesn't look very well, but of course, as you say, it is not the Paradise demo ;)
About the island lighting, to be honest I haven't changed it from the basic Hydrax demo app, I've just done some little changes for shadows, but nothing more...
I hope the Paradise demo will be something 'x10 this demo' :)
0 x

Zeph
Gnoblar
Posts: 6
Joined: Tue Jun 24, 2008 12:36 pm

Re: Hydrax-SkyX tech demo 1.0

Post by Zeph » Mon Aug 24, 2009 7:37 pm

Thanks for this eye-candy Xavyiy, jaw-dropping. :)

I have a question aswell though, do you plan to support rendering atmosphere from outer space? (or even better, do your shaders and plugin already support it?)
Such a feature would make the plugin even more useful among Ogre community, I believe.

Juding your parameters (from extended info screen), I presume you used the gpugems article as a source of information aswell.
This would lead me to think the shader (by altering height value) adapts to different altitudes. (up to space)
I'm soon stepping into atmosphere rendering in my small hobby sandbox project, so learning from your code would be a nice opportunity.

Again, congratulations for getting all that working. :)
0 x

User avatar
spookyboo
Silver Sponsor
Silver Sponsor
Posts: 1139
Joined: Tue Jul 06, 2004 5:57 am
x 15
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by spookyboo » Mon Aug 24, 2009 7:47 pm

Looks great. I still have that holiday feeling. Very relaxed 8)
0 x

User avatar
KungFooMasta
OGRE Contributor
OGRE Contributor
Posts: 2087
Joined: Thu Mar 03, 2005 7:11 am
Location: WA, USA
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by KungFooMasta » Mon Aug 24, 2009 8:30 pm

Super cool! :D

I agree with the star dome, the number of stars are overkill and its easy to see the sky rotating. I imagine the moon would produce enough light for the trees to cast shadows, wouldn't it? (I didn't see any shadows at night time)

Again, the effects look really good overall!
0 x
Creator of QuickGUI!

User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4291
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 2
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by spacegaier » Mon Aug 24, 2009 8:56 pm

:shock: :shock: :shock: I have seen a lot of cool stuff done with Ogre while my time here, but this is definetly top quality!!! The scene is totally awesome and the realism really stunning.

I think sinbad should watch this video in an infinite loop, so that he can cancel his vacation ;) .
0 x
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...

User avatar
Xplodwild
Goblin
Posts: 231
Joined: Thu Feb 12, 2009 3:49 pm
Location: France
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by Xplodwild » Mon Aug 24, 2009 9:21 pm

Xavyiy wrote:@Xplodwild & DanielSefton
Try with this .exe:
http://modclub.rigsofrods.com/xavi/Hydr ... o_Test.exe

This one works well, with shadows. 35fps @ 1152x864x32, windowed
0 x

User avatar
Juan
Gnoblar
Posts: 23
Joined: Sat Aug 22, 2009 2:55 am
Location: Sevilla, Spain

Re: Hydrax-SkyX tech demo 1.0

Post by Juan » Mon Aug 24, 2009 9:26 pm

:shock: :shock: :shock: Mamma mia, looks like great
You have done merits to enjoy a Cruzcampo very cool in your fovorite bar :wink:
Xplodwild: I have an amd x2 4400+, 2 gb ram, a 8600 gt and win 7 64 bits and at maximun of all it has an average of 16 fps at 1280*1024, so maybe your 7600 gt can´t work with that demo
0 x

User avatar
Xplodwild
Goblin
Posts: 231
Joined: Thu Feb 12, 2009 3:49 pm
Location: France
Contact:

Re: Hydrax-SkyX tech demo 1.0

Post by Xplodwild » Mon Aug 24, 2009 9:59 pm

Juan wrote:Xplodwild: I have an amd x2 4400+, 2 gb ram, a 8600 gt and win 7 64 bits and at maximun of all it has an average of 16 fps at 1280*1024, so maybe your 7600 gt can´t work with that demo
Well, at 1280x1024x32, windowed, it runs at 26fps with high shadows while looking at the island and some palms. I think you're limited by your processor (or you've too much tasks in background :p ).
0 x

User avatar
Juan
Gnoblar
Posts: 23
Joined: Sat Aug 22, 2009 2:55 am
Location: Sevilla, Spain

Re: Hydrax-SkyX tech demo 1.0

Post by Juan » Mon Aug 24, 2009 10:27 pm

Xplodwild wrote:Well, at 1280x1024x32, windowed, it runs at 26fps with high shadows while looking at the island and some palms. I think you're limited by your processor (or you've too much tasks in background :p ).
So finally you can run it, good, it one of these things that you really have to see, it is great

I only had Blender running, but windows is windows :lol:
0 x

Post Reply