Cameras
-
@sigasiempre said:
I’m working on an animation showing two spheres approaching and then then separating. When they are close I show a spring between them compressing and releasing to represent the physical processes that occur (work and energy). I have the basics set and am now trying to add in camera effects. I’d like the camera to follow the objects as they approach, showing a closer view of the spring as they rebound. However, when I tried camera extents, the starting position I selected for the spheres changes automatically for some reason. Not sure what I’m doing wrong.
Difficult to visualize. Would you have the animated model so that I better understand.
Thanks
Fredo
-
Thanks. Here's the link:
https://we.tl/lxZ8SfO5WoFor some reason the file often changes the view to very distant.
Also the easing I used leads to a lag between compression and release of the spring but I think I can edit that later. -
@sigasiempre said:
Thanks. Here's the link:
https://we.tl/lxZ8SfO5WoFor some reason the file often changes the view to very distant.
Also the easing I used leads to a lag between compression and release of the spring but I think I can edit that later.Here are the issues
-
There are NO cameras in your animation. So I suggest you add some view cameras along the timeline, depending on what you want to show. I did it in the movie attached, but it's really your part.
-
Your model is in parallel projection by defaut. Animator prefers perspective. Actually I did not explore parallel projections so far.
-
the gap when the spheres go close is due to the fact that you replace the spheres on one layer (far) by the same spheres on another layer (close), and they are not in the same position at the time of this transition.
-
There is something strange in your model, which is about 35 Mb, with only 2 spheres and a spring. For whatever reason, it makes Animator less fluid.
Fredo
-
-
Thanks for looking at this for me. I keep working at it based on what you said.
-
Hi again,
-
You should do a "Purge Unused". Your model file will go down from 35 Mb to about 4 Mb.
-
I attach a simulation with cameras. You only need a pair of spheres, not the the two pairs you had.
Segasiempre - Spring repel - SU2017.skp
-
In the simulation, you'll see that I grouped the inbound movement into a clip, so that I can re-use it for the outbound with the Reverse modifier.
-
I found reason for the problem of performance (making the movement hatched when played interactively). This is in the Scaling. I fix that and it will go in a next version of LibFredo6.
-
Can you tell me more about the 'crash' at exit. Is it a bugsplat?
Fredo
-
-
Thanks for the help. I have this working now.
I've been unable to export as a movie but I've exported as a file sequence that I turned into a movie using ImageJ.
A few issues are puzzling me:
-
I went back to further improve the cameras and found that they had disappeared. I'm sure I saved the file after I put the cameras in.
-
My exported images are cut off a bit. I'm not sure where to adjust this.
-
It isn't a big problem for me but SketchUp crashes everything I quit after using Animator.
In case you want to look at my file here's the link for the most recent version:
https://we.tl/KqKpMZHm3CAdditional point:
I just downloaded the file from the link above and found it is not working correctly. At least part of the problem is that both object movements and cameras keep disappearing and I have to replace them. So the animation works correctly at first but then does strange things when I replace object movements and cameras. -
-
Hello Fredo,
Thanks for looking into this.
The problems on quitting are bugsplats. I started not reporting them because they were happening so often. Is it better to keep reporting? Let me know if there’s anything I can do to help further.
I have to do a number of similar animations for my project so I want to clearly understand your message. Several questions…
I tried to run the file you sent but it won’t animate. How can I fix this?
What do you mean by “making the movement hatched when played interactively”.
I need to show the spring motion decelerate (or accelerate for other cases later). Having 4 spheres allowed me to show constant motion as the spheres approached from a distance and then decelerated as the spheres interacted with the spring. Can I show constant motion and then deceleration with just 2 spheres? If so, how?
Would it be best for me to start this animation over? I think part of my problem may have been that I moved or renamed my file a few times. If I start over I’ll keep the same file name and location.
If the fix for Scaling will be in the next version of LibFredo6 should I wait for that before continuing to work on this?
Thanks for your help, David
-
David,
Let's take things in order
- What happens to the file I sent you? Can you open the Ruby Console to see if there are errors. Here is a new version (I included Easing for the translation of spheres). Can you load it and run the animation ?
Sigasiempre - Spring repel - with easing - SU2017.skp
- You can influence the speed of movement with Easing. Click on a movement in the timeline, then set the easing based on the dropdown option
- You have also two weird problems, which I need to understand better:
- bugsplats when exiting
- non saving of cameras
Are they related, that is, the animation is not saved properly because you get a bugsplat?
Fredo
-
Hello Fredo,
The animation in the file you sent still doesn't run for me.
When I tried to run the animation the Ruby Console showed no errors.
Then I noticed the animation wasn't positioned at its start so I hit rewind. Then the following appeared in Ruby Console:Error: #<NoMethodError: undefined method
entityID' for nil:NilClass> /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1078:in
block (2 levels) in animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1077:ineach' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1077:in
block in animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1071:ineach' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1071:in
animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1607:inanimal_animate_finalize_execution' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:577:in
animal_animate_film'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatorclipmanager.rbe:1071:inclip_animate' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatorclipmanager.rbe:1248:in
notify_from_clip_animation'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:239:incall' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:239:in
notify_event'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:447:inperform' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:321:in
rewind'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:473:incancel' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:138:in
block in stop_current'
SketchUp:1:incall' Error: #<NoMethodError: undefined method
entityID' for nil:NilClass>
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1078:inblock (2 levels) in animal_post_processing_visual_layer' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1077:in
each'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1077:inblock in animal_post_processing_visual_layer' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1071:in
each'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1071:inanimal_post_processing_visual_layer' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1607:in
animal_animate_finalize_execution'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:577:inanimal_animate_film' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatorclipmanager.rbe:1071:in
clip_animate'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatorclipmanager.rbe:1248:innotify_from_clip_animation' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:239:in
call'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:239:innotify_event' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:447:in
perform'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:404:innextFrame' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:55:in
block in nextFrame'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:54:ineach' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:54:in
nextFrame'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatortool.rbe:1708:innextFrame' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:363:in
animation='
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:363:inlaunch' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:158:in
block in play_current'
...
Error: #<NoMethodError: undefined methodentityID' for nil:NilClass> /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1078:in
block (2 levels) in animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1077:ineach' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1077:in
block in animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1071:ineach' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1071:in
animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1607:inanimal_animate_finalize_execution' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:577:in
animal_animate_film'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatorclipmanager.rbe:1071:inclip_animate' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatorclipmanager.rbe:1248:in
notify_from_clip_animation'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:239:incall' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:239:in
notify_event'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:447:inperform' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:404:in
nextFrame'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:55:inblock in nextFrame' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:54:in
each'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:54:innextFrame' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatortool.rbe:1708:in
nextFrame'
Error: #<NoMethodError: undefined methodentityID' for nil:NilClass> /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1078:in
block (2 levels) in animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1077:ineach' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1077:in
block in animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1071:ineach' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1071:in
animal_post_processing_visual_layer'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:1607:inanimal_animate_finalize_execution' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatoranimal.rbe:577:in
animal_animate_film'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatorclipmanager.rbe:1071:inclip_animate' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatorclipmanager.rbe:1248:in
notify_from_clip_animation'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:239:incall' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:239:in
notify_event'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:447:inperform' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:321:in
rewind'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:473:incancel' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:71:in
block in cancel_all'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:68:ineach' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/body_lib6animationengine.rbe:68:in
cancel_all'
/users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatortool.rbe:1530:inhandle_escape_undo' /users/davidrosen/library/application support/sketchup 2017/sketchup/plugins/fredo6_animator/animatortool.rbe:1504:in
onCancel'For easing: In my original version I had "out exponential" for the spring portion but for the initial approach and final separation I had linear. I need to do this for my project. That's why I had two separate pairs of spheres... one is linear easing for approach and separate (before and after the spring portion... the spring needs to be invisible during these itmes) and one is exponential for during the spring portion. Is is possible to change the easing in the middle of a movement? If so I can go with one pair of spheres.
For bugsplats:
What I've been doing is- Save the skp. This seems to occur normally.
- Then I close the skp. A dialog asks: "Temporary Exit to Sketchup?"
- If I say "no" and then quit Sketchup there is no bugsplat.
- I I say "yes" and then quite Sketchup then bugsplat happens.
For camera non-saving:
I save and quit as described above. Bugsplat happens. When I reopen cameras are gone. -
David,
-
Here is an updated skp file of the animation. Please advise if you can open it.
Actually, I had deleted a layer which was used by the animation and there was a bug in Animator about that -
The bugsplat you get seems to be related to the fact that you exit Sketchup with Animtor active. You should close Animator first, and then exit. Please advise if you still have bugsplat if you follow this process, and also if you can now save cameras.
Fredo
-
-
Hello Fredo,
I opened the file you sent and ran the animation without problems.
If I use the animator exit tool, save, then quit, there’s no crash.
If I exit temporarily to SU, save, then quit. I get bugsplat.I’ve been able to use your version of the animation and make modifications without any problems so far.
Let me know if there’s any way I can be of help. For example, I you want to send me a file to test on a mac, etc.
Thanks, David
-
Thanks for the feedback.
Definitely, you MUST NOT quit Sketchup when Animator is started, whther you exited temporarily. This is a limitation which I'll try to resolve.
Are you able to create cameras?
Fredo
Advertisement