Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-20 Thread Utkarsh Ayachit
In that case simply remove the "command" attribute from the "LockSampleDistanceToInputSpacing" property. That way ParaView will not try to call that method on the vtkOpenGLVolumeTextureMapper3D class. Utkarsh On Fri, Feb 20, 2009 at 2:25 PM, Biao She wrote: > Yes, I have. But it doesn't work.

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-20 Thread Biao She
Yes, I have. But it doesn't work. On Fri, Feb 20, 2009 at 6:56 AM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > Have you tried just removing the property > "LockSampleDistanceToInputSpacing" from the XML? > > Utkarsh > > On Thu, Feb 19, 2009 at 5:26 PM, Biao She wrote: > > Thanks very

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-20 Thread Utkarsh Ayachit
Have you tried just removing the property "LockSampleDistanceToInputSpacing" from the XML? Utkarsh On Thu, Feb 19, 2009 at 5:26 PM, Biao She wrote: > Thanks very much for your help, Utkarsh. > The "OpenGLVolumeTextureMapper3D" works right now. > Just for future reference, here are instructions t

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Biao She
Thanks very much for your help, Utkarsh. The "OpenGLVolumeTextureMapper3D" works right now. Just for future reference, here are instructions to make a volume mapper available in paraview: 1. open the rendering.xml file at the "/$Paraveiw-Source-Directory/Servers/ServerManager/Resources" directory.

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Utkarsh Ayachit
No, unless you changed the name for the subproxy which is the "name" in . I'll leave that as is so the vtkSMUniformGridVolumeRepresentationProxy will just work. On Thu, Feb 19, 2009 at 4:33 PM, Biao She wrote: > Sorry, please ignore the first question. I know what you mean right now. > But, pleas

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Biao She
Sorry, please ignore the first question. I know what you mean right now. But, please look at the second question: "Also, I notice that in the vtkSMUniformGridVolumeRepresentationProxy.cxx file (Servers/ServerManager/), between line 100~117, there are some code specifically related to VolumeFixedPoi

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Biao She
I didn't add a new proxy definition for "OpenGLVolumeTextureMapper3D". Instead, I change the definition for "VolumeFixedPointRayCastMapper" to something like that: It didn't work. By now, I have tried to add a new proxy definition for "OpenGLVolumeTextureMapper3D", but I got

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Utkarsh Ayachit
Did you add a new proxy definition for the "OpenGLVolumeTextureMapper3D" proxy? Look at the definition for "VolumeFixedPointRayCastMapper" (it's further down in the file). You'll need to add a similar one for the "OpenGLVolumeTextureMapper3D" proxy. On Thu, Feb 19, 2009 at 2:55 PM, Biao She wrote

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Biao She
Thanks for your help. I have tried to change "FixedPointVolumeRayCastMapper to something else" in the XML file. However, it still didn't work. I am pretty new to these XML files. To the best of my knowledge, I changed the XML file to: I simply delete the "ExposedProperties" par

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Utkarsh Ayachit
The combo-box is only for unstructured volume rendering (and works perfectly fine for that). I believe Biao is taking about image data volume rendering. Utkarsh On Thu, Feb 19, 2009 at 10:06 AM, pat marion wrote: > There is a combo box in the Display tab that allows you to select the > volume ma

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread pat marion
There is a combo box in the Display tab that allows you to select the volume mapper, but it looks like that combo box is not working. I know it used to work, does anyone know what happened? Pat On Thu, Feb 19, 2009 at 7:38 AM, Utkarsh Ayachit wrote: > I know it's kind of hacky, but you can simp

Re: [Paraview] Changing the default volume mapper in Paraview?

2009-02-19 Thread Utkarsh Ayachit
I know it's kind of hacky, but you can simply edit the XML file and change the mapper used. Look at Servers/ServerManager/Resources/rendering.xml. In the XML for "UniformGridVolumeRepresentation" change FixedPointVolumeRayCastMapper to something else. Then after the definition for FixedPointVolumeR

[Paraview] Changing the default volume mapper in Paraview?

2009-02-18 Thread Biao She
Hi everyone. I have debugged paraview for days. The reason is that I want to use vtkOpenGLVolumeTextureMapper3d mapper instead of the default volume mapper vtkFixedPointVolumeRayCastMapper in Paraview. Till now, I haven't figured out how to do that. Has anyone done this before? Any hint and help is