POV-Ray : Newsgroups : povray.general : Writing binary files with POV script : Re: Writing binary files with POV script Server Time
4 Aug 2024 08:24:45 EDT (-0400)
  Re: Writing binary files with POV script  
From: JC (Exether)
Date: 25 Aug 2003 03:50:01
Message: <3f49bfa9$1@news.povray.org>
I understand that it is not possible with the current primitives due to 
that fact that they are text primitives. Still, I think that it would be 
interesting to have this possibility with extra primitives (like a 
POV-script write_char/read_char accepting any byte value). I spoke of 
DF3 files because that's what I had in mind, but there is plenty of 
examples where this could be usefull, like model conversion from pov to 
any other utility for example audio files and so on (pov-guys 
imagination is endless it seems).

There's always the possibility to run an extra converter program but it 
would be so nicer to have this built-in. I hope it will be possible in 
some future version of our beloved POVRAY.  :-)

JC

ABX wrote:
> On Fri, 22 Aug 2003 10:35:17 +0200, "JC (Exether)" <no### [at] spamfr> 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.
> 
> 
> It was discussed a few times. It is not possible to make binary files.
> 
> 
>>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.
> 
> 
> See text format called extended density_file format at
> http://staff.aist.go.jp/r-suzuki/e/povray/iso/df_body.htm
> 
> ABX


Post a reply to this message

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