using Terragen2 with JOGL

Started by radom, March 23, 2010, 02:09:45 AM

Previous topic - Next topic

radom

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

Kadri

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?

gregsandor

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.

radom

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.

Oshyan

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