TomRaynor Posted September 8, 2014 Share Posted September 8, 2014 (edited) I'm a bit stuck... Hopefully someone can help. I have a camera that has animation in it's translate and rotate channels and also is following a path object. I am trying to bake out this camera animation (with the curve path motion) onto a fresh new camera. I have no idea how to do this. Any help would be much appreciated! I have attached a scene file showing what I am trying to do. Thanks. bakeCameraAnimation_v01.hip Edited September 8, 2014 by TomRaynor Quote Link to comment Share on other sites More sharing options...
TomRaynor Posted September 8, 2014 Author Share Posted September 8, 2014 Figured out a way using vtorigin and vrorigin expressions but if anyone has any better ways then let me know. Cheers. Quote Link to comment Share on other sites More sharing options...
michael Posted September 8, 2014 Share Posted September 8, 2014 try this I've grabbed th transform into CHOPs using the object chop then sent that back out to obj onto a null - it's best to not put animation right on the camera... bakeCameraAnimation_v02.hip Quote Link to comment Share on other sites More sharing options...
jordibares Posted September 14, 2014 Share Posted September 14, 2014 Tom, this is one of the things you will certainly try to script and it is not that trivial due to continuous rotations. enjoy. Quote Link to comment Share on other sites More sharing options...
whodini Posted October 7, 2014 Share Posted October 7, 2014 I was able to get a camera baked out by creating a new camera (with matched parameters) and using origin("","/obj/originalcam","TX") to get the worldspace transform for my original cam (just substitute TX with TY, TZ, RX, RY, RZ) to get the correct component. Then I scoped the transform and rotate channels in the channel and selected the frame range I wanted to export in the dopesheet and chose Edit>Key Selection. Then lastly I chose Channels>Export Displayed Channels as.. and saved the animation range out to a chn file. I saved a hip file with the copied camera, and read the transfroms from the chn file in chops to hook it all up. Note, you may have to parse the chn file to make the baked out data linear if you run into errors, can be done with any text editor. I wish there was an easier way but this method had been my only brute force option. Quote Link to comment Share on other sites More sharing options...
edward Posted October 8, 2014 Share Posted October 8, 2014 What's wrong with Michael's CHOP solution? That would be my preference as well. Quote Link to comment Share on other sites More sharing options...
jordibares Posted October 8, 2014 Share Posted October 8, 2014 I rather not use CHOPs as I want to keep editing the animation curves, furthermore, when you are doing layout or camera tracking work in Houdini chances are, lining up scenes will require OBJ level transforms and multiple hierarchies so it is a bit convoluted approach and simply kills the normal flow of work forcing you to dive into technicalities of specific nodes, etc... Also, there is the issue CHOPs being buggy sometimes and in this particular case I have been recently dealing with it so not the great experience it should be to be honest. No doubt CHOPs may be the best way for the final product but IMHO not while you are developing the shot. hope it helps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.