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

Postby cobra » Sat Feb 26, 2011 10:11 pm

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

Postby cobra » Wed Mar 02, 2011 1:57 am

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

Postby cobra » Fri Mar 04, 2011 4:34 am

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
cobra
 
Posts: 371
Joined: Fri Jan 23, 2009 2:56 am
Location: United States

Postby pippy3 » Fri Mar 04, 2011 6:19 am

That's really awesome

I wonder if LOD in sections would work nice. (eg, render faces nearest the player with a larger texture)
pippy3
 
Posts: 155
Joined: Tue Dec 15, 2009 7:32 am

Postby Generaallucas » Tue May 24, 2011 8:59 pm

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
Generaallucas
 
Posts: 2
Joined: Tue May 24, 2011 8:48 pm

Postby Brainsaw » Wed May 25, 2011 6:29 am

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
Brainsaw
 
Posts: 1144
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Postby Generaallucas » Wed May 25, 2011 3:00 pm

It worked, thx. (though I got same problem with Newton... :shock: Fortunately, I also solved that one.)
Generaallucas
 
Posts: 2
Joined: Tue May 24, 2011 8:48 pm

Re: irrWeatherManager 0.0.5 - weather system for Irrlicht

Postby alanacial » Tue Sep 20, 2011 6:51 pm

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.

cpp 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/viewtopic.php?f=6&t=10769&p=257247&hilit=atmosphere#p257247
alanacial
 
Posts: 13
Joined: Tue Sep 20, 2011 6:32 pm
Location: USA

Re: irrWeatherManager 0.0.5 - weather system for Irrlicht

Postby robmar » Thu Feb 13, 2014 12:01 am

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
robmar
 
Posts: 997
Joined: Sun Aug 14, 2011 11:30 pm

Previous

Return to Project Announcements

Who is online

Users browsing this forum: No registered users and 1 guest