Thread: D, R and T balance

1. D, R and T balance

Starting with an apology, I know it's a simple question but my searches bring me back 1000s of "chaff" results and I've lost my bookmarks....

What is a good rule of thumb between relationship wise between the Diffuse, Reflection and Transparency channels?

I'm creating a simple transparency effect with a gradient into the Transparency channel, an invert into the Reflection. I want to bring the Diffuse into the mix but not sure how to keep things "balanced".

This is really an exercise in trying to help me get up to speed using gradients - I find them really confusing!! When using as a simple black and white colour gradient to drive Incidence the black and white seems to swop behaviours depending on what channels I'm plugging them into, ie some channels the black is the alpha, others the white.. - it's driving me mental, but getting there!!

2. from the kray manual at: http://www.kraytracing.com/wiki/Sett...twave#Surfaces

The general balance rule that should be followed to avoid unrealistic materials is :

Color*Diffuse+Reflection+Translucency<100%

or a more complex version including transparency would be:

Color*Diffuse(100%-Transparency)+Transparency+Reflection+Translucency < 100%

3. For transparent/refractive/reflective objects I would use Dialectric Material, since it actually takes care of all of that. While it is good to know how to set it up using gradients and whatnot, Dialectric material is really a huge timesaver for realistic behavour for this type of surface.

4. Love you guys!! Big thanks

Am I being daft, how do you Color*Diffuse?

5. Originally Posted by raw-m
Love you guys!! Big thanks

Am I being daft, how do you Color*Diffuse?
computers (yes even computer graphics) ain't nothin but numbers for instance your color is 255, 163, 067, and you've marked your diffuse at 73%. multiplying away gets you 255(.73), 163(.73), 67(.73) or 186, 118, 48.

6. Man-alive, I only want make pretty pictures!! Thanks MooseDog, but isn't that returning 3 values when refl, trans etc are 1 value each?

7. Originally Posted by raw-m
Man-alive, I only want make pretty pictures!! Thanks MooseDog, but isn't that returning 3 values when refl, trans etc are 1 value each?
just answering for the "color" part of "how do you Color*Diffuse". for the others, yeah, one number. remembering color=r,g,b for red, green, blue.

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•