Page 10 of 10

Posted: Fri May 07, 2010 8:34 pm
by Pazystamo
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.

Posted: Fri May 07, 2010 11:20 pm
by cobra
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!

Posted: Sun May 09, 2010 8:02 pm
by devsh
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)

Posted: Tue May 11, 2010 7:07 pm
by Pazystamo
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.

Posted: Sun Jan 23, 2011 1:52 pm
by Seven
leathergloves wrote:The sun doesn't move if I switch to EDT_DIRECT3D9 (or 8 ). Any ideas?
In console I get multiple lines of:
update time:2007 6 29 6 0
did anyone make any headway resolving this issue with direct3d?

Re: ATMOsphere

Posted: Tue Sep 20, 2011 6:49 pm
by alanacial
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.

Code: Select all

 
void IWeatherManagerAtmosphere::update()
{
        updateTimer();
        SColor sp;
 
                J=J+(((double)dayspeed/86400)/1000.0f)*dTime;
 
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

Re: ATMOsphere

Posted: Sat Jul 20, 2013 2:52 pm
by Gawaboumga
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.

Re: ATMOsphere

Posted: Fri Aug 30, 2013 9:32 pm
by Gawaboumga
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

Re: ATMOsphere

Posted: Sat Aug 31, 2013 4:33 am
by chronologicaldot
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)?

Re: ATMOsphere

Posted: Sat Aug 31, 2013 7:53 am
by Gawaboumga
I don't mind. You do what you want, it's for the community.

Re: ATMOsphere

Posted: Sat Sep 14, 2013 4:05 pm
by Gawaboumga
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).