Constraining camera to simulated geometry

   5226   4   1
User Avatar
Member
33 posts
Joined: 3月 2014
Offline
This may be an easy one but I can't seem to figure out a way to rigidly constrain a camera to a simulated object. I need to do a POV shot off one of the RBD simulations. Is there a way of finding out it's world space coordinates Post-Sim?

Thanks in advance!
User Avatar
Member
606 posts
Joined: 5月 2007
Offline
Well, you can use rivet to parent an OBJ level node to a geo point.

Attachments:
ee_cam_fracture_parent.hip (316.1 KB)

User Avatar
Member
33 posts
Joined: 3月 2014
Offline
So that's how you use it. Love learning the nuance of all these new Houdini tools
Thanks!
User Avatar
Member
33 posts
Joined: 3月 2014
Offline
New problem. I can use rivets to connect the camera and constrain the camera's rotation by using another rivet. However, due to the way that Houdini wants to have the camera have a relationship to an “up” orientation I'm having difficulty figuring out a way to keep the camera from constantly trying to “roll” when it is supposed to be hard mounted to the simulation object (POV style).

Any thoughts?
User Avatar
Member
606 posts
Joined: 5月 2007
Offline
Add a Polyframe SOP, and in the DOP Import SOP add “up” to the “N” already present in the Vector Attributes To Transform parameter.

I guess adding the Polyframe after the DOP Import would work too.

Attachments:
ee_cam_fracture_parent2.hip (318.0 KB)

  • Quick Links