|
|
This program reads a file full of data for a DF3 file
(a la POV-Ray ray tracer) and creates the appropriate
binary file. The output file has the same name as the
input file with .df3 replacing the extension (or with
.df3 appended if there is no extension). The input is
a file with a collection of 4-tuples. Each 4-tuple is
integers (in ASCII) representing x, y, z, and a value
to be inserted into the DF3. There is no need for any
header, as ranges are taken from the file itself. You
must put four integers per line in this version. This
can be slow because it assumes a very big input file.
Copyright 2009 Darren New
Released under the WTFPL license
See http://en.wikipedia.org/wiki/WTFPL for details
--
Darren New, San Diego CA, USA (PST)
There's no CD like OCD, there's no CD I knoooow!
Post a reply to this message
Attachments:
Download 'makedf3.zip' (1525 KB)
|
|
|
|
FYI, POV-Ray 3.7 beta by now can write DF3 files, too, using a new binary file
output mechanism and a new macro in arrays.inc designed to dump an arbitrary 3D
float array to a DF3 file.
Post a reply to this message
|
|