[vtkusers] How to apply different light to frontface and backface in VTK
Bill Lorensen
bill.lorensen at gmail.com
Mon Apr 20 08:36:27 EDT 2015
You can specify a Backface property for an Actor. In the property you
can set the ambient, diffuse and specular color and intensity.
On Mon, Apr 20, 2015 at 2:31 AM, qinyang_1980 <qinyang_1980 at qq.com> wrote:
> Hello,
>
> For now,
> I need apply intense light to the frontface of mesh,
> and apply low light to the backface.
>
> Therefore, the user can see the frontface of mesh clearly.
>
> But I could not find a easy way to do this in VTK.
> In MeshLab, this behaviour is default.
>
> Can somebody tell me how to do this in VTK ?
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/How-to-apply-different-light-to-frontface-and-backface-in-VTK-tp5731523.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list