HoHa Camera HandHeld

12 votes
Version: 
1.2
Date Updated: 
07/29/2013

 

Hello.

Here is another script for the community.

I was looking for a good camera shake - handheld generator for 3ds max. Couldn't find any. So I decided to write a script to make that happen. ( Didn't we all? :))

Handheld Desmonstration

 

What this script does is pretty straight forward: Make the hand held effect. You can also make camera shake effect for earthquake scene, or for strong impact scene. 

This script can handle both Vray camera and Normal camera, both with target or without target.

It support undo, and to delete all keyframe of the selected camera.

You can also animate the camera first, then apply the shake in a time range within. Or you can use animation layer to animate the camera after the shake.

Usage: 

HandHeld_UI

  • Pick the camera - support Free & target Normal camera, Free & target Vray Physical Camera. Sorry no Vray Dome Camera, as I figured noone will use dome camera for shaking... :)
  • Set the shaking time
  • Set keyframe distance - which will determine the speed of the shake, which will differentiate handheld and shake.
  • Set the position of the camera - how much it will offset from its current position.
  • Set the position of the target - as above, will be grey-out if the camera doesn't have target.
  • Set the roll angle - determine how much tilted the camera will be.
  • If you want to make the shake on a new animation layer, leave it checked. If you want to key directly to the camera, uncheck it. With animation layer, as titane357 suggested, you can set the weight to make the effect stronger or lesser, and can easily delete layer to come back the previous animation. Thanks titane357.
  • Shake!! - to shake.
  • Remove ALL key - please remember: ALL KEY from the camera. I originally want to just remove keys within the time range. Turn out harder than I thought. Please if anyone has the solution, give me a line.

It currently doesn't support camera animated by path constraint. For that, please use path constraint on a dummy, then link the camera to the dummy, then this script.!

Anyone who has any idea to improve the script, please drop me a line. Also let me know how do you think about the script.

Tested on 3ds max 2012.

ChangeLog:

Ver 1.2: Change the numbers from interger to float --> enable to make smaller changes to the coordinates. (Thanks to Johnny Vex)

Ver 1.1a:

  • Fix it so that only cameras can be picked.
  • Camera variable from Global to Local
  • Added message Box if you didn't choose the camera, and prevent the script get broken.
  • Change the name of the newly created animation layers to describe it better.

Ver 1.1: Added a checkbox to make the shake on an Animation layer. titane357's Idea.

For usability, I decided to make only 1 layer, instead of adding layers, and I don't add a delete layer button, as it might mess up user's data. So please manage the layers by max's toolbar.

 

Regards.

Hoang Ha

Version Requirement: 
It might be able to run on most of max.
AttachmentSize
hoha_camerahandheld_v1.2.ms5.41 KB
hoha_camerahandheld_v1.1a.ms5.41 KB
hoha_camerahandheld_v1.1.ms5.1 KB
hoha_camerahandheld_v1.ms4.62 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
titane357's picture

hello Thanks for sharing. I

hello
Thanks for sharing.
I think you should use animation layers.
For eg :
- you can change animation layer weight to reduce effect (more control in RT)
- if you apply your script in an animation layer you can go back to original keys deleting the layer.
- it would be great to create a separate layer for camera and target shake.
Cheers

superhoha's picture

Great!

Thanks.

Hope to hear your feedback!

chakib's picture

Great work !

i'll test this baby thanks a lot !

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.