[Paraview] ParaView v5.3: Generating textures from scalars and lookup table
David E DeMarle
dave.demarle at kitware.com
Thu Apr 13 08:33:10 EDT 2017
Hi Nenand,
You might try vtkMapper::GetColorMapColors/ColorCoordinates/ColorTextureMap.
I'm using this in the OSPRay renderer for example.
Out of curiosity is this for the p2f3d exporter plugin?
cheers
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Tue, Apr 11, 2017 at 6:34 AM, Nenad Vujicic <nenadus at gmail.com> wrote:
> Hello everyone,
>
> I've just started building my ParaView exporter plugin using ParaView v5.3
> with OpenGL2 selected for backend rendering (PARAVIEW_RENDERING_BACKEND),
> however, I'm having troubles with generating textures from scalars used for
> coloring the meshes. What I'm actually doing here is that I'm generating
> texture from currently selected array and lookup-table and I export texture
> mapped object instead of exporting object plus scalars and colormap or
> colors. Previously (with OpenGL used for backend rendering), I was deriving
> class from vtkScalarsToColorsPainter class for this purpose, however, now,
> this class is not used anymore with OpenGL2.
>
> Does anyone have idea how to solve this problem?
>
> Thanks in advance,
> Nenad.
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170413/77353237/attachment.html>
More information about the ParaView
mailing list