Thread: Boujou to Nuke...ummm, how to.

Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 25
  1. #1 Boujou to Nuke...ummm, how to. 
    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.
    Reply With Quote  

  2. #2  
    Join Date
    Nov 2006
    Location
    Stockholm/Sweden
    Posts
    318
    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.

    Quote Originally Posted by alienox View Post
    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.
    NEO | cto | compositor | cg-artist | www.fxphd.com ...
    Reply With Quote  

  3. #3  
    Quote Originally Posted by NEO View Post
    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.
    Reply With Quote  

  4. #4  
    Join Date
    Aug 2003
    Location
    Sweden
    Posts
    111
    Quote Originally Posted by alienox View Post
    Can nuke import camera data from Houdini?
    I believe that the camera importer bundled with Nuke is primarily written for Houdini. If you need to modify the way Nuke imports camera data, have a look at import_chan_file.tcl inside the plugins folder.
    Last edited by fr3drik; May 23rd, 2007 at 08:03 AM.
    // [url=http://www.averpil.com/fredrik/]Fredrik[/url]
    Reply With Quote  

  5. #5  
    Join Date
    Mar 2007
    Posts
    34
    There's a script called import_boujou.tcl. It imports boujou camera directly to Nuke. Yo may also see fxshare for this script.
    Reply With Quote  

  6. #6  
    Join Date
    Nov 2006
    Location
    Stockholm/Sweden
    Posts
    318
    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!


    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
    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.

    Quote Originally Posted by Dmitriy View Post
    There's a script called import_boujou.tcl. It imports boujou camera directly to Nuke. Yo may also see fxshare for this script.
    Last edited by NEO; May 23rd, 2007 at 02:40 PM.
    NEO | cto | compositor | cg-artist | www.fxphd.com ...
    Reply With Quote  

  7. #7  
    Join Date
    Mar 2007
    Posts
    34
    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.
    Reply With Quote  

  8. #8  
    Join Date
    Nov 2006
    Location
    Stockholm/Sweden
    Posts
    318
    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 =)

    Quote Originally Posted by Dmitriy View Post
    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.
    NEO | cto | compositor | cg-artist | www.fxphd.com ...
    Reply With Quote  

  9. #9  
    Join Date
    Mar 2007
    Posts
    34
    don't mention it=) Yes, you can customize your Nuke as you want. That's why I like it so much=)
    Reply With Quote  

  10. #10 Boujou 4 to Nuke 4.6 
    Join Date
    Mar 2006
    Location
    London, UK
    Posts
    469
    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.
    Hugo Guerra
    Director / VFX Supervisor / Nuke Artist / Nuke training

    Portfolio Website
    Twitter: http://twitter.com/HugoCGuerra
    IMDB: http://www.imdb.com/name/nm1512412/
    Reply With Quote  

  11. #11  
    Join Date
    Nov 2006
    Location
    Stockholm/Sweden
    Posts
    318
    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...

    Quote Originally Posted by hugo_guerra View Post
    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.
    NEO | cto | compositor | cg-artist | www.fxphd.com ...
    Reply With Quote  

  12. #12 Maybe PFTRACK 4 is the answer for a good "from tracker to Nuke" 
    Join Date
    Mar 2006
    Location
    London, UK
    Posts
    469
    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?
    Hugo Guerra
    Director / VFX Supervisor / Nuke Artist / Nuke training

    Portfolio Website
    Twitter: http://twitter.com/HugoCGuerra
    IMDB: http://www.imdb.com/name/nm1512412/
    Reply With Quote  

  13. #13  
    Join Date
    Nov 2006
    Location
    Stockholm/Sweden
    Posts
    318
    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.

    Quote Originally Posted by hugo_guerra View Post
    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?
    NEO | cto | compositor | cg-artist | www.fxphd.com ...
    Reply With Quote  

  14. #14  
    Join Date
    Mar 2007
    Posts
    34
    Try Camera Transform Order: SRT
    Rotation Order: ZXY
    I have this order in all of my projects and everything works fine.
    Reply With Quote  

  15. #15  
    Join Date
    Nov 2006
    Location
    Stockholm/Sweden
    Posts
    318
    Humm... Isn't that the default in Nuke?

    Quote Originally Posted by Dmitriy View Post
    Try Camera Transform Order: SRT
    Rotation Order: ZXY
    I have this order in all of my projects and everything works fine.
    NEO | cto | compositor | cg-artist | www.fxphd.com ...
    Reply With Quote  

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Nuke vs Shake
    By vivekm in forum NUKE from The Foundry
    Replies: 32
    Last Post: March 19th, 2008, 10:02 AM
  2. New Version of NUKE to Preview at SIGGRAPH
    By CGnews in forum Industry News
    Replies: 0
    Last Post: July 13th, 2006, 04:35 AM
  3. Replies: 0
    Last Post: April 18th, 2006, 02:50 AM
  4. 2d3 Ships boujou three hi-end matchmoving toolkit
    By Paul Moran in forum Industry News
    Replies: 0
    Last Post: February 8th, 2005, 06:26 PM
  5. 2d3 RELEASES NEW BOUJOU BULLET
    By Paul Moran in forum Industry News
    Replies: 0
    Last Post: May 3rd, 2004, 03:51 AM
Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts