Sorry, please ignore the first question. I know what you mean right now. But, please look at the second question:<br>"Also, I notice that in the vtkSMUniformGridVolumeRepresen<div>tationProxy.cxx
file (Servers/ServerManager/), between line 100~117, there are some
code specifically related to VolumeFixedPointRayCastMapper, do I need
to change these codes too?"<br><br>Thanks,<br>
</div><br>Biao<br><br><div class="gmail_quote">On Thu, Feb 19, 2009 at 2:27 PM, Biao She <span dir="ltr"><<a href="mailto:shebiao@gmail.com">shebiao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I didn't add a new proxy definition for "OpenGLVolumeTextureMapper3D". Instead, I change the definition for "VolumeFixedPointRayCastMapper" to something like that:<br><SubProxy><br>
<Proxy name="VolumeFixedPointRayCastMapper"<br><div><div class="Ih2E3d">
proxygroup="mappers"<br>
proxyname="<span style="color: rgb(255, 0, 0);">OpenGLVolumeTextureMapper3D</span>"><br>
</Proxy><br>
</SubProxy><br></div>It didn't work. <br>By now, I have tried to add a new proxy definition for "OpenGLVolumeTextureMapper3D", but I got the same error message. The following is the XML proxy I wrote:<br>
<SubProxy><br>
<Proxy name="VolumeOpenGLTexture3DMapper"<div class="Ih2E3d"><br> proxygroup="mappers"<br> proxyname="OpenGLVolumeTextureMapper3D"><br> </Proxy><br>
</div> <ExposedProperties><br>
<Property name="SampleDistance" /><br> </ExposedProperties><br></SubProxy><br>I am wondering if I understand you incorrect. <br>Also, I notice that in the vtkSMUniformGridVolumeRepresentationProxy.cxx file (Servers/ServerManager/), between line 100~117, there are some code specifically related to VolumeFixedPointRayCastMapper, do I need to change these codes too?<br>
<br>Thanks very much for your help.<br><br>Biao<br></div><div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Thu, Feb 19, 2009 at 12:57 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Did you add a new proxy definition for the<br>
"OpenGLVolumeTextureMapper3D" proxy? Look at the definition for<br>
"VolumeFixedPointRayCastMapper" (it's further down in the file).<br>
You'll need to add a similar one for the "OpenGLVolumeTextureMapper3D"<br>
proxy.<br>
<div><div></div><div><br>
On Thu, Feb 19, 2009 at 2:55 PM, Biao She <<a href="mailto:shebiao@gmail.com" target="_blank">shebiao@gmail.com</a>> wrote:<br>
> Thanks for your help.<br>
> I have tried to change "FixedPointVolumeRayCastMapper to something else" in<br>
> the XML file. However, it still didn't work.<br>
> I am pretty new to these XML files. To the best of my knowledge, I changed<br>
> the XML file to:<br>
> <SubProxy><br>
> <Proxy name="VolumeFixedPointRayCastMapper"<br>
> proxygroup="mappers"<br>
> proxyname="OpenGLVolumeTextureMapper3D"><br>
> </Proxy><br>
> </SubProxy><br>
> I simply delete the "ExposedProperties" part for this mapper, because I<br>
> don't know how to decide which property should be exposed.<br>
> After those changes, I opened the iron_protein.vtk data with paraview. Here<br>
> is the error message I got:<br>
><br>
> Unhandled exception at 0x0519e423(vtkPVServerManager.dll) in paraview.exe:<br>
> 0xC0000005: Access violation reading location 0x00000000.<br>
><br>
> Is that because the proxyname is wrong? Or do<br>
> I have to expose some properties?<br>
><br>
> Biao<br>
><br>
> On Thu, Feb 19, 2009 at 9:17 AM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> The combo-box is only for unstructured volume rendering (and works<br>
>> perfectly fine for that). I believe Biao is taking about image data<br>
>> volume rendering.<br>
>><br>
>> Utkarsh<br>
>><br>
>> On Thu, Feb 19, 2009 at 10:06 AM, pat marion <<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>><br>
>> wrote:<br>
>> > There is a combo box in the Display tab that allows you to select the<br>
>> > volume mapper, but it looks like that combo box is not working. I<br>
>> > know it used to work, does anyone know what happened?<br>
>> ><br>
>> > Pat<br>
>> ><br>
>> > On Thu, Feb 19, 2009 at 7:38 AM, Utkarsh Ayachit<br>
>> > <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>> >> I know it's kind of hacky, but you can simply edit the XML file and<br>
>> >> change the mapper used. Look at<br>
>> >> Servers/ServerManager/Resources/rendering.xml. In the XML for<br>
>> >> "UniformGridVolumeRepresentation"<br>
>> >> change FixedPointVolumeRayCastMapper to something else. Then after the<br>
>> >> definition for FixedPointVolumeRayCastMapper, add a new definition for<br>
>> >> the VolumeTextureMapper3D and use that in the<br>
>> >> "UniformGridVolumeRepresentation". I am not sure it's going to work<br>
>> >> out of the box. But work a try.<br>
>> >><br>
>> >> Utkarsh<br>
>> >><br>
>> >> On Wed, Feb 18, 2009 at 6:42 PM, Biao She <<a href="mailto:shebiao@gmail.com" target="_blank">shebiao@gmail.com</a>> wrote:<br>
>> >>> Hi everyone.<br>
>> >>> I have debugged paraview for days. The reason is that I want to use<br>
>> >>> vtkOpenGLVolumeTextureMapper3d mapper instead of the default volume<br>
>> >>> mapper<br>
>> >>> vtkFixedPointVolumeRayCastMapper in Paraview.<br>
>> >>> Till now, I haven't figured out how to do that. Has anyone done this<br>
>> >>> before?<br>
>> >>> Any hint and help is greatly appreciated.<br>
>> >>> Thanks,<br>
>> >>><br>
>> >>> Aaron<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> >>><br>
>> >>> Visit other Kitware open-source projects at<br>
>> >>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> >>><br>
>> >>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>> >>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> >>><br>
>> >>> Follow this link to subscribe/unsubscribe:<br>
>> >>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> >>><br>
>> >>><br>
>> >> _______________________________________________<br>
>> >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> >><br>
>> >> Visit other Kitware open-source projects at<br>
>> >> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> >><br>
>> >> Please keep messages on-topic and check the ParaView Wiki at:<br>
>> >> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> >><br>
>> >> Follow this link to subscribe/unsubscribe:<br>
>> >> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> >><br>
>> ><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>She, Biao<br>Department of Computing Science,<br>University of Alberta, Edmonton, Canada<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>She, Biao<br>Department of Computing Science,<br>University of Alberta, Edmonton, Canada<br>