Planetside Software Forums

General => Terragen Discussion => Topic started by: Allegro on March 28, 2007, 10:40:07 PM

Title: Working between Maya & TG2 Deep
Post by: Allegro on March 28, 2007, 10:40:07 PM
I'm working on a scene for my short which is essentially a still...
It's a desert with a broken aquaduct going across it.

I'm reasonably happy with my tg2 scene... but I don't know how to get the camera/terrain info into Maya so that I can model the aquaduct so that it fits the terrain...  on top of that, I don't know how to then get the aquaduct into tg2 so that I can do the final render there.

Is this an easy feat? Or should I just render a frame, then try to match the perspective manually and render the aquaduct from Maya & composite?  I kind of need to have this ready to render by tomorrow night.
Title: Re: Working between Maya & TG2 Deep
Post by: Arandil on March 29, 2007, 12:49:52 PM
I've come across some mention of a .MEL script to address May export to TG2.  Not sure if it was an import/export script (I was looking for Max stuff and didn't pay close attention).  I'm trying to find the links I saw:

Here's one: (

I'll edit this post with another link or two I found out there.  They're actually posted in the .chan file format thread I started.  Going fetching ..

Aha, there's another Maya thread with the links.  For redundancy, from this thread: (

Quote from: hansiMUC on December 28, 2006, 06:37:49 AM
The exporter for maya in mel which generates the nuke channel format can be downloaded from the following link....

The trick is that you have to set the maya cameras backplane so that the output fov precisely matches...
I did this by setting mayas backplane to

Film Gate user:

Camera Aperture:  2.0 1.5
Film Aspect Ratio: 1.333

if you now export the camera with the mel script, and render PAL Images 720x576 Pixel Aspect 1.06666
both in Maya and Terragen you get pixel matching...
The only thing is that in TG2 there are some additional small displacements...
but overall it works fine...

Hope that helps...

And ...

Quote from: katisss on December 28, 2006, 10:23:21 AM
You guys are fast as hell, thanks.
i guess the link is supposed to be