Ambient occlusion in renderman

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  03 March 2005
Ambient occlusion in renderman

Hi guys,
i'm testing on renderman ambient occlusion. i'm getting it right when i use the read only option in globals (after writing) , my problem arises when i want to give a different shader to the surface and still get the baked occlusion effect on the surface. i created the icf file through the constant shader method that's given in the tutorials. i'm using rat 6 for maya5. i tried giving read only in the new ensemble rays tab, even then i'm not getting the effect, can somebody help me out please.... ....
  03 March 2005
I havent read the tutorial, but i believe you need to write or create another shader and then just multiply the value of your ambient pass by the ambient and the diffuse.

in RSL that would be

float occ = 1;
irradiancecache("query", filename, "r", P, Ns, "coordsystem", coordsys, "occlusion", occ);

Ci = (ambient() + diffuse(Nf)) * occ;

in slim you could use a DIY template and connect an Occlusion map template and set it to "multiply" on top of a diffuse and an ambient template.

I hope this helps

Rudy Cortes
C.E.O. - Rendering Director
  03 March 2005
thank u rudy...
though i didn't understand the RSL part very much(i've not tried the programming part), i understood the multiply option (which i've used in someother packages) and i've also used DIY so i think i'll be able to do something...thanks and i hope to get back to u later........
  03 March 2005
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 06:16 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.