PDA

View Full Version : Odd reflection/spotlights problem


DazP
09-21-2004, 05:04 AM
OK, at the risk of looking like a complete fool, this has me stumped, so I'd appreciate some help.

I've set up a sphere with an image on it to serve as a chrome environment map. Its flagged as non renderable which I want.

Within it are 3 spots, and a placeholder sphere object ( its at the origin If you look closely ) like so:

http://home.comcast.net/~dpattenden/images/refl.jpg

However, when I render my placeholder sphere within the scene, a bizzarre thing happens; the spots falloff 'discs' actually appear visible on the *other* side of the sphere to which theyre pointing. Here, you can see the slightly bluey light hitting the left upper part of the sphere, and shining all the way through the sphere to create the bluey disc shape on the other side of it. The same is happening with the pinky orangey light hitting the back right of the sphere ( note the big disc shape on the front of the sphere ) :

http://home.comcast.net/~dpattenden/images/ballspots.jpg

If I turn the spots into point lights the discs go away:

http://home.comcast.net/~dpattenden/images/ballpoints.jpg

I hope Ive managed to explain this coherently. It's pretty simple really. In a nutshell, my spots are seemingly casting all the way through my solid sphere and creating these disc shapes on the other side. Im using a Blinn, and get the same result with the software renderer and mray. The spheres normals are pointing outward.

This is gonna be something ridiculously simple that makes me look like a complete idiot. Fingers crossed.

cheers!

mattwood
09-21-2004, 08:27 AM
I suspect your spotlights are shining onto the invisible sphere and those illuminated areas are then appearing in the reflections.

Make sure the shader for the environment has diffuse at 0 and ambient at 1 (or something like that).

DazP
09-21-2004, 05:03 PM
doh! That'll be it yeah! Awesome mattwood thanks alot. That just didnt even occur to me. Thanks.

CGTalk Moderation
01-19-2006, 08:00 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.