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 sheb...@gmail.com wrote:

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 sheb...@gmail.com wrote: Yes, I have. But it

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

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 utkarsh.ayac...@kitware.com wrote: I know it's kind

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 pat.mar...@kitware.com wrote: There is a combo box in the Display tab that allows you to

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: SubProxy Proxy name=VolumeFixedPointRayCastMapper proxygroup=mappers proxyname=OpenGLVolumeTextureMapper3D

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

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 SubProxyProxy name=.. //SubProxy. I'll leave that as is so the vtkSMUniformGridVolumeRepresentationProxy will just work. On Thu, Feb 19, 2009 at 4:33 PM, Biao She sheb...@gmail.com wrote: Sorry, please ignore the first

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. 2.