Results 1 to 6 of 6

Thread: "Flair" format motion control data - import?

  1. #1
    oh corks
    Join Date
    Aug 2010
    Location
    end of the line
    Posts
    888

    "Flair" format motion control data - import?

    I have a bunch of .xyz files that were exported from a motion control rig. They're simple .txt files with a specific format, but essentially they're a list of xyz coords for the camera and for the camera "target".

    Has anybody seen a script anywhere that'll import these files? I've looked, but I've come up blank. It just seems like the kind of thing somebody would have had to deal with before now.

    Short of that, I'll have to try going through Maya, but I'd rather not...

  2. #2
    Super Member nickdigital's Avatar
    Join Date
    Nov 2006
    Location
    Burbank, California USA
    Posts
    4,576
    Information in this thread might help.
    http://forums.newtek.com/showthread....+data+importer

    It would just be a matter of parsing the data, creating a curve in Modeler, then exporting the curve as a motion path. The more direct route would be for a script to make the .mot file automatically. I made that script to be fairly "smart" in ingesting the data in any format. But without seeing your text file I can't guarantee that my script works.
    My opinions and comments do not represent those of my employer.
    Profile piece
    2010 Reel
    'The X's' Reel

  3. #3
    oh corks
    Join Date
    Aug 2010
    Location
    end of the line
    Posts
    888
    Thanks for the thread link. I can reformat the files by hand to an obj if all else fails, it'll be tedious but it's not impossible, so that's good to know.

    I'm surprised that there isn't a script floating around out there for this. I guess it's time to try the Maya route.

    I don't think your script will work, mainly because of the way the Flair format is... formatted. This is what the files look like:
    FlairFormat.txt
    track_in.txt
    Last edited by stiff paper; 06-10-2013 at 12:10 PM.

  4. #4
    Super Member nickdigital's Avatar
    Join Date
    Nov 2006
    Location
    Burbank, California USA
    Posts
    4,576
    It shouldn't be hard to modify the script to ingest this...

    It has columns that I don't know what the data represents tho...I assume XV is x vector? What is XT?
    My opinions and comments do not represent those of my employer.
    Profile piece
    2010 Reel
    'The X's' Reel

  5. #5
    oh corks
    Join Date
    Aug 2010
    Location
    end of the line
    Posts
    888
    As best I understand it...

    For each line:
    The three "V" coords are the camera position.
    The three "T" coords are the target position (what the camera is pointing at, I assume).

    So, yes, it looks like there are actually two motions per file.

    I think. (The format allows an option for the "T" data to be replaced with pan and tilt data, but that's not used here.)

  6. #6
    Super Member nickdigital's Avatar
    Join Date
    Nov 2006
    Location
    Burbank, California USA
    Posts
    4,576
    Ah ok, thanks for the info.
    My opinions and comments do not represent those of my employer.
    Profile piece
    2010 Reel
    'The X's' Reel

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
  •