POV-Ray : Newsgroups : povray.unofficial.patches : Density_file extention patch: a patch for 3D data : Re: Density_file extention patch: a patch for 3D data Server Time
5 Jul 2024 13:13:21 EDT (-0400)
  Re: Density_file extention patch: a patch for 3D data  
From: R  Suzuki
Date: 29 Aug 2002 05:56:24
Message: <3d6defc8@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3D6DDF64.1627DB33@gmx.de...
> Looks interesting and useful, the data file format seems somewhat strange
> though, as i understand it you always have two files, the header and the
> actual data file.  Wouldn't it be better to merge them, like in the ppm
> image file format for example?

It also allows one file if the filename of the data is not specified.
In this case, the data should be after the [data] line of the df file.

> A macro for generating a density file from a function (using the file
> writing routines) would be a useful addition.

It would be useful.

> BTW it would be very helpful if you could separate you changes with
> '#ifdef DENSITY_PATCH' otherwise one will have to do a lot of searching to
> find what you have changed.

OK.  I will add it in the next revision.

R. Suzuki


Post a reply to this message

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