POV-Ray : Newsgroups : povray.advanced-users : Heightfield and arrays question. Server Time
29 Jul 2024 06:25:59 EDT (-0400)
  Heightfield and arrays question. (Message 1 to 4 of 4)  
From: Stephen McAvoy
Subject: Heightfield and arrays question.
Date: 22 Nov 2002 09:27:56
Message: <3dde3eca.13732376@news.povray.org>
Is there any way I can use an array in a heightfield directly. I have
been modifying the array, saving it as a text file, converting it to a
TGA using ASC2TGA then using the heightfield normally. After that
repeating the steps. 

Thanks in advance.
Stephen


Post a reply to this message

From: ABX
Subject: Re: Heightfield and arrays question.
Date: 22 Nov 2002 09:30:11
Message: <7lfstu02hgs29fs6gi3a5me4u774btld2e@4ax.com>
On Fri, 22 Nov 2002 14:27:54 GMT, mca### [at] aolcomcom (Stephen McAvoy) wrote:
> Is there any way I can use an array in a heightfield directly. I have
> been modifying the array, saving it as a text file, converting it to a
> TGA using ASC2TGA then using the heightfield normally. After that
> repeating the steps. 

I'm sure you can start loop along array and create (optionally smooth) mesh.

ABX


Post a reply to this message

From: Christoph Hormann
Subject: Re: Heightfield and arrays question.
Date: 22 Nov 2002 11:02:07
Message: <3DDE54FF.EE084F94@gmx.de>
Stephen McAvoy wrote:
> 
> Is there any way I can use an array in a heightfield directly. I have
> been modifying the array, saving it as a text file, converting it to a
> TGA using ASC2TGA then using the heightfield normally. After that
> repeating the steps.

You can create a mesh like ABX suggested or write an ascii pgm file using
the POV-Ray file writing routines, this would avoid the need to start a
separate program.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 15 Nov. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Stephen McAvoy
Subject: Re: Heightfield and arrays question.
Date: 24 Nov 2002 10:05:22
Message: <3de0e517.187377244@news.povray.org>
On Fri, 22 Nov 2002 17:02:07 +0100, Christoph Hormann
<chr### [at] gmxde> wrote:

 write an ascii pgm file using
>the POV-Ray file writing routines, this would avoid the need to start a
>separate program.
>
>Christoph
>
Thanks Christoph, this looks like the easiest way for me to go. Your
site is interesting maybe too interesting, if I want to get anything
of my own done. 
 
Stephen


Post a reply to this message

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