The first test of 3d clouds in Pure
🕑 Added 2021-09-19 14:56:10 +0000 UTCI tried a first implementation of "3D" clouds in Pure. I made the code from the ground and found and solved much problems of LUA.
So actually you see unoptimized rendering. Everything is calculated every frame.
There is no advanced clouds lighting code. This will cause more impact, but with the known optimization from Sol, the frame time of this clouds processing can be lowered drastically.
My goal of this first implementation was a very stable code and very little garbage collection (data created while a frame). Compared to Sol, Pure has way lower data created in a frame. Therefore the LUA code runs much faster.
In Sol those amounts of clouds without any optimization would cause a huge impact on the CPU. Long story short, its on a very good way.
But actual clouds and their processing will take me the most amount of time. So it will take its time to release a version for the first test with clouds.
Track used:
https://www.racedepartment.com/downloads/union-island.45276/
Comments
Maty Mendoza
Nice! awesome work! PureEYE is my fav ppfilter already!
Peter Boese
In the last 2 weeks, I converted the whole code of pure to work as fast as possible. Pure 0.25 is 2 times faster than 0.24. Sure clouds will have an impact on fps, but with Pure it's much less then with Sol. Pures code is realy realy good now...
Maty Mendoza
Pure gave me amazing FPS gains! gonna loose much with clouds on?
Xela1
banks of fog on Nords would be pretty
Sir Spats Gaming
These are looking great Peter!
Oh oh, now that is pretty impressive
Guershom Kitsa
This looks really good and it is shaping up really well! Godspeed my friend!
Peter Boese
Yes, when I'm coding I set the pc to eco mode and lock the fps to save energy. I don't need it for coding. Second I have a low gpu consumption, which gives me a very stable CPU metering. This CPU metering is the most important tool when comparing code efficiency.
Is your FPS intentionnaly locked to 60 ?
Peter Boese
No. But if we found a possibility, it will be integrated. But its not on the line...
verbinding
Are there any plans to have volumetric clouds somewhere down the line?
Bruno Dias
Looking good so far.
RS Racer
absolutely nice!! thank you!!
Looks cool. Any plans on an ETA or still too early to tell?