import export .chan files

   22745   15   0
User Avatar
Member
60 posts
Joined: 6月 2008
Offline
How can i import and export .chan files?

i have a .chan files that contains a camera animation.

thanks a lot!
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
In your CHOP network, use File to import. To export, right-click on the node and choose Save Data Channels.
User Avatar
Member
60 posts
Joined: 6月 2008
Offline
sorry about the stupid questions, this must be really obvious to you. but i'm lost.

but, how do i connect my camera to the imported file?
regarding exporting, when i right click on the camera node i don't have an option for saving data channels…

thanks again!
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
Ah, screencast time …

http://screencast.com/t/MnWbNN4uP [screencast.com]

Let me know if you have troubles viewing the vid. I'm afraid that I'm not very good at it.
User Avatar
Member
60 posts
Joined: 6月 2008
Offline
wow, thanks a lot for the video!
still having some problem though.

about the exporting, if i don't already have a file, how would i the export? if i just ad the file nod and going to save data channels i wont get a dialog box for saving.

regarding the import, that was exactly what i was trying. but no luck. i'm attaching the file i'm trying to import.
it's a .dot just to be able to upload it.

thanks a lot!!

Attachments:
Untitled.dot (7.5 KB)

User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
Actually, .chan files don't have the channel names so i think you need to figure that out first.

For exporting, you can put down a Fetch CHOP and point it at your camera.
User Avatar
Member
60 posts
Joined: 6月 2008
Offline
aa thanks, the fetch node works!
so you don't have a sulotion for the importing of the .chan file?

thanks a lot anyway, you've helped me a lot!
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
Well, after importing .chan files, you need to rename the channel names to match which camera parameters you want to export to. So it all depends on how the .chan files were created in the first place.
User Avatar
Member
60 posts
Joined: 6月 2008
Offline
i think that the first six channels are TX TY TZ RX RY RZ.

how would i connect this to the camera?

thanks man.
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
Actually, you can just use the Export CHOP directly, as shown in the attached file.

Attachments:
camImport.hip (41.7 KB)

User Avatar
Member
60 posts
Joined: 6月 2008
Offline
sorry, but i can't open this file, i'm under osx.
when i load the file a dialog comes up with a warning saying. “skipping unrecognized parameter ”missgingfram"
skipping unrecognized parameter “active”"

and houdini locks up, i can't press ok in the dialog, the hole program freezes.
User Avatar
Member
60 posts
Joined: 6月 2008
Offline
got it! opend up the file in notepad and removed the exported part.

thank you so much, really helped me out!
perfect!
User Avatar
Member
60 posts
Joined: 6月 2008
Offline
dam, i was wrong, my first value in the chan file is the frame number.
and i can't type like this in the export node.
$f t r
User Avatar
Member
60 posts
Joined: 6月 2008
Offline
i also have the FOV as the last value, whats the code for that?

where can i find these codes?

sorry, thanks
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
Hover your mouse over the parameter name of the camera, a tooltip will appear with the channel names.

As for the Export CHOP, you can do something like chan then. What happens is that for both expanded strings, they get matched in order.
User Avatar
Member
14 posts
Joined: 12月 2008
Offline
hi,
i am trying to reference a channel loaded like that.
But somehow no result .. anybody can help?
  • Quick Links