POV-Ray : Newsgroups : povray.newusers : strange shading : Re: strange shading Server Time
29 Jul 2024 16:31:46 EDT (-0400)
  Re: strange shading  
From: Mike Williams
Date: 18 Jul 2005 23:20:29
Message: <CQWj7AA5DH3CFwbX@econym.demon.co.uk>
Wasn't it sokermaniac11 who wrote:
>Im trying to use a mesh of smooth_triangles to generate a molecular
>structure. The structure generates fine, but the shading looks like its
>coming from a completely different light source than the one i defined. I
>defined an area light directly out from the origin (about 500 units on the
>z axis), and have my camera looking at the origin and located along the z
>axis just like the light, just not as far out. I assumed this would
>generate shading based on the shape of the object. However, the left and
>right edges are extremely bright and the center so dark the shape is almost
>completely lost... I increased the ambience of my textures which helped
>some, but the shape of the object is still lost at the center. I tried
>adding a second light source but it just made the current result more
>drastic... Am I just missing something?

Is it possible that you've calculated your normals incorrectly. For
example, if they're all pointing in the opposite direction from what
they should be, then the surface would look smooth and continuous but
the shading would be inside out.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.