<div dir="ltr">Ryan,<div><br></div><div>In case you are still working on this, try adding this line before setting the StereoType</div><div><br></div><div><span style="font-size:12.8px">view.StereoRender = 1</span><br></div><div><span style="font-size:12.8px">view.StereoType = st.capitalize()</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">HTH,</span></div><div><span style="font-size:12.8px">Cory</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 6, 2015 at 8:58 AM, Ryan Abernathey <span dir="ltr"><<a href="mailto:ryan.abernathey@gmail.com" target="_blank">ryan.abernathey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Any thoughts on this issue?<div><br></div><div>Has anyone else successfully output stereo images from pvbatch?</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 3:38 PM, Ryan Abernathey <span dir="ltr"><<a href="mailto:ryan.abernathey@gmail.com" target="_blank">ryan.abernathey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am trying to output an animation using batch mode in stereo. I want to output one set of images for the left eye and one for the right eye. In my script, I tried to do this by setting view.StereoType = "Left" or "Right". However, this doesn't work; both produce identical output.<div><br></div><div>Can you give me some advice? Script is below. I am executing this with pvbatch.<br><div><br><div><br></div><div><div>import os</div><div>paraview.simple._DisableFirstRenderCameraReset()</div><div><br></div><div>state_dir = '/scratch/Paraview/hurricane/long_hourly_rotating/try4'<br></div><div>fname = 'filter_pre_render.pvsm'</div><div>st = 'left'</div><div># or</div><div># st = 'right'</div><div><br></div><div><br></div><div>servermanager.LoadState(os.path.join(state_dir, fname))</div><div>outdir = '/scratch/Paraview/hurricane/long_hourly_rotating/output/top_view/' + st</div><div>view = GetRenderView()</div><div>view.ViewSize = [1920, 1080]</div><div>view.StereoType = st.capitalize()</div><div>SetActiveView(view)</div><div>Render()</div><div>WriteAnimation(os.path.join(outdir, 'top_view_%s.png' % st))</div></div></div></div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>