Jump to content

Follow camera VEX variations


art3mis

Recommended Posts

So the following simple VEX code will track a camera exactly with an object but I am trying to achieve 2 different variations

1- follow but with inertia

2- follow but with handheld or ‘shakey cam’ adjustable effect

Can any VEX experts help with the above?

matrix m = optransform('/obj/cam1'); 
@P *=m;
Edited by art3mis
Link to comment
Share on other sites

I think this is probably a better place for CHOPs than VEX, unless you want to get nasty with Channel Wrangles.

Attached a shakycam scene example, with lag as well. I'm doing a little math in CHOPs to mask the shakycam effect (three Noise CHOPs added to translate) by the speed of the camera's movement, so the shaking only happens when the camera is moving.

shakycam.hip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...