ATMOsphere

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Pazystamo
Posts: 115
Joined: Sat Dec 03, 2005 5:56 pm
Location: Lithuania
Contact:

Post 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.
My project in forum- ATMOsphere - new dynamic sky dome for Irrlicht
cobra
Posts: 371
Joined: Fri Jan 23, 2009 2:56 am
Location: United States
Contact:

Post 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!
Josiah Hartzell
Image
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Post 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)
Pazystamo
Posts: 115
Joined: Sat Dec 03, 2005 5:56 pm
Location: Lithuania
Contact:

Post 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.
My project in forum- ATMOsphere - new dynamic sky dome for Irrlicht
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

Post 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?
alanacial
Posts: 13
Joined: Tue Sep 20, 2011 6:32 pm
Location: USA

Re: ATMOsphere

Post 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
Gawaboumga
Posts: 11
Joined: Sun Jul 14, 2013 3:06 pm

Re: ATMOsphere

Post 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.
Gawaboumga
Posts: 11
Joined: Sun Jul 14, 2013 3:06 pm

Re: ATMOsphere

Post 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
chronologicaldot
Competition winner
Posts: 688
Joined: Mon Sep 10, 2012 8:51 am

Re: ATMOsphere

Post 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)?
Gawaboumga
Posts: 11
Joined: Sun Jul 14, 2013 3:06 pm

Re: ATMOsphere

Post by Gawaboumga »

I don't mind. You do what you want, it's for the community.
Gawaboumga
Posts: 11
Joined: Sun Jul 14, 2013 3:06 pm

Re: ATMOsphere

Post 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).
Post Reply