<div dir="ltr"><div><div><div>Hi Nenand,<br><br></div>You might try vtkMapper::GetColorMapColors/<wbr>ColorCoordinates/<wbr>ColorTextureMap. I'm using this in the OSPRay renderer for example.<br><br></div>Out of curiosity is this for the p2f3d exporter plugin?<br><br></div>cheers<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Tue, Apr 11, 2017 at 6:34 AM, Nenad Vujicic <span dir="ltr"><<a href="mailto:nenadus@gmail.com" target="_blank">nenadus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>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.</div><div><br></div><div>Does anyone have idea how to solve this problem?</div><div><br></div><div>Thanks in advance,</div><div>Nenad.</div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>