[vtkusers] [vtk-developers] How to use color mapping for vtkPistonMapper?

David E DeMarle dave.demarle at kitware.com
Tue Dec 3 08:47:12 EST 2013

Unfortunately I ran out of time and didn't get around to moving VTK's
lookup table over when I originally implemented that class. So, the randow
color map you see now is the only option when doing direct GPU to GPU
rendering. Unless you hack the class yourself to make the transfer function
configurable of course.

If anyone out there has an updated implementation (ahem John B.) please
direct us to it and we can see about folding your improvements in.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Dec 3, 2013 at 12:24 AM, Enya Shen <enya.shen2010 at gmail.com> wrote:

> Dear all,
> I try to use vtkPistonMapper, but when I set the color with
> setColor(double[3]), I got nothing changed.
> Thanks for any example or advice!
>  Regards,
> Enya
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131203/95063bee/attachment.htm>

More information about the vtkusers mailing list