POV-Ray : Newsgroups : povray.unofficial.patches : Request for a new feature. Server Time
2 Sep 2024 12:14:13 EDT (-0400)
  Request for a new feature. (Message 1 to 5 of 5)  
From: Bouf
Subject: Request for a new feature.
Date: 10 Feb 2000 07:29:27
Message: <38A2B287.D7E074E@nanterre.marelli.fr>
Hi all.

I've recently made a little patch from MegaPov 0.2, for personal use,
that allows me to write some bytes in a binary file (with a new
directive #writeb). I've used it to write and use df3 files.

So, here is my request: a feature (whatever it is) to create df3 file.
Writing byte per byte in a binary file is one solution. Maybe there are
others.

My modifications of the source code is not very usable, because I've
only made a Copy&Paste of the #write directive code. There is no
verification on the type of the open file, etc..., and I can only write
byte per byte...

I can post the modified files if someone is interested in making this
little patch a real one.

Bouf.


Post a reply to this message

From: Bouf
Subject: Re: Request for a new feature.
Date: 10 Feb 2000 07:35:40
Message: <38A2B3FE.2A2D77AB@nanterre.marelli.fr>
Oops.

And I forgot to thank Chris Huff for his tutorial "Making POV Patches",
that was of great help.

Bouf.


Post a reply to this message

From: Ron Parker
Subject: Re: Request for a new feature.
Date: 10 Feb 2000 12:57:13
Message: <slrn8a5up1.v8.ron.parker@parkerr.fwi.com>
On Thu, 10 Feb 2000 13:43:51 +0100, Bouf wrote:
>Hi all.
>
>I've recently made a little patch from MegaPov 0.2, for personal use,
>that allows me to write some bytes in a binary file (with a new
>directive #writeb). I've used it to write and use df3 files.

With the exception of \0 (a zero byte) and possibly CR/LF (due to 
DOS translation stuff) it's already possible to write binary data 
to files using the official #write.  The best patch would be one to
fix the problems with #write to allow all values.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

From: Chris Huff
Subject: Re: Request for a new feature.
Date: 10 Feb 2000 15:51:00
Message: <chrishuff_99-10FBA7.15520410022000@news.povray.org>
In article <38A2B3FE.2A2D77AB@nanterre.marelli.fr>, Bouf 
<Chr### [at] nanterremarellifr> wrote:

> And I forgot to thank Chris Huff for his tutorial "Making POV Patches",
> that was of great help.

I am glad someone finds it useful. :-)

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: TonyB
Subject: Re: Request for a new feature.
Date: 10 Feb 2000 18:00:18
Message: <38a34302@news.povray.org>
>I am glad someone finds it useful. :-)


Hey! I've always found it useful and educational, I've just never used it.


Post a reply to this message

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