POV-Ray : Newsgroups : povray.unofficial.patches : Bug in UVPov 5.4 Server Time
3 Sep 2024 00:14:15 EDT (-0400)
  Bug in UVPov 5.4 (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Nieminen Mika
Subject: Re: Bug in UVPov 5.4
Date: 19 Jul 1999 05:46:51
Message: <3792f40b@news.povray.org>
Nathan Kopp <Nat### [at] koppcom> wrote:
: The reason for this is that UVPov was started from the POV-Ray 3.1a code
: base, and it was not fixed until 3.1c (as Ken pointed out).  I've kept on
: top of most of the bug fixes, but I have missed some of them.  If anyone
: knows what I have to change to fix this, let me know and I will.

  Why don't you just use the latest povray source instead of duplicating
the bug fixes to your old 3.1a version? I can imagine it's a lot of
wasted time.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Bob Hughes
Subject: Re: Bug in UVPov 5.4
Date: 19 Jul 1999 08:34:58
Message: <37931B4F.80D9CFFB@aol.com>
DOS, MacIntosh, Linux and Unix are 3.1g but Windows platform
(UVpov-based pvengine) is still 3.1a at www.povray.org last I saw.


Nieminen Mika wrote:
> 
>   Why don't you just use the latest povray source instead of duplicating
> the bug fixes to your old 3.1a version? I can imagine it's a lot of
> wasted time.


Post a reply to this message

From: Ron Parker
Subject: Re: Bug in UVPov 5.4
Date: 19 Jul 1999 09:22:50
Message: <379326aa@news.povray.org>
On Sat, 17 Jul 1999 18:04:08 -0400, Nathan Kopp wrote:
>The reason for this is that UVPov was started from the POV-Ray 3.1a code
>base, and it was not fixed until 3.1c (as Ken pointed out).  I've kept on
>top of most of the bug fixes, but I have missed some of them.  If anyone
>knows what I have to change to fix this, let me know and I will.

The fix is in the Echo_getc() function in tokenize.c.  You can find the
fixed code in the official 3.1e/3.1g source or in the superpatch.


Post a reply to this message

From: Nathan Kopp
Subject: Re: Bug in UVPov 5.4
Date: 19 Jul 1999 23:38:28
Message: <3793EFD1.D8E855AB@Kopp.com>
Nieminen Mika wrote:
> 
>   Why don't you just use the latest povray source instead of duplicating
> the bug fixes to your old 3.1a version? I can imagine it's a lot of
> wasted time.
> 

Actually, it _saves_ time.  The photon mapping patch consists of many
small changes to a variety of files in POV-Ray (mostly scattered around
in lighting.c). Taking a fresh source and making all those changes is
quite a time-consuming task (I've spent hours incorporating it into
the superpatch).  Plus, I want to know exactly how various bugs have been
fixed, so I like to apply the fixes myself.  And on top of that, I have
made a plethora of other changes to POV that I would also have to
incorporate into the new source every time I want to update to a new
code base.

-Nathan

P.S.  I am not experienced with the diff tools, so I do updates by hand.
Maybe someday I'll get around to learning how to use diff.


Post a reply to this message

From: Nieminen Mika
Subject: Re: Bug in UVPov 5.4
Date: 20 Jul 1999 02:37:38
Message: <37941932@news.povray.org>
Nathan Kopp <Nat### [at] koppcom> wrote:
: The photon mapping patch consists of many
: small changes to a variety of files in POV-Ray (mostly scattered around
: in lighting.c). Taking a fresh source and making all those changes is
: quite a time-consuming task

  This is one reason why modularity is a very good thing in programming...
  Perhaps povray4 will be more modular and more easy to change.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ron Parker
Subject: Re: Bug in UVPov 5.4
Date: 20 Jul 1999 09:02:24
Message: <37947360@news.povray.org>
On Mon, 19 Jul 1999 23:41:05 -0400, Nathan Kopp wrote:
>P.S.  I am not experienced with the diff tools, so I do updates by hand.
>Maybe someday I'll get around to learning how to use diff.

You really should.  The superpatch would never have happened without 
the help of diff, diff3, and some cobbled-together perl scripts.  I
was even able to treat the 3.0 -> 3.1 transition in the official code
as just another (huge) patch.


Post a reply to this message

From: Nathan Kopp
Subject: Re: Bug in UVPov 5.4
Date: 20 Jul 1999 23:34:05
Message: <37954049.11FA8AC@Kopp.com>
Nieminen Mika wrote:
> 
>   This is one reason why modularity is a very good thing in programming...
>   Perhaps povray4 will be more modular and more easy to change.
> 

With the kind of changes I made, I doubt that any modularity would have
helped.  Someone whould have had to anticipate the photon patch (or
something _very_ similar) in order to make all the parts I needed
easily accessible.

-Nathan


Post a reply to this message

From: Nathan Kopp
Subject: Re: Bug in UVPov 5.4
Date: 20 Jul 1999 23:37:58
Message: <37954132.58596B6B@Kopp.com>
Ron,
Where can I find diff tools for Windows?  Do I need the Cygnus stuff (with
all of their shared libraries) or are there any stand-alone compiles?

-Nathan

Ron Parker wrote:
> 
> On Mon, 19 Jul 1999 23:41:05 -0400, Nathan Kopp wrote:
> >P.S.  I am not experienced with the diff tools, so I do updates by hand.
> >Maybe someday I'll get around to learning how to use diff.
> 
> You really should.  The superpatch would never have happened without
> the help of diff, diff3, and some cobbled-together perl scripts.  I
> was even able to treat the 3.0 -> 3.1 transition in the official code
> as just another (huge) patch.


Post a reply to this message

From: Jon A  Cruz
Subject: Re: Bug in UVPov 5.4
Date: 21 Jul 1999 02:22:05
Message: <37956759.A8F74EE1@geocities.com>
Nathan Kopp wrote:

> Ron,
> Where can I find diff tools for Windows?  Do I need the Cygnus stuff (with
> all of their shared libraries) or are there any stand-alone compiles?
>
> -Nathan
>
> Ron Parker wrote:
> >
> > On Mon, 19 Jul 1999 23:41:05 -0400, Nathan Kopp wrote:
> > >P.S.  I am not experienced with the diff tools, so I do updates by hand.
> > >Maybe someday I'll get around to learning how to use diff.
> >
> > You really should.  The superpatch would never have happened without
> > the help of diff, diff3, and some cobbled-together perl scripts.  I
> > was even able to treat the 3.0 -> 3.1 transition in the official code
> > as just another (huge) patch.

You should get the Win32 version of RCS. That includes the diff and patch
stuff.

http://download.cyclic.com/pub/rcs/

BTW, if you're not using CVS you should look into at least using RCS for your
personal stuff. Quite handy.

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

From: Ron Parker
Subject: Re: Bug in UVPov 5.4
Date: 21 Jul 1999 09:11:13
Message: <3795c6f1@news.povray.org>
On Tue, 20 Jul 1999 23:40:34 -0400, Nathan Kopp wrote:
>Ron,
>Where can I find diff tools for Windows?  Do I need the Cygnus stuff (with
>all of their shared libraries) or are there any stand-alone compiles?

"All of their shared libraries" is really only one 400K dll, unless you're 
using tcl/tk.  That being said, there are other builds of the diff tools 
out there.  Check out the Virtually Unix page at 
http://www.itribe.net/virtunix/


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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