POV-Ray : Newsgroups : povray.general : Writing binary files with POV script : Re: Writing binary files with POV script Server Time
4 Aug 2024 02:23:50 EDT (-0400)
  Re: Writing binary files with POV script  
From: John VanSickle
Date: 22 Aug 2003 13:35:17
Message: <3F46544F.A3AF6F80@hotmail.com>
JC (Exether) wrote:
> 
> 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.

I suppose that you could use chr() to write the bytes to the file.

Regards,
John


Post a reply to this message

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