May 22nd, 2007,07:22 AM

Originally Posted by
NEO
The focal length seems to undergo some kind of conversion when it's imported with the chan file.
If you're talking about the value in the .chan file that comes after trans/rot xyz, it's not the focal lenght. It's the "vertical field of view", which is assumed to be an angle.
This is a note from the developers:

Originally Posted by
The Developers
The current camera import/export was designed to match the data files we happened to have from Houdini. If you are talking to a different program you may be able to save a lot of headache by directly converting their data to what the camera wants. The camera does not care at all about any height value and does not use any trigonometry. The actual value of interest is the ratio of focal_length to width.
Take a look at the import_chan_file.tcl plugin, it should be possible to modify this to import other tables of data.
// [url=http://www.averpil.com/fredrik/]Fredrik[/url]