Simple cloud layer SceneNode

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
AreaScout
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Post by AreaScout »

Ahhh ok :) i did miss the commits, but sorry to say, it's not working for me :( is the commit complete ?
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Simple cloud layer SceneNode

Post by Nadro »

Sorry, I sent a commit without full changes :/
In "media/Shaders/COGLES2Solid.vsh" you should change line 96 from:

Code: Select all

vec4 TextureCoord0 = vec4(inTexCoord0.x, inTexCoord0.y, 0.0, 1.0);
to:

Code: Select all

vec4 TextureCoord0 = vec4(inTexCoord0.x, inTexCoord0.y, 1.0, 1.0);
I'll commit this change today.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
AreaScout
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Post by AreaScout »

Yep, that does the trick :) So it was precisely this commit https://sourceforge.net/p/irrlicht/code/4958/ did i picked it right ?
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Simple cloud layer SceneNode

Post by Nadro »

Yes, but this commit doesn't include above change.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
AreaScout
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Post by AreaScout »

sure, but it should be a part of it, that was what i want to know, thx again :D
AreaScout
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Post by AreaScout »

Just a side note, i had to make those changes also in COGLES2Solid2.vsh line 99 and 102

RG
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Simple cloud layer SceneNode

Post by CuteAlien »

AreaScout wrote:Just a side note, i had to make those changes also in COGLES2Solid2.vsh line 99 and 102

RG
Hm? That patch above already does that changes in COGLES2Solid2.vsh as far as I can see...
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Simple cloud layer SceneNode

Post by Nadro »

I just write quick patch for this scene node thats why COGLES2Solid2.vsh is missing here.

In final commit those files will be modified:
COGLES2Reflection2Layer.vsh
COGLES2Solid.vsh
COGLES2Solid2.vsh
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
AreaScout
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Post by AreaScout »

Can you write a small note here when all patches are in, because @ the moment the light color is extremely loud, really to loud and animation is not working yet

Thanks for this great support btw !

RG
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Simple cloud layer SceneNode

Post by Nadro »

I sent a commit to ogl-es repo. At now animation should works properly.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
AreaScout
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Post by AreaScout »

Oh, lol ok my bad, i was expecting a bigger commit, again both of you a big thank you for this perfect pinpointing / fixing

RG
thanhle
Posts: 325
Joined: Wed Jun 12, 2013 8:09 am

Re: Simple cloud layer SceneNode

Post by thanhle »

This seems to be broken using the latest trunk.
Anyone have any idea how to get this to work with directX 9 on the latest trunk?

This works with version 1.8.1.

Thanks
thanh
Post Reply