help guys...I've got a track in boujou and now i need to import the camera into nuke. How do i do that without going thru Maya? Can nuke import camera data from Houdini?
Help much appreciated.
//g.
|
|
help guys...I've got a track in boujou and now i need to import the camera into nuke. How do i do that without going thru Maya? Can nuke import camera data from Houdini?
Help much appreciated.
//g.
All I have seen is the maya mel script for generating a chan-file. It's is not a wonder of hi-tech so if you are a coder and have some scripting skills I think you could code something for Houdini with the help of the maya mel file.
Let's hope that we'll see some improvments on this area for the 4.7 release. I BET there are some code at some company that can import either the .ma directly or some of the other formats Boujou can spit out.
In worst case scenario I can create the chan file for you with the help of Maya.
Just what i was afraid of.[ code illiterate]I'm wondering how most houses using nuke are getting their tracked solvers in...
![]()
![]()
![]()
No worries Henrik, i'll have to resolve to fusion instead...uggghh.
EDIT: Managed to export .chan files from Houdini using CHOPS. In nuke, import ascii .chan files into 3d cameras transform, rotate and focal length. Works great.
Last edited by alienox; May 23rd, 2007 at 07:21 AM.
Last edited by fr3drik; May 23rd, 2007 at 08:03 AM.
There's a script called import_boujou.tcl. It imports boujou camera directly to Nuke. Yo may also see fxshare for this script.
Wooooo! Just looked in the plugin-dir and there it is!
import_boujou.tcl
But I can't find it in any menu? =/ How do i load that in nuke? And is there more plugins that nuke doesn't load? Hmm... This is a bit mystic!
edit: it runs if I load the tcl in the file menu and then run the tcl command. But would be sweet to have it in menu. =/ Would also be sweet to know what else Bojou doesn't load as default.Code:# Copyright (c) 2007 The Foundry Visionmongers Ltd. All Rights Reserved. # Function called from the "import Boujou camera track" user knob of a # Boujou Camera gizmo. # read data from a Boujou text file: # format is: FRAME TX TY TZ RX RY RZ VFOV # this version will read fewer columns
Last edited by NEO; May 23rd, 2007 at 02:40 PM.
write in menu.tcl something like this:
menu "Custom/Import_Boujou" import_boujou2
You can Find a proper information in the User guide.=) There's enough information about syntax there. Good Luck.![]()
I acctually started to look at it and edited the menu.tcl and changed the 3d-manu entry according to this:
# 3D MENU ******************************************
menu "&3D/&Axis" Axis
menu "&3D/&Camera" Camera
#added by neo
menu "&3D/&Import Boujou" import_boujou
#
menu "&3D/&Geometry/&Card" Card
#menu "&3D/&Geometry/&Instance" InstanceGeo
menu "&3D/&Geometry/&Cube" Cube
menu "&3D/&Geometry/&Cylinder" Cylinder
menu "&3D/&Geometry/&Sphere" Sphere
menu "&3D/&Geometry/&Read" ReadGeo
menu "&3D/&Geometry/&Write" WriteGeo
Works like a charm! Thanks a billion Dmitry! Waiting for a track to finish so i can test it now =)
don't mention it=) Yes, you can customize your Nuke as you want. That's why I like it so much=)
Hi all, I have some problems to export a Boujou track to Nuke.
I have imported a txt file made by Boujou using the import_boujou2 TCL from FX Share.
In the first frame the track in perfect, but after some frames it becames off track. It looks like the lens is off or the frame rate is diferent, even do I have use the same exact seq to track and to comp in Nuke.
Anyone knows about this problem? any solution? maybe I am doing somethink bad.
Heya Hugo.
The exact same problem as I had and I think that my post is the one under this in the Nuke subforum. =) Did you miss that one?
Anyways, change the rotation order of the camera to XYZ instead of the default one. I do not now the default rotation order in Boujou, but that is what you have to do when going from Boujou to Maya to Nuke. So play with the rotation order. Then check the other camera settings in Boujou, film back and field of view, and change the nuke camera so it corrensponds to that. My laptop with nuke just burned up on so can't check what units they are in in nuke and Boujou. BUt you might have to convert from inch to mm or vice versa...
Thanks for the post, I did read it today, but it dosent work still.
I have recently used PFTRACK to Nuke, since PFTRACK 4 was a native Nuke exporter.
But aldo the scene looks fine, my point cloud dosent show up.
The point cloud becames a nested comp inside Nuke, and the only way to make it visible, is to open every single point of the cloud (like 300 of them) and manually put scale from 0 to 0.01.
It could be a bug in the PFTRACK exporter to Nuke.
Anyone tried the PFTrack 4 exporter?
So you are saying that chaging the rotation order doesn't help? And you changed all other camera settings in nuke so the camera match the one in Boujou in all ways...? If you check the rotation and translation of the camera on a frame where it doesn't match, are the values for rotation and translation in Nuke an Boujou the same?
Don't know what PFtrack exports. But if it's an editable txt-file you might be better of editing that one in like UUEdit or so and do a mass-replace for the value you need to change. Or to make a lil script in Nuke to do it for ya.
Try Camera Transform Order: SRT
Rotation Order: ZXY
I have this order in all of my projects and everything works fine.
| « Previous Thread | Next Thread » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |