View Full Version : .chan export import

10-19-2007, 11:10 AM
Hi gang
Anyone know of a way to create .chan files from Camera Lightwave motion files?

03-15-2008, 03:12 PM
No one know ... bump !

03-17-2008, 06:54 AM
What the heck is .chan? :)

03-17-2008, 09:35 AM
What the heck is .chan? :)

Same thing crossed my mind. It seems like some sort of motion file. :wise:

03-17-2008, 10:00 AM
.chan files are the motion data files used by the Nuke compositor. Its also the format used by Terragen 2 to import motion data. Aparently Maya can export in that format (and yes I have posted there as well) but I dont have Maya.

03-17-2008, 12:03 PM

03-18-2008, 07:34 PM
export .chan in lw or export lw camera data to other app like maya and than get .chan file possible _?

03-21-2008, 11:28 AM
Just grab your camera, then just loop through all the frames reading the camera's info, convert with a little maths if needed (you'd need to know the correct format for Nuke) and then write to a text '.chan' file... A Generic LScript for Layout could do it fairly easy...

From what a few minutes research tells me, the file format is a simple text file, containing the data (tab delimited) for the camera at each frame as:

X, Y, Z position
RotX, RotY, RotZ rotation
Focal Length
Aperature Size

Then each line terminated with a linefeed.

Some fudging of LW's data may be needed to correct it to work in Nuke... But nothing too complex for someone with Nuke to build and test, I'm sure! I don't have, or use Nuke, otherwise I'd be keen to give it a bash... :)

CGTalk Moderation
03-21-2008, 11:28 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.