irrWeatherManager 0.0.5 - weather system for Irrlicht

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
cobra
Posts: 371
Joined: Fri Jan 23, 2009 2:56 am
Location: United States
Contact:

Post by cobra »

Hi Seven, and thank you.

I have not looked into the Direct3D driver problem yet.

I might delay the next irrWeatherManager release for the next big features.

- Josiah
Josiah Hartzell
Image
cobra
Posts: 371
Joined: Fri Jan 23, 2009 2:56 am
Location: United States
Contact:

Post by cobra »

Here's a little preview of the Perlin Noise clouds that I was working on for irrWeatherManager.

As I said before, the next release may take a while. I've been busy lately with other things, so I won't have as much time to work on this.


Image
Image
Image
Image
Josiah Hartzell
Image
cobra
Posts: 371
Joined: Fri Jan 23, 2009 2:56 am
Location: United States
Contact:

Post by cobra »

Here's an update on the perlin noise clouds.

The perlin texture is applied to a skycone.

The skycone is UV-mapped from a top-down perspective so it gives the clouds a feeling that they go far off into the distant atmosphere.

They're still not finished yet. There's more to come!

Image
Image

- Josiah
Josiah Hartzell
Image
pippy3
Posts: 155
Joined: Tue Dec 15, 2009 7:32 am

Post by pippy3 »

That's really awesome

I wonder if LOD in sections would work nice. (eg, render faces nearest the player with a larger texture)
Generaallucas
Posts: 2
Joined: Tue May 24, 2011 8:48 pm

Post by Generaallucas »

Sorry for bumping guys, but I have a big problem.

each time I try to execute my program, I get this error:
F:\Project\lib\Win32-GCC\static\libirrWeatherManager.a(IBoltSceneNode.o):IBoltSceneNode.cpp:(.text$_ZN3irr5scene10ISceneNode11getMaterialEj[irr::scene::ISceneNode::getMaterial(unsigned int)]+0x2)||undefined reference to `_imp___ZN3irr5video16IdentityMaterialE'|
things I have done:

-included lib in linker settings
-tried to recompile the lib and again include it... no difference
-put the recourses in the game directory (under the right path, of course)

and still no difference...

renderer: OPENGL

the source code of the engine already is longer dan 1.200 lines, so I think I can't post it XD
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

I had that error as well (with my IrrOde wrapper). I was able to fix it by changing the order of the linked libs in Code::Blocks, maybe this helps.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Generaallucas
Posts: 2
Joined: Tue May 24, 2011 8:48 pm

Post by Generaallucas »

It worked, thx. (though I got same problem with Newton... :shock: Fortunately, I also solved that one.)
alanacial
Posts: 13
Joined: Tue Sep 20, 2011 6:32 pm
Location: USA

Re: irrWeatherManager 0.0.5 - weather system for Irrlicht

Post by alanacial »

Looking to solve the issue 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 irrweathermanager project is discontinued, I am also asking this same question on the thread for ATMOsphere http://irrlicht.sourceforge.net/forum/v ... re#p257247
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: irrWeatherManager 0.0.5 - weather system for Irrlicht

Post by robmar »

This must be a bug:-

updateweather()
{
...
line 181 : beam->setLine(vector3df(0,0,0), vector3df((neg=1)?dirX:-dirX,-14020,(neg=1)?dirZ:-dirZ),

should this be :- beam->setLine(vector3df(0,0,0), vector3df((neg==1)?dirX:-dirX,-14020,(neg==1)?dirZ:-dirZ), ?

C: bool b = bTest ? 1 : 0;

So... (neg=1) ? dirX : -dirX should be (neg==1) ? dirX : -dirX
denzelbro
Posts: 50
Joined: Wed Jun 27, 2018 11:53 pm

Re: irrWeatherManager 0.0.5 - weather system for Irrlicht

Post by denzelbro »

Nice feature! and the jitter bug seems to be solved. I did more test and it seems the moon is not correctly position like the sun and weirdly drops in the middle of terrain. Anyone noticed this and got through with a fix? I already applied all the latest posted code related to MoonPosition.
denzelbro
Posts: 50
Joined: Wed Jun 27, 2018 11:53 pm

Re: irrWeatherManager 0.0.5 - weather system for Irrlicht

Post by denzelbro »

finally solved it with just simply adding..

Code: Select all

MoonMaterial.ZBuffer = false;
author forgot to add this even in the last SF commit (revision 7).
Post Reply