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.

Re: Simple cloud layer SceneNode

Postby AreaScout » Fri Oct 03, 2014 8:19 am

Ahhh ok :) i did miss the commits, but sorry to say, it's not working for me :( is the commit complete ?
AreaScout
 
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Postby Nadro » Fri Oct 03, 2014 8:34 am

Sorry, I sent a commit without full changes :/
In "media/Shaders/COGLES2Solid.vsh" you should change line 96 from:
cpp Code: Select all
vec4 TextureCoord0 = vec4(inTexCoord0.x, inTexCoord0.y, 0.0, 1.0);

to:
cpp Code: Select all
vec4 TextureCoord0 = vec4(inTexCoord0.x, inTexCoord0.y, 1.0, 1.0);


I'll commit this change today.
Nadro
 
Posts: 1647
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Simple cloud layer SceneNode

Postby AreaScout » Fri Oct 03, 2014 8:46 am

Yep, that does the trick :) So it was precisely this commit https://sourceforge.net/p/irrlicht/code/4958/ did i picked it right ?
AreaScout
 
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Postby Nadro » Fri Oct 03, 2014 9:08 am

Yes, but this commit doesn't include above change.
Nadro
 
Posts: 1647
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Simple cloud layer SceneNode

Postby AreaScout » Fri Oct 03, 2014 9:16 am

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

Postby AreaScout » Fri Oct 03, 2014 10:48 am

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

RG
AreaScout
 
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Postby CuteAlien » Fri Oct 03, 2014 12:52 pm

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.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8365
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: Simple cloud layer SceneNode

Postby Nadro » Fri Oct 03, 2014 1:08 pm

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
Nadro
 
Posts: 1647
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Simple cloud layer SceneNode

Postby AreaScout » Fri Oct 03, 2014 2:09 pm

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
AreaScout
 
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Postby Nadro » Fri Oct 03, 2014 10:56 pm

I sent a commit to ogl-es repo. At now animation should works properly.
Nadro
 
Posts: 1647
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Simple cloud layer SceneNode

Postby AreaScout » Sat Oct 04, 2014 8:54 am

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
AreaScout
 
Posts: 16
Joined: Wed Sep 24, 2014 7:30 pm

Re: Simple cloud layer SceneNode

Postby thanhle » Sun Jan 18, 2015 3:03 pm

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
thanhle
 
Posts: 324
Joined: Wed Jun 12, 2013 8:09 am

Previous

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest