[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    Re: [Paraview] vtkPVCameraCueManipulator (0x8353f8e60): Too few keyframes to animate.
From:       Utkarsh Ayachit <utkarsh.ayachit () kitware ! com>
Date:       2014-07-23 15:11:15
Message-ID: CADHSJjAduGLSLOnY7m_MXUAB3rb2aJJzQtn=auf1ok5drUvOEQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


While it's hard to get right of those values from trace, what's definitely
working already is the development version is, if you're tracing and you
hit the "reset camera" button", it will trace the Python method to use to
do extactly that which is "ResetCamera" and not the actual camera property
values. Would that help?

Utkarsh


On Wed, Jul 23, 2014 at 10:46 AM, Anton Shterenlikht <mexas@bris.ac.uk>
wrote:

> >From utkarsh.ayachit@kitware.com Wed Jul 23 15:02:03 2014
> >
> >Can you switch the lines "WriteAnimation" and "CameraAnimationCue.KeyFrame
> >=...". The WrieAnimation should happen after that.
>
> yes, that helped, thanks.
>
> > Seems like a bug in the
> >tracing code. The tracing code is being revamped. Although animation has
> >been skipped in this revamp, it's on my todo list for subsequent release.
>
> If you are talking about revamping,
> would be great to get an easier way
> to specify various parameters as
> variables, not actual values, e.g.
> in this code, produced by the tracer:
>
> RenderView1.CameraPosition = [127.5, 127.5, 883.8540784668097]
> RenderView1.CameraFocalPoint = [127.5, 127.5, 95.5]
> RenderView1.CameraClippingRange = [590.4255376821416, 1039.4068896438118]
> RenderView1.CameraParallelScale = 204.0410497914574
>
> all number will have to be changed
> if the size of my model changes,
> but it's not clear how to scale
> them with the data.
>
> Many thanks
>
> Anton
>
>

[Attachment #5 (text/html)]

<div dir="ltr">While it&#39;s hard to get right of those values from trace, \
what&#39;s definitely working already is the development version is, if you&#39;re \
tracing and you hit the &quot;reset camera&quot; button&quot;, it will trace the \
Python method to use to do extactly that which is &quot;ResetCamera&quot; and not the \
actual camera property values. Would that help?<div> \
<br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Wed, Jul 23, 2014 at 10:46 AM, Anton Shterenlikht <span \
dir="ltr">&lt;<a href="mailto:mexas@bris.ac.uk" \
target="_blank">mexas@bris.ac.uk</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">&gt;From <a \
href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a> Wed Jul 23 \
15:02:03 2014<br> <div class="">&gt;<br>
&gt;Can you switch the lines &quot;WriteAnimation&quot; and \
&quot;CameraAnimationCue.KeyFrame<br> &gt;=...&quot;. The WrieAnimation should happen \
after that.<br> <br>
</div>yes, that helped, thanks.<br>
<div class=""><br>
&gt; Seems like a bug in the<br>
&gt;tracing code. The tracing code is being revamped. Although animation has<br>
&gt;been skipped in this revamp, it&#39;s on my todo list for subsequent release.<br>
<br>
</div>If you are talking about revamping,<br>
would be great to get an easier way<br>
to specify various parameters as<br>
variables, not actual values, e.g.<br>
in this code, produced by the tracer:<br>
<div class=""><br>
RenderView1.CameraPosition = [127.5, 127.5, 883.8540784668097]<br>
RenderView1.CameraFocalPoint = [127.5, 127.5, 95.5]<br>
RenderView1.CameraClippingRange = [590.4255376821416, 1039.4068896438118]<br>
RenderView1.CameraParallelScale = 204.0410497914574<br>
<br>
</div>all number will have to be changed<br>
if the size of my model changes,<br>
but it&#39;s not clear how to scale<br>
them with the data.<br>
<br>
Many thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
Anton<br>
<br>
</font></span></blockquote></div><br></div>



_______________________________________________
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://public.kitware.com/mailman/listinfo/paraview


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic