<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi </span><font color="#222222" face="arial, sans-serif">Christian, </font></div><div><font color="#222222" face="arial, sans-serif"><br>
</font></div><div><font color="#222222" face="arial, sans-serif">Sorry for the late reply. Not directly answering your question, but would like to inform you that we (Mostly Dave and some me) recently made improvements to the VR Plugin and now its merged back into master. </font></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">(13598-VRGrabWorldFix in master now)</span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">I am wondering if you would like to update / test your code against today&#39;s master. If you have some specific questions, we should be able to help. </span></div>
<div><br></div><div><font color="#222222" face="arial, sans-serif">Thanks,</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 2:38 AM, Christian Richter <span dir="ltr">&lt;<a href="mailto:christian.richter@ovgu.de" target="_blank">christian.richter@ovgu.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cory,<br>
<br>
thats awesome, thank you so much for sharing this.<br>
<br>
I would suggest the following change in HandleAnalog to support parallel-projection deph-scaling because moving in Z-Direction has no effect:<br>
<br>
int mode = camera-&gt;GetParallelProjection(<u></u>);<br>
    if (mode) {<br>
        //in case of parallel projection: moving in deph-direction has no effect, so needs scaling<br>
        pscale = camera-&gt;GetParallelScale();<br>
        pscale += 0.05*channel[1];<br>
        camera-&gt;SetParallelScale( pscale );<br>
    }<br>
<br>
However, the segfault remains at Enqueue for the first time a Style is arranged via the GUI Panel:<br>
(if you load a state file it works and becaue I only want to set up the Interactor Pipeline once and start with a state file it is not a big problem)<br>
<br>
Core was generated by `/home/dem/playground/<u></u>ParaView/build/bin/paraview --use-old-panels&#39;.<br>
Program terminated with signal 11, Segmentation fault.<br>
#0  0x00007f404cbeac56 in vtkVRQueue::Enqueue(<u></u>vtkVREventData const&amp;) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
(gdb) bt<br>
#0  0x00007f404cbeac56 in vtkVRQueue::Enqueue(<u></u>vtkVREventData const&amp;) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#1  0x00007f404cbe165a in pqVRPNConnection::<u></u>newAnalogValue(_vrpn_ANALOGCB) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#2  0x00007f404cbf1347 in vrpn_Callback_List&lt;_vrpn_<u></u>ANALOGCB&gt;::call_handlers(_<u></u>vrpn_ANALOGCB const&amp;) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#3  0x00007f404cbf0c7d in vrpn_Analog_Remote::handle_<u></u>change_message(void*, vrpn_HANDLERPARAM) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#4  0x00007f404cbf7fbc in vrpn_TypeDispatcher::<u></u>doCallbacksFor(int, int, timeval, unsigned int, char const*) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#5  0x00007f404cbfe1cf in vrpn_Endpoint::dispatch(int, int, timeval, unsigned int, char*) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#6  0x00007f404cbfe110 in vrpn_Endpoint_IP::<u></u>getOneUDPMessage(char*, int) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#7  0x00007f404cbfca8e in vrpn_Endpoint_IP::handle_udp_<u></u>messages(timeval const*) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#8  0x00007f404cbfb663 in vrpn_Endpoint_IP::mainloop(<u></u>timeval*) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#9  0x00007f404cc019a7 in vrpn_Connection_IP::mainloop(<u></u>timeval const*) () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#10 0x00007f404cbf5aeb in vrpn_Button_Remote::mainloop() () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
#11 0x00007f404cbdb38a in pqVRPNConnection::run() () from /home/dem/playground/ParaView/<u></u>build/bin/../lib//libVRPlugin.<u></u>so<br>
<br>
Thank you,<br>
best wishes,<br>
Christian<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<u></u>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/<u></u>mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&amp;D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>