Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Boolean shader
PostPosted: Thu Feb 19, 2009 5:42 pm 
User avatar
Sandtrooper
Offline

Joined: Tue Mar 04, 2008 3:32 pm

Posts: 72

Location: Auckland
Need to setup a boolean shader like http://video.aol.com/video-detail/maya-cut-away-boolean-shader-network/2427453872/?icid=VIDURVHOV08 dos anybody know how to?

_________________
http://www.fishy9.com/


Top
 Profile  
 
 Post subject: Re: Boolean shader
PostPosted: Fri Feb 20, 2009 3:06 pm 
User avatar
Moderator
Offline

Joined: Thu Feb 14, 2008 9:26 am

Posts: 581

Location: Auckland
Yo,
The clues for figuring this out are all in the little post the right.

hookup the world matrix of an object (the object isn't actually important) to the world matrix of a lightinfo node.

Hook up the lightinfonodes sampledistance to the first term of the condition node.

Plug the condition node output into the transparency of the shader on the objects.

Set the operation of the condition node to either greater than or less than, and use the second term to control the radius.

Its not actually using the sphere as a boolean. but it cuts a big hole - which is kinda cool.

I had a play with hooking the output up to a ramp vcoord too - that was kinda fun too


Attachments:
roughBooleanshader.jpg
roughBooleanshader.jpg [ 63.95 KiB | Viewed 2158 times ]

_________________
Dr Chops.
Top
 Profile  
 
 Post subject: Re: Boolean shader
PostPosted: Sat Feb 21, 2009 12:27 am 
User avatar
Sandtrooper
Offline

Joined: Tue Mar 04, 2008 3:32 pm

Posts: 72

Location: Auckland
Thanks a lot Splattr will definitely try it out

_________________
http://www.fishy9.com/


Top
 Profile  
 
 Post subject: Re: Boolean shader
PostPosted: Sat Feb 21, 2009 12:25 pm 
User avatar
Moderator
Offline

Joined: Sun Feb 17, 2008 12:29 pm

Posts: 1337

Location: Wellington
If you are using mentalray, there a bunch of custom shaders floating around that do exactly what you want.

There is a series called, puppet pupper shaders. Incredible shader set. If you have mentalray, its definately worth checking out.

_________________
Beware the lollipop of mediocrity: lick it once and you suck forever


Top
 Profile  
 
 Post subject: Re: Boolean shader
PostPosted: Mon Feb 23, 2009 11:26 am 
User avatar
Sandtrooper
Offline

Joined: Tue Mar 04, 2008 3:32 pm

Posts: 72

Location: Auckland
cool laz will try that out too

_________________
http://www.fishy9.com/


Top
 Profile  
 
 Post subject: Re: Boolean shader
PostPosted: Mon Feb 23, 2009 11:56 am 
User avatar
Moderator
Offline

Joined: Sun Feb 17, 2008 12:29 pm

Posts: 1337

Location: Wellington
Oh btw, its puppet shaders, not puppet pupper shaders. I have NO flippin' clue how that happened.

_________________
Beware the lollipop of mediocrity: lick it once and you suck forever


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


Who is online

Users browsing this forum: No registered users 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:  
cron

About Us


Contact Us


Advertise on NZCGI

Powered by phpBB® Forum Software © phpBB Group
Logo Design by - Oliver Hilbert Revilo Designs