POV-Ray : Newsgroups : povray.general : Writing binary files with POV script : Re: Writing binary files with POV script Server Time
4 Nov 2024 23:17:09 EST (-0500)
  Re: Writing binary files with POV script  
From: Marc Champagne
Date: 23 Aug 2003 07:53:31
Message: <Xns93E04FFEDA04CPOVMIKA@204.213.191.226>
"Ray Gardener" <ray### [at] daylongraphicscom> wrote in
news:3f465ced$1@news.povray.org: 

> How about this:
> 
> Use the existing file output functions to write
> a hex-ASCII version of your file, and then, in
> a POV INI file, use the Post_Scene_Command or
> Post_Frame_Command directive to execute a
> converter app to turn the text into binary form.
> 
> Ray Gardener
> Daylon Graphics Ltd.
> "Heightfield modeling perfected"
> http://www.daylongraphics.com
> 
> 
> 
> 
> "JC (Exether)" <no### [at] spamfr> wrote in message
> news:3f45d5c6$1@news.povray.org...
>> I would like to generate a df3 file directly from a pov script,
>> generating it from pigments, a bit like Gilles' makecloud macro. But I
>> had a look at the documentation, and it seems that you can only output
>> text to a file.
>>
>> So I was wondering if there was a trick to do it, and if not, if it's
>> going to be implemented in some next POVray version.
>>
>> JC
>> PS: I know I can generate images with povray and make a df3 file with
>> some utility, but I already have too much utilities installed and I'd
>> like to do it in one step.
>>

Being from the Unix arena, there is always a way even when it seems
impossible. Bright idea Ray! 

-- 
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA


Post a reply to this message

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