[Paraview] save 'Surface LIC' as texture
Göbbert, Jens Henrik
goebbert at vr.rwth-aachen.de
Sun Jun 7 15:21:45 EDT 2015
Hi Burlen,
thanks a lot. I found the spots.
Best
Jens Henrik
P.S: if someone else searches for them, look here:
https://gitlab.kitware.com/vtk/vtk/blob/master/Rendering/LIC/vtkSurfaceLICPainter.cxx line 2693
________________________________
From: Burlen Loring [burlen.loring at gmail.com]
Sent: Friday, June 05, 2015 6:03 PM
To: Göbbert, Jens Henrik; paraview at paraview.org
Subject: Re: [Paraview] save 'Surface LIC' as texture
cd into VTK/Rendering/OpenGL and grep for vtkTextureIO::Write, you'll find all the spots I was saving textures. There are some preprocessor macros to enable it. Good luck.
On 6/5/2015 1:34 AM, Göbbert, Jens Henrik wrote:
Hi Burlen,
thanks for your answer.
But somehow bad news for me :)
I will try to add this feature than - it might help others, too.
Can you give me some more hints where I can find this mechanism for sucking textures back from the gpu
and perhaps even how to use it for debugging?
Best
Jens Henrik
________________________________
From: Burlen Loring [burlen.loring at gmail.com<mailto:burlen.loring at gmail.com>]
Sent: Thursday, June 04, 2015 5:45 PM
To: Göbbert, Jens Henrik; paraview at paraview.org<mailto:paraview at paraview.org>
Subject: Re: [Paraview] save 'Surface LIC' as texture
I think it could be done if you're willing to hack into PV. There is already some mechanism in there for sucking textures back from the gpu and writing them to disk for debugging. It's not exactly what you need but at least will illustrate pulling data from GPU.
a potential issue with this idea is that the result from the LIC is very view dependent, you may be restricted to use same view settings in your app/blender. maybe better just to write the LIC shader in blender.
On 06/04/2015 04:07 AM, Göbbert, Jens Henrik wrote:
Hello everyone,
I am using ParaView for some time now and love its representation of vector fields on surfaces by
'SurfaceLIC' (http://www.paraview.org/Wiki/ParaView/Line_Integral_Convolution).<http://www.paraview.org/Wiki/ParaView/Line_Integral_Convolution%29.>
Beyond that, lots of other representations of scientific data are of course simply great ....
I would like to save this textures and the geometrie (incl. texture coordinates) of the surface
to view it later in our own OpenGL virtual reality application (or Blender).
ParaView can load textures (http://www.paraview.org/Wiki/ParaView:Texture),
but how can I save them ?
Does anyone has an idea ... including source code modifications, which might make things like that possible.
Best,
Jens Henrik
_______________________________________________
Powered by www.kitware.com<http://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/20150607/fc6167b8/attachment.html>
More information about the ParaView
mailing list