<br><font size=2 face="sans-serif">Hi Francois,</font>
<br>
<br><font size=2 face="sans-serif">Well, if I read the vtkLight documentation
correctly, camera lights are positioned in space relatively to the camera,
but not always at the same position. HeadLights are.</font>
<br><font size=2 face="sans-serif">With camera lights, I can have shadow
maps with the vtkLightKit (and then in ParaView).</font>
<br>
<br><font size=2 face="sans-serif">Stephane<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>francois.bertel@kitware.com</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : vtkusers-bounces@vtk.org</font>
<p><font size=1 face="sans-serif">18/01/2010 17:57</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">vtkusers@vtk.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [vtkusers] VTK cvs compile errors
- reserved words near &amp; far</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi Stephane,<br>
<br>
You can't see a shadow generated by a light located at the camera. I<br>
don't see the point to compute it.<br>
<br>
On Mon, Jan 18, 2010 at 11:45 AM, Stephane PLOIX &lt;stephane.ploix@edf.fr&gt;
wrote:<br>
&gt;<br>
&gt; Hi Francois,<br>
&gt;<br>
&gt; I just commited some changes to this class to add support for directional
and camera lights, and used those names by error, it is fixed now.<br>
&gt;<br>
&gt; Stephane<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; francois.bertel@kitware.com<br>
&gt; Envoyé par : vtkusers-bounces@vtk.org<br>
&gt;<br>
&gt; 18/01/2010 17:41<br>
&gt;<br>
&gt; A<br>
&gt; vtkusers@vtk.org<br>
&gt; cc<br>
&gt; Objet<br>
&gt; Re: [vtkusers] VTK cvs compile errors - reserved words near &amp;
far<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; I don't where you found those near and far things in<br>
&gt; vtkShadowMapPass.*. There is no such thing. In addition,<br>
&gt; vtkShadowMapPass is part of vtkRendering package which is built every<br>
&gt; night on Windows and I never saw such error reported on the VTK<br>
&gt; dashboard.<br>
&gt;<br>
&gt; Are sure about the name of the file you are talking about?<br>
&gt;<br>
&gt; On Mon, Jan 18, 2010 at 11:23 AM, Dean Inglis &lt;dean.inglis@camris.ca&gt;
wrote:<br>
&gt; &gt; Im updating my VTK build to the latest cvs and I am<br>
&gt; &gt; running into a slew of fatal syntax errors that are caused by
the use of<br>
&gt; &gt; &quot;near&quot; and &quot;far&quot; in vtkShadowMapPass.cxx.
&nbsp;These variable names are already<br>
&gt; &gt; #defined in windef.h.<br>
&gt; &gt; Im using VS Express 2005 static build on Win32 Vista. &nbsp;Changing
(for<br>
&gt; &gt; example) &quot;near&quot; to &quot;_near&quot; and &quot;far&quot;
to &quot;_far&quot; resolves the issues. &nbsp;Any<br>
&gt; &gt; suggestions on a better fix than<br>
&gt; &gt; prepending with &quot;_&quot; ?<br>
&gt; &gt;<br>
&gt; &gt; Dean<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Powered by www.kitware.com<br>
&gt; &gt;<br>
&gt; &gt; Visit other Kitware open-source projects at<br>
&gt; &gt; http://www.kitware.com/opensource/opensource.html<br>
&gt; &gt;<br>
&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; &gt; http://www.vtk.org/Wiki/VTK_FAQ<br>
&gt; &gt;<br>
&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; François Bertel, PhD &nbsp;| Kitware Inc. Suite 204<br>
&gt; 1 (518) 371 3971 x113 | 28 Corporate Drive<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;| Clifton Park NY 12065, USA<br>
&gt; _______________________________________________<br>
&gt; Powered by www.kitware.com<br>
&gt;<br>
&gt; Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>
&gt;<br>
&gt; Ce message et toutes les pièces jointes (ci-après le 'Message') sont
établis à l'intention exclusive des destinataires et les informations qui
y figurent sont strictement confidentielles. Toute utilisation de ce Message
non conforme à sa destination, toute diffusion ou toute publication totale
ou partielle, est interdite sauf autorisation expresse.<br>
&gt;<br>
&gt; Si vous n'êtes pas le destinataire de ce Message, il vous est interdit
de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout
ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer
de votre système, ainsi que toutes ses copies, et de n'en garder aucune
trace sur quelque support que ce soit. Nous vous remercions également d'en
avertir immédiatement l'expéditeur par retour du message.<br>
&gt;<br>
&gt; Il est impossible de garantir que les communications par messagerie
électronique arrivent en temps utile, sont sécurisées ou dénuées de toute
erreur ou virus.<br>
&gt; ____________________________________________________<br>
&gt;<br>
&gt; This message and any attachments (the 'Message') are intended solely
for the addressees. The information contained in this Message is confidential.
Any use of information contained in this Message not in accord with its
purpose, any dissemination or disclosure, either whole or partial, is prohibited
except formal approval.<br>
&gt;<br>
&gt; If you are not the addressee, you may not copy, forward, disclose
or use any part of it. If you have received this message in error, please
delete it and all copies from your system and notify the sender immediately
by return message.<br>
&gt;<br>
&gt; E-mail communication cannot be guaranteed to be timely secure, error
or virus-free.<br>
<br>
<br>
<br>
--<br>
François Bertel, PhD &nbsp;| Kitware Inc. Suite 204<br>
1 (518) 371 3971 x113 | 28 Corporate Drive<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|
Clifton Park NY 12065, USA<br>
_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<br>
</font></tt>
<br><pre>


Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
</pre>