|
|
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
|
|