SUBSCRIBE The SideFX mailing list is a great place to make contact with Houdini users. To subscribe, send us an email with no subject and the word subscribe in the body.
Thursday, 29 August 2002 Thu, 29 Aug '02
Ben's method is pretty much what I use. One additional tip, at the bottom of the object merge SOP make sure you set the Transform Object tab to "This object". that way any transformations at object level will be transferred. Jamie Schryer Ben Simons wrote:
> Darran writes: > > I've got a simple scene with foreground elements > > casting shadows from a single light onto a ground > > plane. I'd like to render out a mask suitable for > > adding and tweaking the shadow intensity in composite. > > Is there an easy way to do this? > David writes: > > If you were to go to Houdini's Community section of sidefx.com, there you > will find learning sections on aspects of using Houdini... under Rendering > there are a couple PDF's dealing with shadowpasses... =) > > http://www.sidefx.com/community/learn/rendering/index.html Hi Darran, One tip with this. These shadow_pass tutorials take you through the steps on setting and unsetting the "Phantom" flag on various objects. I used to do this. ie. set a bunch of flags and fire off a render to a file, and then composite and go home! job done. great. The trouble is when/if you come back to the project after a year or two, it's easy to forget which objects should have Phantom flags set for various shadow layers. You've got the composite layers as files but it's not obvious how they were made. These days, if I want to set 'Phantom' on an object I make a copy of the object. At the object level, I create a new empty object and name it (say) "geo1_phantom" (assuming the object to be 'phantomed' is called geo1). I put an OBJECT MERGE SOP in geo1_phantom, and set it to reference the render sop of geo1. Then I set the Phantom flag (etc) on geo1_phantom. That way I have both versions, and can use either as needed, and the 'object merge sop' doesn't add much to the overall file, and is dynamic in that the original geo1 can still change in the future without problems. yada yada. Finally, I make a specific Render OP (ROP) called, say "geo1_shadow". Instead of using "*" in the objects field (in this case a mantra render) I list specific objects - "geo1_shadow" and so on. All the 'transient' settings are "documented" for posterity, with not much extra effort. Afterall, the great thing about Houdini is that you can re-use lots of previous work! cheers, ben. __________________________________________________________ Ben Simons Physics Building, A28, VisLab Systems Manager The University of Sydney. Phone +61-2-9351-5900 NSW. AUSTRALIA. 2006. Fax +61-2-9351-1880 http://www.vislab.usyd.edu.au/ Waiting is a funny activity: you can't wait twice as fast. -- Ed Dijkstra, 28Feb84.
- jamie.vcf (text/x-vcard — 200 bytes)