PDA

View Full Version : Caustic coloring in XSI


MJV
06-03-2006, 10:47 PM
I was considering having a go with XSI at the glass render challenge here:

http://forums.cgsociety.org/showthread.php?threadid=356958

I wanted to try using different colored glass like I did with Cinema 4D in the image below, with caustics, but it appears that you can't actually make the diffuse color or the transparency color of an object drive the color of the caustic in XSI. You can set the photon color mode in the light, but that is light specific and not object specific. You can set a color multiplier for the scene in render settings, but that is neither light nor object specific. Is there a way to have one light produce two different colored caustic results for two different colored objects?

Another question I have on caustics. I don't think XSI makes a distinction between bounced caustics and pass-through transparency caustics. Correct? So there is no way to adjust these values independently. For example, in real life, the intensity of bounced caustics depend on the reflectiveness of an object, while the pass-through caustics depend on the degree of transparency. It would be helpful if I could adjust them separately. Thanks.

http://www.mvpny.com/BottleCollection38m6B3AE1.jpg

MJV
06-04-2006, 12:19 AM
To answer half my own question, I figured out that caustics color and intensity is driven by the specular channel values, even if specular is inactive. I guess that's one small step for a man, one giant yawn for mankind. :)

francescaluce
06-04-2006, 12:36 AM
Michael, just plug a photon shader in your material photon port.
there's a transparent slot you can use to drive caustic colors,
independently by the obj transparency. but take care that
actually the transparent slot in ie a phong drives also the caustic
color.. is that sometimes the caustic efx is too strong and blow
out to a white color.


ciao
francesca

MJV
06-04-2006, 01:00 AM
Thanks francescaluce. Another clue. :) When I try that, the color of the bounced light is inverted. Any ideas about that?

francescaluce
06-04-2006, 01:43 AM
what ya mean by 'the color of the bounced light' ? :rolleyes:






ciao
francesca

MJV
06-04-2006, 02:15 AM
Maybe this explains better. The top image is using the specular color to drive the caustic color. The bottom image uses the Photon node you suggested with a green gradient plugged into the transparency channel. Oddly, the color of the bounced light is this time inverted.

http://www.mvpny.com/XSITest1MV.jpg

http://www.mvpny.com/XSITest2MV.jpg

CGTalk Moderation
06-04-2006, 02:15 AM
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.