[vtkusers] How to turn off lighting in probing

Weiguang Guan guanw at rhpcs.mcmaster.ca
Wed Aug 31 10:42:24 EDT 2005


Thank you very much, Kevin. I've tried it and it works just the way I 
want.

Weiguang

-- 
========================================================
Weiguang Guan, Research Engineer
RHPCS, McMaster University
========================================================

On Wed, 31 Aug 2005, Kevin Wang wrote:

> Hi Weiguang,
> 
> You can do this by setting the ambient and diffuse values as 1.0 and 0.0 as 
> others suggested. 
> The sphere property can be obtained by vtkPlaneWidget::GetHandleProperty and 
> vtkPlaneWidget::GetSelectHandleProperty methods. 
> 
> HTH,
> 
> -- Kevin
> 
> On 8/31/05, Kevin Wang <kwang.ca at gmail.com> wrote:
> > 
> > *I did a search on disable lighting in the list and found the following 
> > one. 
> > It will achieve what you expect although this is not really turning the 
> > light off. 
> > 
> > http://public.kitware.com/pipermail/vtkusers/2002-September/063126.html* 
> > 
> > HTH,
> > 
> > -- Kevin
> > 
> > On 8/29/05, Weiguang Guan <guanw at rhpcs.mcmaster.ca> wrote:
> > > 
> > > Hi VTK-users,
> > > 
> > > I want to turn off lighting (or shading) on a sphere, with which I probe
> > > into a volume. Thanks in advance.
> > > 
> > > Weiguang
> > > 
> > > --
> > > ========================================================
> > > Weiguang Guan, Research Engineer 
> > > RHPCS, McMaster University
> > > ========================================================
> > > 
> > > _______________________________________________
> > > This is the private VTK discussion list.
> > > Please keep messages on-topic. Check the 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