[vtkusers] Trouble coloring the vtkActors (always turns out red)

Raashid Baig raashid.b at rediffmail.com
Wed May 20 22:47:20 EDT 2009


Thanks a lot Lars,

It worked for me.

Raashid

>Hi,

>try

>mapper->SetScalarVisibility(false);

>cheers,
>lars



Raashid Baig-2 wrote:
>
> I am having trouble setting vtkActor's color.
> I can't figure out whats wrong with my program as the actor always turns
> out red no matter what color I set it to.
> I am using vtk5.4.0 on a linux system.
> Can someone please take a look at the attached files and explain what am I
> doing wrong ?
> Thanks in advance.
> Raashid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090521/971e3301/attachment.htm>


More information about the vtkusers mailing list