[vtkusers] Set shining off in vtkActor

Wenlong scc.wwl at gmail.com
Fri Oct 21 06:29:43 EDT 2011


Have you try to manipulate the light of the render?

From my IWenlong.

在 2011-10-20,16:50,Jothybasu Selvaraj <jothybasu at gmail.com> 写道:

> No effect! I am not setting any extra light properties like ambiet,diffuse.
> 
> Thanks
> 
> Jothy
> 
> On Thu, Oct 20, 2011 at 3:51 PM, David E DeMarle <dave.demarle at kitware.com> wrote:
> actor->GetProperty()->SetInterpolationToFlat() ?
> 
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
> 
> 
> 
> On Thu, Oct 20, 2011 at 8:52 AM, Jothybasu Selvaraj <jothybasu at gmail.com> wrote:
> > Hi all,
> >
> > I have an outline generated by a vtkCutter. When I try to display it it
> > appears shiny. How to set it off?
> >
> > I tried playing around
> > actor->GetProperty().....diffuse/ambient/specualr/specularPower. But nothing
> > helps.
> >
> > Any suggestions?
> >
> > Thanks
> >
> > Jothy
> >
> >
> >
> > _______________________________________________
> > 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
> >
> >
> 
> 
> 
> -- 
> Jothybasu K Selvaraj
> PhD Student
> University of Liverpool
> Liverpool,UK
> 
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111021/982b9c73/attachment.htm>


More information about the vtkusers mailing list