I'm working on a script to export a chan file from XSI, but I have a problem. The format of a chan file -
I can't find any documentation but this seems to work:
frame transform-x transform-y transform-z rotate-x rotate-y rotate-z fov
Here is what my script writes:
0 11 10 13 -30.422317286858405 40.23635830927338 -2.2915070762099087e-13 53.638
1 10.996722 9.997616 13.002086 -30.417123111374756 40.22340511257526 -1.6245761040608907e-13 53.592252607999995
2 10.986976 9.990528000000001 13.008288 -30.40166731792109 40.184888554657064 -2.4979281989690596e-13 53.457483264
3 10.970894 9.978832 13.018522 -30.376121930504585 40.121316563193545 -2.2252353394993361e-13 53.237401215999995
I import the chan file into Terragen2 and it works! However I need to adjust the transforms to match terragen2 values.
I want to include more functionality in the script like adding light info(I noticed this is possible because of the MAX plugin).
Does anybody have any idea how this is formatted?
At the Nuke site you can get help if your a developer or own the software, but that doesn't help me.