[vtkusers] Lights in an assembly

David Gobbi david.gobbi at gmail.com
Tue Apr 13 07:11:23 EDT 2010


I think that Sebastian is seeing a different problem.  The odd
coloring that some filters produce is the result of scalars.  The
solution is to turn off ScalarVisibility in the mapper.

mapper->ScalarVisibilityOff();

   David


On Tue, Apr 13, 2010 at 4:41 AM, Jothybasu K Selvaraj
<jothybasu at gmail.com> wrote:
> I too had this problem, but somehow improved by adding the following code
>
> Light=vtk.vtkLight()
> Light.SetLightTypeToSceneLight()
> Renderer.AddLight(Light)
>
> Jothy
>
> On Tue, Apr 13, 2010 at 11:35 AM, Sebastian Gatzka
> <sebastian.gatzka at stud.tu-darmstadt.de> wrote:
>>
>> Hello guys.
>>
>> Can anybody tell me what kind of strange light this is?
>> Objects created with vtkExtractEdges are shown like this in the assembly
>> (see attachment).
>>
>> Sebastian
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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
>
>



More information about the vtkusers mailing list