ATMOsphere
Maybe its because tower scale in Z is 0 anode2->setScale(core::vector3df(2.0f,2.0f,.0f)); Try to make it 2.0f.
Your compiled exe crashes and i cant recompile it now.
Your compiled exe crashes and i cant recompile it now.
My project in forum- ATMOsphere - new dynamic sky dome for Irrlicht
Great project! This is now part of my weather manager that will be released some time in the future. I'm using it for my game.
I did a major cleanup of the source.. now each class is renamed and put in separate files for easy management and works with Irrlicht 1.7.1.
Thanks a lot for working on this, it's a great addition to Irrlicht!
I did a major cleanup of the source.. now each class is renamed and put in separate files for easy management and works with Irrlicht 1.7.1.
Thanks a lot for working on this, it's a great addition to Irrlicht!
are you still working on this project...
because you might consider using my atmospheric scattering sky simulation shader instead of your skydome and the sun.
http://irrlicht.sourceforge.net/phpBB2/ ... 422#223422
Also it would be helpful if atmosphere worked with a sun direction (so you get the lightning normal out of it)
because you might consider using my atmospheric scattering sky simulation shader instead of your skydome and the sun.
http://irrlicht.sourceforge.net/phpBB2/ ... 422#223422
Also it would be helpful if atmosphere worked with a sun direction (so you get the lightning normal out of it)
No, i am not working on it anymore. Finished 3 years ago. Is you need sun normale then sun position - cam position and normalize vector (i think so)
But your texture looks nice.
But your texture looks nice.
My project in forum- ATMOsphere - new dynamic sky dome for Irrlicht
Re: ATMOsphere
Looking to solve this same issue as above, where the sun does not move, the athmosphere does not change color (as if time is stopped). Verified with the following: when used with EDT_DIRECT3D9 the variable "J" does not increment properly, but when use with EDT_OPENGL, everything performs as expected.
I am not sure why or how changing the renderer would change the outcome of J. I have verified dayspeed is the default 60.0f, and that dTime is properly updating. But J is always equal to "2455282.2500000000" and never changes. While when the renderer is changed to EDT_OPENGL, J updates properly.
p.s. I am using this with the irrweathermanager. If the ATMOspere project is discontinued, I am also asking this same question on the thread for irrweathermanager. http://irrlicht.sourceforge.net/forum/v ... re#p257248
Code: Select all
void IWeatherManagerAtmosphere::update()
{
updateTimer();
SColor sp;
J=J+(((double)dayspeed/86400)/1000.0f)*dTime;
p.s. I am using this with the irrweathermanager. If the ATMOspere project is discontinued, I am also asking this same question on the thread for irrweathermanager. http://irrlicht.sourceforge.net/forum/v ... re#p257248
-
- Posts: 11
- Joined: Sun Jul 14, 2013 3:06 pm
Re: ATMOsphere
Hi everyone,
I've rewritten a part of the ATMOsphere and I've suppressed the cloud's & lightning's who were working no more.
So Here is the old one (a bit optimised):
http://cjoint.com/?CGuqWlYF5sI
And the new one with the IWeatherManagerAtmosphere.cpp rebuilt:
http://cjoint.com/?CGuqYuGUnA7
Hope you will enjoy.
There are still bugs with the new version:
-The sky.png should be remade.
-The light is buggy.
I've rewritten a part of the ATMOsphere and I've suppressed the cloud's & lightning's who were working no more.
So Here is the old one (a bit optimised):
http://cjoint.com/?CGuqWlYF5sI
And the new one with the IWeatherManagerAtmosphere.cpp rebuilt:
http://cjoint.com/?CGuqYuGUnA7
Hope you will enjoy.
There are still bugs with the new version:
-The sky.png should be remade.
-The light is buggy.
-
- Posts: 11
- Joined: Sun Jul 14, 2013 3:06 pm
Re: ATMOsphere
Hello everybody,
I've changed a lot of things since the last time i posted. Now, the project is entirely rewritten and works pretty well. You can add the cloud system made by tbw.
I need to implement the rain and it would be good !
Here is the project: http://cjoint.com/?CHExGayd49U
I've changed a lot of things since the last time i posted. Now, the project is entirely rewritten and works pretty well. You can add the cloud system made by tbw.
I need to implement the rain and it would be good !
Here is the project: http://cjoint.com/?CHExGayd49U
-
- Competition winner
- Posts: 688
- Joined: Mon Sep 10, 2012 8:51 am
Re: ATMOsphere
thanks!
I may have to check this out.
If I find it functions correctly, would you mind if we added this to the Irrlicht Extensions project (IrrExt)?
I may have to check this out.
If I find it functions correctly, would you mind if we added this to the Irrlicht Extensions project (IrrExt)?
-
- Posts: 11
- Joined: Sun Jul 14, 2013 3:06 pm
Re: ATMOsphere
I don't mind. You do what you want, it's for the community.
-
- Posts: 11
- Joined: Sun Jul 14, 2013 3:06 pm
Re: ATMOsphere
Hi everyone,
I added an inclemencies' gestion. But i had a dilemma: do i keep an irrlicht' solution or i use a post effect. So, I did both of them. Hope you enjoy this:
http://www.mediafire.com/?b21akv4ujt9eoar
The "irrWheaterManager-1.0.0" folder is with only irrlicht and the other one with the post processing effect xml by tbw (http://irrlicht.sourceforge.net/forum/v ... hp?t=43743).
Sorry for the new poor glsl given (Rain, Snow, Light).
I added an inclemencies' gestion. But i had a dilemma: do i keep an irrlicht' solution or i use a post effect. So, I did both of them. Hope you enjoy this:
http://www.mediafire.com/?b21akv4ujt9eoar
The "irrWheaterManager-1.0.0" folder is with only irrlicht and the other one with the post processing effect xml by tbw (http://irrlicht.sourceforge.net/forum/v ... hp?t=43743).
Sorry for the new poor glsl given (Rain, Snow, Light).