It is currently 20 Jun 2013, 02:51

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Ice elevation rendering
PostPosted: 25 Jul 2012, 21:09 
Offline
User avatar

Joined: 09 Jun 2009, 15:45
Posts: 817
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 Image

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


Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 25 Jul 2012, 22:29 
Offline
Moderator
User avatar

Joined: 21 Jul 2010, 00:33
Posts: 512
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 :)


Attachments:
Capture.JPG
Capture.JPG [ 148.92 KiB | Viewed 2962 times ]

_________________
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/blog | Training: http://gustavoeb.com.br/blog/?cat=16&lang=en_us
Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 26 Jul 2012, 01:33 
Offline
User avatar

Joined: 09 Jun 2009, 15:45
Posts: 817
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!

Image

thanks!


Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 26 Jul 2012, 02:17 
Offline
Moderator
User avatar

Joined: 21 Jul 2010, 00:33
Posts: 512
What about connecting the scalar output of the weighmap lookup into a mix2color node?

_________________
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/blog | Training: http://gustavoeb.com.br/blog/?cat=16&lang=en_us


Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 26 Jul 2012, 10:50 
Offline
User avatar

Joined: 02 Dec 2009, 17:59
Posts: 206
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.


Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 26 Jul 2012, 20:46 
Offline
Moderator
User avatar

Joined: 26 Sep 2009, 15:51
Posts: 782
Location: Bonn, Germany
For mixing more than 2 materials you can use the gradient mixer (those little color thingys are texturable)

_________________
Image rray.de, a resource site for softimage, updated apr 13th


Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 26 Jul 2012, 20:52 
Offline
Moderator
User avatar

Joined: 21 Jul 2010, 00:33
Posts: 512
mattmos is right... I feel silly 8-}

_________________
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/blog | Training: http://gustavoeb.com.br/blog/?cat=16&lang=en_us


Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 26 Jul 2012, 22:46 
Offline
User avatar

Joined: 09 Jun 2009, 15:45
Posts: 817
well apparently...that was easy :D
Didnt really think about it!

Thanks everyone, worked perfect!


Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 26 Jul 2012, 22:56 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
Learn something every day! I'm thinking loading some DTM/DGM into Softimage and trying this!

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif


Top
 Profile  
 
 Post subject: Re: Ice elevation rendering
PostPosted: 27 Jul 2012, 08:55 
Offline
User avatar

Joined: 09 Jul 2009, 08:59
Posts: 756
Location: Close to The Hague, Netherlands
Not sure if it still works, but there's the old Lume Landscape shader that did all this as well.

rob

_________________
Photography & Video Reference/Tracking Cubes - http://www.refcube.biz | Softimage tutorials blog: http://www.rowu-media.nl/rwmblog/category/tutorials


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group