POV-Ray : Newsgroups : povray.newusers : Terragen Files to TGA? : Re: Terragen Files to TGA? Server Time
4 Sep 2024 20:13:42 EDT (-0400)
  Re: Terragen Files to TGA?  
From: Gilles Tran
Date: 1 Sep 2002 17:47:35
Message: <3d728af7@news.povray.org>

3d724e3a$1@news.povray.org...
> How do i convert Terragen files into a format useable as a POV height
field?
> I guess this means .ter file to .tga?

You can try HCREdit by fellow Pover Christof Hormann.
http://www.tu-bs.de/~y0013390/
Export the terrain file as RAW 16 bits, Intel byte-order, write down the
size (default is 257 x 257)
Import it in HCREdit as RAW, same size, skip header size 1 (otherwise it's
just snow), 16 bit grayscale
Save as PNG 16 bits for use in POV-Ray
You'll have to reverse it scale <1,1,-1> translate z
To get an exact result you'll have to note the exact size and height of the
terrain in TG and scale it accordingly in POV-Ray.

(disclaimer : this is fresh knowledge as I discovered all this a couple of
hours ago !)

G.


--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.