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
overriding scene ambience per pass
- eternal art
- Posts: 93
- Joined: 08 Jun 2009, 22:48
- Location: UAE - Abu Dhabi
overriding scene ambience per pass
3D Supervisor - Production House .
Re: overriding scene ambience per pass
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.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.
Re: overriding scene ambience per pass
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
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
Founder of www.si-community.com
http://www.pixelpanic.de
http://www.pixelpanic.de
- eternal art
- Posts: 93
- Joined: 08 Jun 2009, 22:48
- Location: UAE - Abu Dhabi
Re: overriding scene ambience per pass
thanks you very much owei ... i will test it as soon as possible .
3D Supervisor - Production House .
Who is online
Users browsing this forum: No registered users and 36 guests