Profile Picture

Camera Dolly Zoom (November Sample Script)

Posted By Chuck (RL) 5 Years Ago
You don't have permission to rate!
Author
Message
Chuck (RL)
Chuck (RL)
Posted 5 Years Ago
View Quick Profile
Trainer

Trainer (1.2K reputation)Trainer (1.2K reputation)Trainer (1.2K reputation)Trainer (1.2K reputation)Trainer (1.2K reputation)Trainer (1.2K reputation)Trainer (1.2K reputation)Trainer (1.2K reputation)Trainer (1.2K reputation)

Group: Administrators
Last Active: 2 Years Ago
Posts: 227, Visits: 2.1K
Camera Dolly Zoom ( Sample Script for November 2019)

In the last Python of the Month, the Reallusion Python Team introduced the Camera Auto-Focus sample script exercise which includes fundamental courses on handling timers, using bounding information, linking controls, utilizing camera DOF, among other useful tasks.

This time we'd like to introduce our fourth Python of the Month: Camera Dolly Zoom.  Through this course and its subsequent fundamental courses, you can learn how to returning object types, creating useful message boxes, validating objects, taking advantage of dialog callbacks, and more.



Dolly Zoom is an in-camera effect that utilizes perspective distortion to make the background appear as if it’s changing its size relative to the subject. The visual appearance for the viewer is that either the background suddenly grows in size and detail to overwhelm the foreground, or the foreground becomes immense and dominates the previous setting, depending on which way the dolly zoom is executed. This script simulates the Dolly Zoom effect by animating the camera's Focal Length and positioning according to the current camera settings and the desired Focal Length. Automatic Depth of Field on the target object is an optional setting.
  • You can download the script from the Marketplace.
  • To explore how it works, please visit the Python Wiki.
  • To get the source code, please visit our GitHub.
Important Notice: iClone 7.7 is Required!
If you have any questions about the plug-in and the sample code, please feel free to let us know by replying to this post.

Relevant Fundamental Courses

Please be sure to start from the fundamental courses to help you understand how this sample plug-in works.
  • Object Type - Return the object type for the first selected object.
  • Message Box - Create notifications and warning messages in iClone.
  • Item Lister - Learn how to validate objects for listing and removal.
  • Dialog Callback - Understand dialog callbacks at a deeper level.
  • Local Move - Use matrix math to locally translate an object.
For more courses and links to other Python of the Month activities, please visit here.

lkelemen
lkelemen
Posted 4 Years Ago
View Quick Profile
Veteran Member

Veteran Member (707 reputation)Veteran Member (707 reputation)Veteran Member (707 reputation)Veteran Member (707 reputation)Veteran Member (707 reputation)Veteran Member (707 reputation)Veteran Member (707 reputation)Veteran Member (707 reputation)Veteran Member (707 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 70, Visits: 1.1K
today on Facebook there was a post:
Install this Audio Driven plugin to animate sound waves in iClone! 🔊
It's free today!
📍(Download) https://bit.ly/2Ylr1CcMy comments:1. the link goes to the "Camera Dolly Zoom" plugin not to some "Audio Driven" plugin2. Anyway I downloaded the Camera Dolly Zoom plugin and installed it. When I open it from menu/plugins/python samples and then close it (click on its top right corner) then Iclone also closes without any message


Lajos



Reading This Topic