<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Meddelelse</TITLE>
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>Hi
guys,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578044607-07062004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>I use VTK to
visualize 3D geometries (vtkPolyData) as both wireframes and
surfaces.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>My problem is that
the vtkLight, which is automatically added on first Render(), is
fixed</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>relative to the
scene, and thus, the visualized objects </SPAN></FONT><FONT face=Arial
size=2><SPAN class=578044607-07062004>look very dark seen from
many</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>viewing
</SPAN></FONT><FONT face=Arial size=2><SPAN
class=578044607-07062004>angles.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578044607-07062004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>I would like to fix
the light to the camera. I have tried calling SetLightType() with
various</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>arguments, but it
<FONT face=Arial size=2><SPAN class=578044607-07062004>has no effect at all, in
my case.</SPAN></FONT></DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN
class=578044607-07062004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>I have looked
through the docs and the vtkusers archive. My problem has </SPAN></FONT><FONT
face=Arial size=2><SPAN class=578044607-07062004>been
reported</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>by others, but I
found no good solutions. There are no examples using </SPAN></FONT><FONT
face=Arial size=2><SPAN
class=578044607-07062004>SetLightType().</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578044607-07062004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=578044607-07062004>Can anyone
provide a working example or just a hint on what I might be doing
wrong?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=578044607-07062004></SPAN></FONT> </DIV>
<DIV class=Section1>
<P style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-no-proof: yes"><SPAN
class=578044607-07062004>Thanx a lot!</SPAN></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-no-proof: yes"><SPAN
class=578044607-07062004></SPAN></SPAN> </P>
<P style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-no-proof: yes"><SPAN
class=578044607-07062004></SPAN></SPAN><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-no-proof: yes">Lars
Overgaard<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-no-proof: yes">Software
Engineer<o:p></o:p></SPAN></P>
<P style="mso-line-height-alt: 12.0pt"><SPAN lang=EN-GB
style="FONT-SIZE: 14pt; COLOR: navy; FONT-FAMILY: Arial; LETTER-SPACING: 1.2pt; mso-ansi-language: EN-GB; mso-no-proof: yes">MIKROFYN
A/S<o:p></o:p></SPAN></P>
<P><SPAN lang=DA
style="FONT-FAMILY: Wingdings; mso-ansi-language: DA; mso-no-proof: yes">*</SPAN><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB; mso-no-proof: yes"> E-mail:
</SPAN><SPAN lang=DA style="mso-ansi-language: DA; mso-no-proof: yes"><A
href="mailto:flemming@mikrofyn.com"><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">lov@mikrofyn.com</SPAN></A></SPAN><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB; mso-no-proof: yes"><BR></SPAN><SPAN
lang=DA
style="FONT-FAMILY: Wingdings; mso-ansi-language: DA; mso-no-proof: yes">:</SPAN><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB; mso-no-proof: yes"> Web: <SPAN
style="mso-spacerun: yes"> </SPAN><SPAN
style="mso-spacerun: yes"> </SPAN><SPAN
style="mso-spacerun: yes"> </SPAN></SPAN><SPAN lang=DA
style="mso-ansi-language: DA; mso-no-proof: yes"><A
href="http://www.mikrofyn.com/"><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: #3e7188; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">www.mikrofyn.com</SPAN></A></SPAN><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB; mso-no-proof: yes"><BR></SPAN><SPAN
lang=DA
style="FONT-FAMILY: Wingdings; mso-ansi-language: DA; mso-no-proof: yes">(</SPAN><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB; mso-no-proof: yes"> Phone:
+45 66170784<BR></SPAN><SPAN lang=DA
style="FONT-FAMILY: Wingdings; mso-ansi-language: DA; mso-no-proof: yes">(</SPAN><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB; mso-no-proof: yes"> Direct: +45
63170510<BR></SPAN><SPAN lang=DA
style="FONT-FAMILY: Wingdings; mso-ansi-language: DA; mso-no-proof: yes">h</SPAN><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB; mso-no-proof: yes">
Fax: +45 66170785</SPAN><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-no-proof: yes"><o:p></o:p></SPAN></P>
<P class=MsoNormal><o:p> </o:p></P></DIV>
<DIV> </DIV></BODY></HTML>