Re: [Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-05-08 Thread Ken Martin
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

Re: [Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-05-07 Thread Nenad Vujicic
> >> >* 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

Re: [Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-05-05 Thread Ken Martin
> > 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

Re: [Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-05-05 Thread Nenad Vujicic
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?

Re: [Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-04-25 Thread Nenad Vujicic
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

Re: [Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-04-13 Thread David E DeMarle
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

[Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-04-11 Thread Nenad Vujicic
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