POV-Ray : Newsgroups : povray.binaries.utilities : MakeDF3 Server Time
14 Oct 2024 05:09:24 EDT (-0400)
  MakeDF3 (Message 1 to 2 of 2)  
From: Darren New
Subject: MakeDF3
Date: 4 Jun 2009 21:12:02
Message: <4a2870e2@news.povray.org>
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)

From: clipka
Subject: Re: MakeDF3
Date: 6 Jun 2009 08:35:00
Message: <web.4a2a620654fc1785f708085d0@news.povray.org>
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

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