Discussions about SOFTIMAGEs© Interactive Creative Environment©
-
Maximus
- Posts: 1121
- Joined: 09 Jun 2009, 13:45
Post
by Maximus » 25 Jul 2012, 19:09
Hello, this is pretty much a shot in the dark...
i remember time ago i saw a compound (or was it a ICE compound+render tree combination) which will render out in gradient colors the elevation of the geometry.
for example like this
then i want to assign to each color a different shader. Anyone remember which compound it was? i'm tryin to find it but no success atm.
Thanks
-
gustavoeb
- Moderator
- Posts: 587
- Joined: 20 Jul 2010, 22:33
- Skype: gustavoboehs
Post
by gustavoeb » 25 Jul 2012, 20:29
by elevation you mean the point poistion in Y axis?
if so, here is a rough example... I didnt add the colors you talk about, as that is not key to solving the problem. cheers

You do not have the required permissions to view the files attached to this post.
-
Maximus
- Posts: 1121
- Joined: 09 Jun 2009, 13:45
Post
by Maximus » 25 Jul 2012, 23:33
Thanks for the help Gustavo, i used the Lagoa node which i just tried and worked, looked inside and it does exactly what you did
now off to understand how to assign different materials to those areas from the render tree!
thanks!
-
gustavoeb
- Moderator
- Posts: 587
- Joined: 20 Jul 2010, 22:33
- Skype: gustavoboehs
Post
by gustavoeb » 26 Jul 2012, 00:17
What about connecting the scalar output of the weighmap lookup into a mix2color node?
-
mattmos
- Posts: 445
- Joined: 02 Dec 2009, 15:59
Post
by mattmos » 26 Jul 2012, 08:50
Can you not just do this directly in the render tree? No need for ice trees, apply an xy texture projection and give it a grad from top to bottom. use the grad to drive a mix2colours.
-
rray
- Moderator
- Posts: 1810
- Joined: 26 Sep 2009, 13:51
- Location: Bonn, Germany
Post
by rray » 26 Jul 2012, 18:46
For mixing more than 2 materials you can use the gradient mixer (those little color thingys are texturable)
-
gustavoeb
- Moderator
- Posts: 587
- Joined: 20 Jul 2010, 22:33
- Skype: gustavoboehs
Post
by gustavoeb » 26 Jul 2012, 18:52
mattmos is right... I feel silly

-
Maximus
- Posts: 1121
- Joined: 09 Jun 2009, 13:45
Post
by Maximus » 26 Jul 2012, 20:46
well apparently...that was easy

Didnt really think about it!
Thanks everyone, worked perfect!
-
Daniel Brassard
- Posts: 878
- Joined: 18 Mar 2010, 22:38
- Location: St. Thomas, Ontario
Post
by Daniel Brassard » 26 Jul 2012, 20:56
Learn something every day! I'm thinking loading some DTM/DGM into Softimage and trying this!
$ifndef "Softimage"
set "Softimage" "true"
$endif
-
Rork
- Posts: 1359
- Joined: 09 Jul 2009, 06:59
- Location: Close to The Hague, Netherlands
Post
by Rork » 27 Jul 2012, 06:55
Not sure if it still works, but there's the old Lume Landscape shader that did all this as well.
rob