<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Did you add the light to the renderer? Try
myRenderer-&gt;AddLight(light1);<br>
<br>
hth<br>
<br>
Marc<br>
<br>
Alessio Balzide wrote:
<blockquote cite="mid:775274.56126.qm@web26402.mail.ukl.yahoo.com"
 type="cite">hallo everybody!<br>
I've set a light in my program, in this way:<br>
&nbsp; vtkLight *light1 = vtkLight::New();<br>
&nbsp; light1-&gt;SetPosition(x,y,z);<br>
&nbsp; light1-&gt;SetColor(1.0,1.0,1.0);<br>
  <br>
but it doesn't illuminate the scene.. (I want to illuminate an actor
representing an isosurface, but it always looks black :(&nbsp; )<br>
  <br>
what could be wrong?<br>
should I set any other paramater?<br>
or may be the face-culling is off? (how can I correct it?)<br>
or what else?<br>
  <br>
thanks a lot<br>
Ale<br>
  <p> </p>
  <hr size="1">
  <hr size="1"><font face="Arial" size="2"><font face="Arial" size="2">L'email
della prossima generazione? Puoi averla con la <a
 moz-do-not-send="true"
 href="http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html">nuova
Yahoo! Mail</a></font>
  </font>
  <pre wrap=""><font face="Arial" size="2">
</font><hr size="4" width="90%"><font face="Arial" size="2">
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</font></pre>
</blockquote>
</body>
</html>