Camera boom swing and track - geometry constaints or kinefx

   512   3   1
User Avatar
Member
82 posts
Joined: 9月 2008
Offline
Hi I'm trying to simulate a boom swing and track movement. The end of which is controlled by a polygon path.
I'm exporting the final rotations and track to Dragonframe as an FBX that then can do some motor controlling on a rig I have set up.
A torch is added at the end of the boom that "draws" while a long exposure is taken. fun

here it is working in 2d

I've been trying to figure out how to do this firstly through chops as geometry constraints, it works like a piston but the problem is that the offset isn't correct. and the end of the boom creates a distorted path. the chop way is quite tidy as the constraints can be baked and exported quickly. I've had a go at doing this in kinefx and trying to adapt a project that uses a piston rig. Also ray sop , nearest distance only not set distance. or is the solution just some maths triginometry?

Any help much appreciated
Edited by HUGHSPEERS - 2024年10月2日 12:39:11

Attachments:
light_paint.jpeg (173.5 KB)

User Avatar
Member
82 posts
Joined: 9月 2008
Offline
here's the HIP
Edited by HUGHSPEERS - 2024年10月2日 12:40:55

Attachments:
hip.hiplc (257.7 KB)
slider.jpg (444.5 KB)

User Avatar
Member
152 posts
Joined: 8月 2017
Offline
play with this

Attachments:
camera_chop.hipnc (207.8 KB)

Conservation of Momentum
User Avatar
Member
82 posts
Joined: 9月 2008
Offline
Hi CNC
Thanks for the project file, I like the use of the geometry import and stretch to follow the path. very handy thanks. I've used that in the below.
I ended up brute forcing the solution with sops but I'm sure there is a more elegent maths way if anyone is up to the challenge?

The thing that needs solving for this set up is how to make the offset of the camera stay at the same distance (boom arm length) from the path point it is following but stick along the track (fixed axis).
Essentialy calculate the points on a line from a given point at a given distance. you can then look back at the point

I ended up using a distance from geometry node and masking the points out to get the offset. just to be confusing in the image below the cameras pointing in the wrong direction because it reverses when baked.

Image Not Found
Edited by HUGHSPEERS - 2024年10月4日 11:29:50

Attachments:
distance_to_path.png (1.6 MB)
brute_solve.hiplc (373.8 KB)

  • Quick Links