Adding the same camera to multiple passes...

Date : Thu, 14 Sep 2006 00:27:44 -0400 (EDT)
To : XSI(at)Softimage.COM
From : Raffaele Scaduto-Medola <raffaele(at)inch.com>
Subject : Adding the same camera to multiple passes...
Hello all,

I am trying to setup a camera with a preset toon lens shader into multiple passes and trying to setup a custom overidde to the "bypass" property to be turned on or off dependant on the pass. But for some reason I am not able to get it to work as the overide value which is attach to the camera will change values globally, not dependant on pass.
The basic idea, is to build passes, and add the same camera to all passes (so I don't have to worry about multiple cameras with multiple lens settings), but since one of my pass requires the toon lens shader which is a property of the global camera, I need a way to turn it on or off for different passes (which is the bypass parameter).
Can it be done, or do I need to setup different cameras ?


If anyone has sample code of how to set this up (ie how to access the objects pass and camera lensshape objects in XSI/Jscript), I would greatly appreciate hints and leads.

THX
RSM

_____________________________________________________
Raffaele Scaduto-Mendola - www.turbolinea.com
			   raffaele(at)turbolinea.com

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.