[vtkusers] VTK cvs compile errors - reserved words near & far
Stephane PLOIX
stephane.ploix at edf.fr
Mon Jan 18 12:10:35 EST 2010
Hi Francois,
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.
With camera lights, I can have shadow maps with the vtkLightKit (and then
in ParaView).
Stephane
francois.bertel at kitware.com
Envoyé par : vtkusers-bounces at vtk.org
18/01/2010 17:57
A
vtkusers at vtk.org
cc
Objet
Re: [vtkusers] VTK cvs compile errors - reserved words near & far
Hi Stephane,
You can't see a shadow generated by a light located at the camera. I
don't see the point to compute it.
On Mon, Jan 18, 2010 at 11:45 AM, Stephane PLOIX <stephane.ploix at edf.fr>
wrote:
>
> Hi Francois,
>
> 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.
>
> Stephane
>
>
>
> francois.bertel at kitware.com
> Envoyé par : vtkusers-bounces at vtk.org
>
> 18/01/2010 17:41
>
> A
> vtkusers at vtk.org
> cc
> Objet
> Re: [vtkusers] VTK cvs compile errors - reserved words near & far
>
>
>
>
> Hello,
>
> I don't where you found those near and far things in
> vtkShadowMapPass.*. There is no such thing. In addition,
> vtkShadowMapPass is part of vtkRendering package which is built every
> night on Windows and I never saw such error reported on the VTK
> dashboard.
>
> Are sure about the name of the file you are talking about?
>
> On Mon, Jan 18, 2010 at 11:23 AM, Dean Inglis <dean.inglis at camris.ca>
wrote:
> > Im updating my VTK build to the latest cvs and I am
> > running into a slew of fatal syntax errors that are caused by the use
of
> > "near" and "far" in vtkShadowMapPass.cxx. These variable names are
already
> > #defined in windef.h.
> > Im using VS Express 2005 static build on Win32 Vista. Changing (for
> > example) "near" to "_near" and "far" to "_far" resolves the issues.
Any
> > suggestions on a better fix than
> > prepending with "_" ?
> >
> > Dean
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>
>
>
> --
> François Bertel, PhD | Kitware Inc. Suite 204
> 1 (518) 371 3971 x113 | 28 Corporate Drive
> | Clifton Park NY 12065, USA
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
> 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.
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100118/ac9155e7/attachment.htm>
More information about the vtkusers
mailing list