POV-Ray : Newsgroups : povray.unofficial.patches : Updated patch source available Server Time
2 Nov 2024 13:17:56 EDT (-0400)
  Updated patch source available (Message 1 to 8 of 8)  
From: Chris Huff
Subject: Updated patch source available
Date: 8 Nov 1999 13:15:50
Message: <382713F9.A68A6045@compuserve.com>
I have uploaded the latest version of my patch source code:
chrishuff.dhs.org/pov/morepatterns.zip

This patch includes the blob pattern and pigment, the proximity pattern,
the object pattern, and the z-buffer patch. I may go ahead and merge it
with my other patch work, if the new version of the Superpatch isn't
released soon.(Ron? How is it going? :-) )

It includes draft docmentation, but no example scenes(yet).
I haven't updated the web site itself yet, but I will soon. I may also
add some more example images.
If anyone has trouble using this .zip file, please tell me. I have had
problems before, I suspect the program I am using may not work
correctly.


Post a reply to this message

From: Chris Huff
Subject: Re: Updated patch source available
Date: 9 Nov 1999 07:35:03
Message: <3828158C.10219C7C@compuserve.com>
I forgot about another feature I added. :-)
I have added text object alignment to the text object. To use it, place
one of these keywords after the text string:
align_left FLOAT_PAGE_WIDTH
align_center FLOAT_PAGE_WIDTH
align_right FLOAT_PAGE_WIDTH

FLOAT_PAGE_WIDTH is the width of the "page" that the text object is
aligned to. The page is actually just a boundary along the x-axis to
align the text object against. The patch does not protect against having
the text object run off the edge of the page.
With align_center, FLOAT_PAGE_WIDTH is optional and does nothing.
With align_left, the left edge of the text object is aligned with the
left edge of the page.
With align_right, the right edge of the text object is aligned with the
left edge of the page.

In a future release, I will make FLOAT_PAGE_WIDTH optional for all
three, if it is not present, the width of the text object will be used
for the page width. I may someday add line wrapping, but I will have to
study the source more closely.

BTW, do you think it would be useful to have an "auto_center" keyword
which centers the object over the origin? It would take an optional
vector parameter, so auto_center y would center it along the y-axis, and
so on. This would make it easier to understand the code later than
declaring the object and using min_extent and max_extent, but it is
quite easy to do with those keywords, and might be better done as a
macro than a patch.


Post a reply to this message

From: Chris Huff
Subject: proximity pattern WARNING
Date: 9 Nov 1999 07:39:14
Message: <38281687.812AE9D3@compuserve.com>
Do not use the proximity pattern with height fields, it gave me a lot of
dda_traversal() warnings and crashed when I tested it. I will be looking
at this more closely. Any suggestions?


Post a reply to this message

From: Zan Trajkov
Subject: Re: Updated patch source available
Date: 11 Nov 1999 08:19:56
Message: <382AC27A.6C600B55@ti-nov3.fbe.fh-weingarten.de>
I have trouble with your zip-file.
I've test to extract it with Winzip & Powerzip....
Same Problems!!!
I didn't get plain textfiles..... :-((((

Maybe I will integrate your Patch in my private custom compile and test it!
(It based at Superpatch, latest?!)

v
Zan

Chris Huff wrote:

> I have uploaded the latest version of my patch source code:
> chrishuff.dhs.org/pov/morepatterns.zip
>
> This patch includes the blob pattern and pigment, the proximity pattern,
> the object pattern, and the z-buffer patch. I may go ahead and merge it
> with my other patch work, if the new version of the Superpatch isn't
> released soon.(Ron? How is it going? :-) )
>
> It includes draft docmentation, but no example scenes(yet).
> I haven't updated the web site itself yet, but I will soon. I may also
> add some more example images.
> If anyone has trouble using this .zip file, please tell me. I have had
> problems before, I suspect the program I am using may not work
> correctly.


Post a reply to this message

From: Chris Huff
Subject: Re: Updated patch source available
Date: 11 Nov 1999 08:42:26
Message: <382AC869.485D066@compuserve.com>
Hrm, other people have reported this problem with .zip files from me, I
suspect that it is the compression program which I am using.
Is anyone else having problems?
Can anyone recommend a good program to create .zip files on the
Macintosh?

Another possibility is the return characters: the Mac uses different
line return characters than Windows, which will make the code unreadable
without going through and adding in all of the returns by hand.
I will upload a .zip with the text files converted to PC-text format
before being placed in the archive, maybe you will be able to read that.


Post a reply to this message

From: Ken
Subject: Re: Updated patch source available
Date: 11 Nov 1999 08:47:58
Message: <382AC8F6.FD17E917@pacbell.net>
Zan Trajkov wrote:
> 
> I have trouble with your zip-file.
> I've test to extract it with Winzip & Powerzip....
> Same Problems!!!
> I didn't get plain textfiles..... :-((((

Same here. It is those pesky Macintosh line feeds that is causing it.

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Chris Huff
Subject: Re: Updated patch source available
Date: 11 Nov 1999 09:17:07
Message: <382AD089.6C967B4C@compuserve.com>
I have uploaded a PC-text format version:
http://chrishuff.dhs.org/pov/morepattpc.zip
It isn't linked to from the main site yet, if it solves the problem I
will add a link.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Updated patch source available
Date: 11 Nov 1999 10:22:50
Message: <382adf4a@news.povray.org>
In article <382AC8F6.FD17E917@pacbell.net> , Ken <tyl### [at] pacbellnet>  
wrote:

> Same here. It is those pesky Macintosh line feeds that is causing it.

Just use the POV-Win editor to convert the files.  Also, when compiling them
you usually use a development env. that supports it, VC 5 and 6 as well as
Borland have no problems with the line endings, it is just the stupid
notepad that does have this problems ;-)


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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