[Paraview] Changing the default volume mapper in Paraview?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu Feb 19 14:57:56 EST 2009
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 <shebiao at gmail.com> wrote:
> 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:
> <SubProxy>
> <Proxy name="VolumeFixedPointRayCastMapper"
> proxygroup="mappers"
> proxyname="OpenGLVolumeTextureMapper3D">
> </Proxy>
> </SubProxy>
> I simply delete the "ExposedProperties" part for this mapper, because I
> don't know how to decide which property should be exposed.
> After those changes, I opened the iron_protein.vtk data with paraview. Here
> is the error message I got:
>
> Unhandled exception at 0x0519e423(vtkPVServerManager.dll) in paraview.exe:
> 0xC0000005: Access violation reading location 0x00000000.
>
> Is that because the proxyname is wrong? Or do
> I have to expose some properties?
>
> Biao
>
> On Thu, Feb 19, 2009 at 9:17 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>>
>> 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.marion at kitware.com>
>> wrote:
>> > 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.ayachit at kitware.com> wrote:
>> >> 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 FixedPointVolumeRayCastMapper, add a new definition for
>> >> the VolumeTextureMapper3D and use that in the
>> >> "UniformGridVolumeRepresentation". I am not sure it's going to work
>> >> out of the box. But work a try.
>> >>
>> >> Utkarsh
>> >>
>> >> On Wed, Feb 18, 2009 at 6:42 PM, Biao She <shebiao at gmail.com> wrote:
>> >>> 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 greatly appreciated.
>> >>> Thanks,
>> >>>
>> >>> Aaron
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> Powered by 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
>> >>>
>> >>> Follow this link to subscribe/unsubscribe:
>> >>> http://www.paraview.org/mailman/listinfo/paraview
>> >>>
>> >>>
>> >> _______________________________________________
>> >> Powered by 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
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://www.paraview.org/mailman/listinfo/paraview
>> >>
>> >
>
More information about the ParaView
mailing list