Planetside Software Forums

General => Terragen Discussion => Topic started by: katisss on December 25, 2006, 05:53:20 PM

Title: exporters
Post by: katisss on December 25, 2006, 05:53:20 PM
hi, are there any camera/file exporters for terragen 2 yet?
Was trying to use MATGConn camera plugin for maya.
Anything that works with maya would be helpful.
Title: Re: exporters
Post by: Oshyan on December 27, 2006, 02:45:26 AM
I believe there may be something available for Max, but I'm not aware of anything for Maya yet. TG2 does already support the Nuke "chan" format and I believe there is a chan exporter for Maya, so that may be one approach.

If all you need is a static camera, you can use the "load from text file" function under the Animation button of the camera position to load a single set of position values from a basic text file. The values are loaded in sequential order.

- Oshyan
Title: Re: exporters
Post by: ton on December 27, 2006, 09:40:29 AM
Quote from: JavaJones on December 27, 2006, 02:45:26 AM
I believe there may be something available for Max, but I'm not aware of anything for Maya yet. TG2 does already support the Nuke "chan" format and I believe there is a chan exporter for Maya, so that may be one approach.

If all you need is a static camera, you can use the "load from text file" function under the Animation button of the camera position to load a single set of position values from a basic text file. The values are loaded in sequential order.

- Oshyan

Ooooh... has this been tested? Guess Rob's influence here.. :-D
Title: Re: exporters
Post by: 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....

http://Fxshare.com/nuke/downloads/tools/3d_converters/826.html

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

Title: Re: exporters
Post by: katisss on December 28, 2006, 10:23:21 AM
You guys are fast as hell, thanks.
i guess the link is supposed to be
http://fxshare.com/nuke/downloads/tools/3d_converters/Maya-Import-export-chan-4320.html
Title: Re: exporters
Post by: matts on December 28, 2006, 12:30:43 PM
Does anyone know of a chan exporter for lightwave, or any other way to get lightwave camera into terragen?
Title: Re: exporters
Post by: MooseDog on December 28, 2006, 12:56:53 PM
you can bake out your camera motion to a file (.mot if i remember right).  the brickwall here is there is no, afaik, importer into tg of said files.
Title: Re: exporters
Post by: Moose on December 28, 2006, 01:57:14 PM
Quote from: MooseDog on December 28, 2006, 12:56:53 PM
you can bake out your camera motion to a file (.mot if i remember right).  the brickwall here is there is no, afaik, importer into tg of said files.

Until something better comes along you could export your lw camera to houdini apprentice (assuming this is for non-com stuff) - http://www.sidefx.com/index.php?option=com_wrapper&Itemid=8 - and export out of houdini as a .chan file which TG2 currently reads. Mungy, but should work if you're disparate to try out some animation.

:)
Title: Re: exporters
Post by: Oshyan on December 29, 2006, 10:23:19 PM
Here's a link to a Max-TG2 communication setup:

http://www.emecstudios.be/tools/terragen2.html

- Oshyan
Title: Re: exporters
Post by: Njen on December 29, 2006, 10:29:55 PM
Oh, this is awesome. Thanks for the link!
Title: Re: exporters
Post by: Arandil on March 09, 2007, 01:40:30 AM
Quote from: Oshyan on December 29, 2006, 10:23:19 PM
Here's a link to a Max-TG2 communication setup:

http://www.emecstudios.be/tools/terragen2.html

- Oshyan

FYI, I'm using Max 8 and it appears that the current version of the script does not export rotation data correctly (it's all the same values in that column).  It looks like they've identified a potential bug and may get to a fix once they can.
Title: Re: exporters
Post by: cyphyr on March 09, 2007, 07:06:46 AM
How do these camera matching systems get round TG2's "spherical geometry" (y being perpendiculay to the surface of the planet rather than virtical to the xz plane) of is it that over small distances and areas the divergance is too small to notice?
Richard Fraser
Title: Re: exporters
Post by: Arandil on March 09, 2007, 09:38:15 PM
Quote from: cyphyr on March 09, 2007, 07:06:46 AM
How do these camera matching systems get round TG2's "spherical geometry" (y being perpendiculay to the surface of the planet rather than virtical to the xz plane) of is it that over small distances and areas the divergance is too small to notice?
Richard Fraser

Good question!  I'm wondering that myself, once I get approved to the forums over there, I'll ask. 

P.S.  Please run over to his forums and beg/cajole for a bug fix!   ;D
Title: Re: exporters
Post by: rcallicotte on March 09, 2007, 11:02:10 PM
What about Lightwave?  Do we get one? Huh? Huh? Huh? ???
Title: Re: exporters
Post by: Arandil on March 09, 2007, 11:05:30 PM
Quote from: calico on March 09, 2007, 11:02:10 PM
What about Lightwave?  Do we get one? Huh? Huh? Huh? ???

I hope so!
Title: Re: exporters
Post by: DeathTwister on May 09, 2007, 03:10:42 PM
OK,
I see the plugin http://www.emecstudios.be/tools/terragen2.html and it looks pretty cool.

  Questaion: as I have not had the time to explore better ATM.  Does that mean it will also import into Max the terrain files and shaders like it does the cameras and lighting effects?  Hope that is not to dumb a question guys, since I am not A PROGRAMMER I ask these things /SMILES.

Also it looks like it is just for Max 9? I been needing to upgrade to 9, but as yet I am on Max 7 so will it work for me also? or is there another version for Max 7, or 8?  I hate the way Max makes us all the time rewrite plugins that should work from build to build, but they seem to want to control all of us that way, so ATFW? /smiles.....hahahahahahaha
If not any eta on that?

  Also exporting out the terrains to vidio games engines, TGE, TGEA, Ogre and so on with the indi game engines?

Maylock aka DeathTwister