overriding scene ambience per pass

Discussions about rendering in SOFTIMAGE©
Post Reply
User avatar
eternal art
Posts: 93
Joined: 08 Jun 2009, 22:48
Location: UAE - Abu Dhabi

overriding scene ambience per pass

Post by eternal art » 14 Jul 2009, 00:41

Hi there
Just wondering if anyone knows how to override the scene ambience on a per pass basis ??

there are a solution but it's not a a faster one
http://www.xsibase.com/forum/index.php? ... adid=33625

If anyone knows of an easier/faster way to do it, I'd like to hear about it.
Thanks
3D Supervisor - Production House .

clyder
Posts: 14
Joined: 08 Jun 2009, 20:35

Re: overriding scene ambience per pass

Post by clyder » 18 Jul 2009, 10:04

Create an implicit object.
Add a custom parameter set onto it.
On this cpset, add 4 parameters: red, green, blue, alpha.
Link via expressions the scene ambience with the cpset parameters. To do that, switch the Explorer to local properties, and set the scope to All Nodes. Expand the AmbientLighting node you'll see under the scene root. Open the cpset, and drag-n-drop its parameters onto those of the AmbientLighting object.
On each pass, create a partition that contains only the implicit object.
On this partition, add an override.
To this override, add 4 parameters that override the cpset parameters.
This is very nice solution that dont require lot of time to do. Instead of custom parameter set with 4 parameters you could give that control object a CustomColor property and link red/green/blue values of ambience to RGB values of customColor property. That way the process would be slightly faster.

User avatar
owei
Administrator
Posts: 840
Joined: 03 Jun 2009, 17:25
Location: Siegen/Germany
Contact:

Re: overriding scene ambience per pass

Post by owei » 20 Jul 2009, 12:22

Hi..!

I´ve build a small addon to close this cab...Thanks Eric for help ;)

This addon adds an "Ambience"-property to the selected pass.
Usage:
- select the pass you wish to add this property
- Get>Property>Ambience
- repeat this for every pass of your scene

..now you should be able to set a specific ambient lightning color to each pass...values are updated for every value-change on the PPG and on every pass change

Hope it works the way it should..please test it..! If not, post here...hope you like it ;-)

cheers,
oliver
Attachments
ow_AmbienceCPS.rar
(2.82 KiB) Downloaded 130 times

User avatar
eternal art
Posts: 93
Joined: 08 Jun 2009, 22:48
Location: UAE - Abu Dhabi

Re: overriding scene ambience per pass

Post by eternal art » 20 Jul 2009, 14:30

thanks you very much owei ... i will test it as soon as possible .
3D Supervisor - Production House .

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests