POV-Ray : Newsgroups : povray.general : height field object of new type : Re: height field object of new type Server Time
9 Aug 2024 03:19:33 EDT (-0400)
  Re: height field object of new type  
From: Christoph Hormann
Date: 27 Aug 2000 16:32:38
Message: <39A97B28.6307E7A1@schunter.etc.tu-bs.de>
matt giwer wrote:
> 
>         I haven't been reading here in months so perhaps I am being repetative.
> 
>         How about a type that is not image related?
> 
>         It would be specified simply by
> 
>         height_field {
>                 RAW { length, width, point 1, point 2, ...}
>         }
> 

Looks nearly identical to a pgm file, but what format did you intend for the
"point1, ..." ?

IMO, the advantage of Image files for this purpose is mainly the small filesize
and fast parsing due to binary format, and the possibility to edit them in
regular image manipulation programs.  

Your idea is surely quite interesting for small heightfields, but in most cases
I would prefer an image file format.  You can always use pgm, if you want an
ascii file.  

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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