sky Posted April 1, 2003 Share Posted April 1, 2003 Hi there Is it possible to import max camera into houdini ? If so, how can I do ? After I tested it, I think maybe there was different coordinate. Thanks Quote Link to comment Share on other sites More sharing options...
edward Posted April 1, 2003 Share Posted April 1, 2003 From this article: http://sparks.discreet.com/knowledgebase/p...CamToD3DCam.htm It states that 3DS Max's camera is : (Up, Front, Right) == (+Z axis, +Y axis, +X axis) However, Houdini's camera is : (Up, Front, Right) == (+Y axis, -Z axis, +X axis) This means that you must convert your camera transform parameters appropriately. Quote Link to comment Share on other sites More sharing options...
sky Posted April 1, 2003 Author Share Posted April 1, 2003 Thanks edward I think it would be help to me. Thanks again Quote Link to comment Share on other sites More sharing options...
sky Posted May 1, 2003 Author Share Posted May 1, 2003 Hi edward I tested it, but I confused yet. If translate value are t[xyz] = [ 1 2 3 ], r[xyz] = [ 4 5 6 ], What are correct converted value in houdini ? > Houdini's camera is : > (Up, Front, Right) == (+Y axis, -Z axis, +X axis) Is Front -Z axis ? Quote Link to comment Share on other sites More sharing options...
edward Posted May 1, 2003 Share Posted May 1, 2003 Yes. So I believe you would need to rotate your camera's -90 degrees in world space. The easiest way to do that is probably to create a non-displayed null object with -90 in the rx value and then parent your camera as a child of this null. Quote Link to comment Share on other sites More sharing options...
sky Posted May 2, 2003 Author Share Posted May 2, 2003 Hi edward That's good idea. Thanks edward. Quote Link to comment Share on other sites More sharing options...
BrianK Posted October 28, 2005 Share Posted October 28, 2005 Reviving this old thread... To a Max neophyte (me), does the Max SDK have to get involved to spit out camera data from Max? ...Or is there (hopefully) some way to do it without breaking out the compiler and thumbing through a new SDK? Quote Link to comment Share on other sites More sharing options...
loopyllama Posted December 19, 2005 Share Posted December 19, 2005 All camera data is available through maxscript. for instance: for cam in cameras do print cam.fov Have a look at the cameras properties under the MAXScript reference. Quote Link to comment Share on other sites More sharing options...
BrianK Posted December 20, 2005 Share Posted December 20, 2005 All camera data is available through maxscript. for instance: for cam in cameras do print cam.fov Have a look at the cameras properties under the MAXScript reference. 23334[/snapback] Thanks... That may be useful in the future. Quote Link to comment Share on other sites More sharing options...
Gordon Posted August 8, 2006 Share Posted August 8, 2006 Thanks... That may be useful in the future. You can query the camera's transform matrix directly, by getting the .tm or .transform.matrix property of the camera object. I'm pretty sure you can also construct your own transform matrix to do the rotations and inversions for you, multiply the two together and generate your rotations and position information that way in one easy step. 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.