Jump to content

Camera From 3dsmax To Houdini


kubabuk

Recommended Posts

Hi there,

Hope some of you find this otl useful, I've just uploaded that on SESI exchange.

The otl brings animated camera from 3dsMAX to Houdini (transformations, rotations and focal length). The otl comes with a script which saves channels from max.

All you have to do is to select camera in MAX and run the script.

At this moment file is generated with cc extension so renaming to *.chan is needed. You also have to get rid of all camera descriptions at the beginning and leave only chan data.

Make sure that frame rate and aperture (horizontal) are the same

cheers

kuba

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

Thanks Kuba,

Your otl works nicely. I had to change one thing to get some longer animations saved out from MAX. Instead of copying the string in the loop, I changed things so that the chan is written directly. This stops out of memory crashes and improves performance for larger animations.

			-- outString = (outString +	nFrame as string + "\t" +
						outString = (nFrame as string + "\t" +
										oCameraPosX as string + "\t" +
										oCameraPosY as string + "\t" +
										oCameraPosZ as string + "\t" +
										oCameraRotX as string + "\t" +
										oCameraRotY as string + "\t" +
										oCameraRotZ as string + "\t" +
										focal as string + "\t" +
										oCameraApertureX as string + "\t" +
				 						maxRate as string + "\t" +
										oCameraAspect as string + "\t" +
										oEnd as string + "\n" )
						format outString to:out
		)

		-- format outString to:out

-Drew

There's an update of the otl on SESI exchange.

TX, TY, TZ

RX, RY, RZ

Focal Lenght

Aperture

Frame Rate

Camera Aspect Ratio

Animation Length

is supported

cheers

kuba

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...