RV: [vtkusers] Wireframe color

David Català david.catala at datapixel.com
Tue Apr 20 10:40:27 EDT 2004


that's works.

Thanks.
-----Mensaje original-----
De: david michell [mailto:davidmichell at rediffmail.com]
Enviado el: dimarts, 20 / abril / 2004 12:19
Para: David Catala
Asunto: Re: [vtkusers] Wireframe color


hey catala,
what you do is set these
actor->GetProperty()->SetAmbient(1.0);
actor->GetProperty()->SetDiffuse(0.0);
actor->GetProperty()->SetSpecular(0.0);

hope that helps
david michell

On Tue, 20 Apr 2004 David Catala wrote :
>hello everyone,
>
>I have a problem when i put my surface actor in wireframe surface
>in one color but it happens that backface of the actor is black.
>I've tried putting lights in renderer or function "TwoSidedLightingOn"
>but it doesn't works.
>
>thanks
>
>David
>
>_______________________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040420/cd312e6e/attachment.htm>


More information about the vtkusers mailing list