<div class="gmail_quote">On Fri, Oct 22, 2010 at 7:52 AM, Elias Breunig <span dir="ltr"><<a href="mailto:elias.breunig@googlemail.com">elias.breunig@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear all,<br>
<br>
I've written a Parametric Paraboloid class that generates paraboloid<br>
surface data. It is based on vtkParametricEllipsoid and I basically<br>
just exchanged the fundamental equations and definitions. Works fine<br>
so far, but when I render the surface i get a somehow strange shading<br>
effect on the surface, to be more prescise, a quard-foil of dark areas<br>
(see attached image). Has anyone an idea where this might originate<br>
from and how to get rid of it. I played around a bit with ambient and<br>
diffuse parameters but couldn't achieve any effect at all.<br>
<br>
Thanks for advice<br>
<font color="#888888"><br>
Elias<br></font></blockquote><div><br></div><div>My guess is that your normals are incorrect. Try: </div><meta http-equiv="content-type" content="text/html; charset=utf-8">actor->GetProperty()->SetInterpolationToFlat();</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">to turn off shading which uses the normals and see if looks correct.</div><div class="gmail_quote"><br>David</div>