Notifications
Clear all

Procedural clouds


NevilClavain
(@krakoukass)
Warrant Officer Registered
Joined: 7 years ago
Posts: 203
Topic starter  

Hi there

 

Here are some screengrabs about my WIP on volumetrics clouds. I recovered my previous work on the subject to reintegrate it in my new graphic engine. Thanks to some optimization tips I am now able to display 200 -300 clouds in the scene (instead of 30 - 40 with my previous old framework    ). I can remember that some guys around here are interested by the volumetric clouds rendering topic  😉  , so for some interested you can check out source code here (not really well documented for now though)

 

clouds0.jpg

 

clouds1.jpg

 

clouds2.jpg


Quote
Geraldine
(@geraldine)
Rear Admiral Registered
Joined: 7 years ago
Posts: 3451
 

For a second there I thought you were back on XFrontier!   But yes, volumetric clouds is something that's been needed in Pioneer for a while. Perhaps your work here could help them? They look great by the way Nevil


ReplyQuote
Pinback
(@pinback)
99 Star General Site Moderator
Joined: 7 years ago
Posts: 9079
 

Clouds are one my asks in any Frontier like game along with vegetation, animals and city's.


ReplyQuote
Geraldine
(@geraldine)
Rear Admiral Registered
Joined: 7 years ago
Posts: 3451
 

You forgot clock towers Pinback, that tell the proper game time!


ReplyQuote
fluffyfreak
(@fluffyfreak)
Captain Registered
Joined: 7 years ago
Posts: 1306
 

Got it compiling but can't get it to run, fails when trying to "Direct3DCreate9(D3D_SDK_VERSION)" which is very odd.

I mention this only b'cos I am super curious 😀

 

Anyway nice looking clouds so far, what are your plans for them? Or is this satisfying your personal curiosity?


ReplyQuote
NevilClavain
(@krakoukass)
Warrant Officer Registered
Joined: 7 years ago
Posts: 203
Topic starter  

 

Got it compiling but can't get it to run, fails when trying to "Direct3DCreate9(D3D_SDK_VERSION)" which is very odd.

 

According to Microsoft documentation, looks like your d3d9 runtime is not compliant with the SDK in my third parts. Maybe try to download d3dx9_24.dll and simply copy it in the compiled binary directory. Beyond this point, I think you'll miss some assets (texture and meshes) that are not available in my github. I'll add it in my public git repository asap.

 

Sorry for those inconveniences, this is the very first time that someone else is trying to compile and run this framework ! thank you for trying  😀

 

 

Anyway nice looking clouds so far, what are your plans for them? Or is this satisfying your personal curiosity?

Thanks ! This is for personal curiosity, and above all for fun. Let's see where all this will leads me...


ReplyQuote
fluffyfreak
(@fluffyfreak)
Captain Registered
Joined: 7 years ago
Posts: 1306
 

For some reason this didn't post my reply the other day!

 

I'll try copying that dll when I get the chance and give it another run.

 

Personal curiosity and learning is the best reason 😀


ReplyQuote
Geraldine
(@geraldine)
Rear Admiral Registered
Joined: 7 years ago
Posts: 3451
 

OoooooOOOOooooh this does sound promising!   Could we one day see Nevil's clouds in Pioneer? Keeping my fingers crossed!


ReplyQuote
NevilClavain
(@krakoukass)
Warrant Officer Registered
Joined: 7 years ago
Posts: 203
Topic starter  

Geraldine as far as I can see from pioneerspacesim.net/forum, there's a lot of others new features incoming in Pioneer. I'm not really sure that clouds is on top of the todo list   😀

 

I've just uploaded the bin directory with the needed assets in my github. Only shaders are missing, 'cause they are available here


ReplyQuote
Geraldine
(@geraldine)
Rear Admiral Registered
Joined: 7 years ago
Posts: 3451
 

Of course there are lots of new features waiting to come into the main build Nevil and that's great too but I just feel that clouds would add...(and I can't believe I am about to write this please forgive me )... more atmosphere to the game.....

 

791149859633571469.jpg

 

I do, I do!!!

 

Oh and one more thing, if your clouds do get added Nevil that means (to me at least) your name ought to be on the list of contributors to the game too!


ReplyQuote
NevilClavain
(@krakoukass)
Warrant Officer Registered
Joined: 7 years ago
Posts: 203
Topic starter  

 

 

Of course there are lots of new features waiting to come into the main build Nevil and that's great too but I just feel that clouds would add...(and I can't believe I am about to write this please forgive me  )... more atmosphere to the game.....

 

Beyond of that, Clouds are a good way to provide to the pilot a good "speed" sensation when he's flying at low altitude


ReplyQuote
fluffyfreak
(@fluffyfreak)
Captain Registered
Joined: 7 years ago
Posts: 1306
 

Well I got it running, nice clouds! 😀


ReplyQuote
NevilClavain
(@krakoukass)
Warrant Officer Registered
Joined: 7 years ago
Posts: 203
Topic starter  

Awesome !!       well done !

Just to know, what is the FPS rate on your side ?


ReplyQuote
fluffyfreak
(@fluffyfreak)
Captain Registered
Joined: 7 years ago
Posts: 1306
 

I was on my laptop but about 200 FPS in Debug with an nVidia 650m, I haven't tried Release yet as we've been away since I posted.


ReplyQuote
NevilClavain
(@krakoukass)
Warrant Officer Registered
Joined: 7 years ago
Posts: 203
Topic starter  

Good evening'

 

My clouds generation system is now integrated in the lua stack and in my scene viewer tool, where it's now easy to play and test different shaders parameters.

 

 

Image3.jpg


ReplyQuote