<!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">
There are other parameters like the type of light (camera, scene,
headlight) and the focal point that might help you...<br>
<br>
Marc<br>
<br>
Alessio Balzide wrote:
<blockquote cite="mid:729477.38366.qm@web26412.mail.ukl.yahoo.com"
type="cite">yes, I do add the light to the renderer (sorry, I forgot
to write that line in my previous email..) but it doesn't work..<br>
<br>
<b><i>Marc Cotran <a class="moz-txt-link-rfc2396E" href="mailto:marc@cotran.ca"><marc@cotran.ca></a></i></b> ha scritto:
<blockquote class="replbq"
style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Did you add the light to the renderer? Try
myRenderer->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>
vtkLight *light1 = vtkLight::New();<br>
light1->SetPosition(x,y,z);<br>
light1->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 :( )<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>
<div> </div>
<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
moz-do-not-send="true" 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
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a> </font></pre>
</blockquote>
</blockquote>
<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></blockquote>
<br>
<br>
</body>
</html>