Planetside Software Forums

General => Terragen Discussion => Topic started by: radom on March 23, 2010, 02:09:45 AM

Title: using Terragen2 with JOGL
Post by: radom on March 23, 2010, 02:09:45 AM
Hi guys.
I'm trying to ship the scene that I created using Terragen2 to be my background image in my jogl program. The problem is Jogl and j3d don't support .ter file formats.

Is there any way to handle this?

Thanks in advance
Title: Re: using Terragen2 with JOGL
Post by: Kadri on March 23, 2010, 11:02:17 AM
Quote from: radom on March 23, 2010, 02:09:45 AM
... background image in my jogl program. The problem is Jogl and j3d don't support .ter file formats.
...

As an image or ter file are very different things.  Do you want it as a 3D object or 2D backround image only , Radom?
Title: Re: using Terragen2 with JOGL
Post by: gregsandor on March 23, 2010, 04:39:36 PM
If you want the image to be a background image, render the scene, save the resulting .bmp, .tif, and use that as your background.  You don't use the .ter as the image, it is for your use to create the image.
Title: Re: using Terragen2 with JOGL
Post by: radom on March 24, 2010, 06:40:12 AM
Thanks for your reply guys.
May be it was a mistake to say 'background image'. I want the Terragen generated .ter file to be the 3D environment on which I would place the JOGL generated objects.
Title: Re: using Terragen2 with JOGL
Post by: Oshyan on March 26, 2010, 12:30:25 AM
You can save as OpenEXR the same way you can save TER (just choose the format from the dropdown menu when you save). Or you can convert TER to TIFF with TerraConv: http://koti.mbnet.fi/pkl/tg/TerraConv.htm

- Oshyan