Awesome, glad it worked out!
On Sun, May 7, 2017 at 8:32 AM, Nenad Vujicic wrote:
> > >> >* Does anyone have idea how to solve generating textures problem?
> *> >> >* I continued to decompose the problem and I'm curious, is
> interpolation of
> *> >* scalars before mapping
> >> >* Does anyone have idea how to solve generating textures problem?
*> >> >* I continued to decompose the problem and I'm curious, is
interpolation of
*> >* scalars before mapping performed (when OpenGL2 is selected) by shaders
*> >* (on-the-fly, during display) or is an intermediate texture
>
> Does anyone have idea how to solve generating textures problem?
>
> I continued to decompose the problem and I'm curious, is interpolation of
> scalars before mapping performed (when OpenGL2 is selected) by shaders
> (on-the-fly, during display) or is an intermediate texture generated?
>
2xN
Hello everyone,
Does anyone have idea how to solve generating textures problem?
I continued to decompose the problem and I'm curious, is interpolation of
scalars before mapping performed (when OpenGL2 is selected) by shaders
(on-the-fly, during display) or is an intermediate texture generated?
David,
Thank you very much for your response! I tried what you suggested and it
worked, but, I'm getting bad texture, i.e. I get texture 2xN, where N is
number of segments in colormap and the exported texture mapped object looks
like I turned OFF InterpolateScalarsBeforeMapping flag. I would like
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 Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
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