POV-Ray : Newsgroups : povray.newusers : using arrays in functions : Re: using arrays in functions Server Time
29 Jul 2024 06:17:06 EDT (-0400)
  Re: using arrays in functions  
From: Christoph Hormann
Date: 30 May 2006 14:30:03
Message: <e5i2qt$pfj$1@chho.imagico.de>
stefan berke wrote:
>> No.
> 
> well, thats sad to hear.
> the reason i initially use an array of heightdata is that it can be created
> in several distinguish steps. f.e creating a valley/river/branches,
> interpolating it, etc. now, after your neg. answer, i tried to write a macro
> which outputs the
> array into an .TGA file and failed again.

Write to a plain PGM file - that's better suited for height data anyway.

The format is described on:

http://netpbm.sourceforge.net/doc/pgm.html

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.imagico.de/ (Last updated 27 May. 2006)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

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