POV-Ray : Newsgroups : povray.binaries.scene-files : create df3 files : Re: create df3 files Server Time
1 Sep 2024 12:14:01 EDT (-0400)
  Re: create df3 files  
From: FlaPovFan
Date: 13 Jun 2006 18:20:00
Message: <web.448f39ce6f01a53655b285700@news.povray.org>
David El Tom <dav### [at] t-onlinede> wrote:
> This archive containes the macro to create df3 files in ASCII format
> from within SDL and a PERL script to convert this ASCII file into the
> binary df3 file usable by POVRay.
>
> see p.b.i for further description, or read the files.
>
> ... dave

I tried to invoke the macro with the following scene code.  The file was
rendered as a blank bmp.  Is there anything that needs to be done in the
ini file to have an ascii output?  Thanks for your help.


include "df3.inc"

#macro
write_ascii_df3_file(NAME,PIGMENT,RES_X,RES_Y,RES_Z,LOWER_LEFT,UPPER_RIGHT)


#declare Bbozo =pigment{ bozo scale 0.25 turbulence 0
         color_map{ [0.0 color rgb <1,1,0.2>]
                    [0.5 color rgb <1,0.5,0>]
                    [1.0 color rgb <1,0,0.5>]
               }   }// end of color_map




#macro write_ascii_df3_file (Asky,Bbozo,10,10,10,<0,0,0>,<1,1,1>)

#end
#end


Post a reply to this message

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