POV-Ray : Newsgroups : povray.unofficial.patches : Transform bug in MegaPOV 0.6 Server Time
1 Nov 2024 15:27:44 EDT (-0400)
  Transform bug in MegaPOV 0.6 (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Rune
Subject: Transform bug in MegaPOV 0.6
Date: 4 Oct 2000 11:43:59
Message: <39db503f@news.povray.org>
In official POV-Ray (and in MegaPOV 0.5 I think) this...

transform MyTrans

...is correct, and this...

transform { MyTrans }

...will generate an error.

However, in MegaPOV 0.6 this...

transform { MyTrans }

seems to work, while this...

transform MyTrans

...craches the program!

Here's a complete example:

#declare MyTrans = transform {translate x}
sphere {
   2*z, 0.3
   pigment {color rgb 10}
   transform MyTrans
   // transform { MyTrans }
}

I use MegaPOV 0.6 for Windows.

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated October 1)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Christoph Hormann
Subject: Re: Transform bug in MegaPOV 0.6
Date: 4 Oct 2000 13:34:50
Message: <39DB6A3B.E981234@schunter.etc.tu-bs.de>
Rune wrote:
> 
> In official POV-Ray (and in MegaPOV 0.5 I think) this...
> 
> transform MyTrans
> 
> ...is correct, and this...
> 
> transform { MyTrans }
> 
> ...will generate an error.
> 
> However, in MegaPOV 0.6 this...
> 
> transform { MyTrans }
> 
> seems to work, while this...
> 
> transform MyTrans
> 
> ...craches the program!
> 

I can confirm this (Windows versions used):

Megapov 0.5a: OK
Megapov Plus 0.3.2: OK
Megapov 0.6: crash

The funny thing is, that it crashes *after* rendering.

Christoph

--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: smellenbergh
Subject: Re: Transform bug in MegaPOV 0.6
Date: 4 Oct 2000 14:03:36
Message: <1ehzs8a.hpt40zktmmvqN%smellenbergh@skynet.be>
Rune <run### [at] inamecom> wrote:

This is a bug in MP 0.6. It slipped in while fixing a memory leak.
The fix for the memory leak is correct but leaves another bug untouched.
For now, only use:
transform { MyTrans }

Smellenbergh

> In official POV-Ray (and in MegaPOV 0.5 I think) this...
> 
> transform MyTrans
> 
> ...is correct, and this...
> 
> transform { MyTrans }
> 
> ...will generate an error.
> 
> However, in MegaPOV 0.6 this...
> 
> transform { MyTrans }
> 
> seems to work, while this...
> 
> transform MyTrans
> 
> ...craches the program!
> 
> Here's a complete example:
> 
> #declare MyTrans = transform {translate x}
> sphere {
>    2*z, 0.3
>    pigment {color rgb 10}
>    transform MyTrans
>    // transform { MyTrans }
> }
> 
> I use MegaPOV 0.6 for Windows.
> 
> Rune
> --
> \ Include files, tutorials, 3D images, raytracing jokes,
> / The POV Desktop Theme, and The POV-Ray Logo Contest can
> \ all be found at http://rsj.mobilixnet.dk (updated October 1)
> / Also visit http://www.povrayusers.org


-- 
e-mail:sme### [at] skynetbe

http://users.skynet.be/smellenbergh


Post a reply to this message

From: Rune
Subject: Re: Transform bug in MegaPOV 0.6
Date: 4 Oct 2000 16:02:53
Message: <39db8ced@news.povray.org>
"smellenbergh" wrote:
> For now, only use:
> transform { MyTrans }

Oh man! :-(

I was so stupid as to delete MegaPOV 0.5 when I got version 0.6.

Now I have to get MegaPOV 0.5 again (is it even up anymore?) because it's
simply too impractical to manually replace all transform statements with the
different syntax. Affected is for example BlobMan, which is made up of
*several* include files, and all my own IK workings...

<sigh> - oh well...

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated October 1)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Transform bug in MegaPOV 0.6
Date: 4 Oct 2000 16:27:06
Message: <39DB9159.845CE59C@my-dejanews.com>
If this isn't rubbing salt in the wound, I always convert my old megapov.exe &
.html to megapov_oldversion#.exe before d/ling the new version.  I also wait a
few days before d/ling.

Rune wrote:

> "smellenbergh" wrote:
> > For now, only use:
> > transform { MyTrans }
>
> Oh man! :-(
>
> I was so stupid as to delete MegaPOV 0.5 when I got version 0.6.
>
> Now I have to get MegaPOV 0.5 again (is it even up anymore?) because it's
> simply too impractical to manually replace all transform statements with the
> different syntax. Affected is for example BlobMan, which is made up of
> *several* include files, and all my own IK workings...
>
> <sigh> - oh well...
>
> Rune
> --
> \ Include files, tutorials, 3D images, raytracing jokes,
> / The POV Desktop Theme, and The POV-Ray Logo Contest can
> \ all be found at http://rsj.mobilixnet.dk (updated October 1)
> / Also visit http://www.povrayusers.org


Post a reply to this message

From: Nathan Kopp
Subject: Re: Transform bug in MegaPOV 0.6
Date: 4 Oct 2000 17:59:27
Message: <39dba83f@news.povray.org>
"Rune" <run### [at] inamecom> wrote...
> Now I have to get MegaPOV 0.5 again (is it even up anymore?) 

Yes.  It's in the same directory on ftp.povray.org as version 0.6.

-Nathan


Post a reply to this message

From: GrimDude
Subject: Re: Transform bug in MegaPOV 0.6
Date: 5 Oct 2000 06:19:36
Message: <39dc55b8@news.povray.org>
"Greg M. Johnson" <gre### [at] my-dejanewscom> wrote in message
news:39DB9159.845CE59C@my-dejanews.com...
> If this isn't rubbing salt in the wound, I always convert my old
megapov.exe &
> .html to megapov_oldversion#.exe before d/ling the new version.  I also
wait a
> few days before d/ling.
>
> Rune wrote:
>

Hrm, I just keep them all archived, and expanded (under differrent names).
MP0.5.exe, and MP0.6.exe, for instance. Saves a lot of headaches (and
rewrites).

I wait no longer then it takes to d/l after a release announcement. :)

Grim


Post a reply to this message

From: Warp
Subject: Re: Transform bug in MegaPOV 0.6
Date: 5 Oct 2000 07:09:27
Message: <39dc6166@news.povray.org>
Rune <run### [at] inamecom> wrote:
: it's
: simply too impractical to manually replace all transform statements with the
: different syntax.

  In windows perhaps ;)

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


Post a reply to this message

From: Christoph Hormann
Subject: Re: Transform bug in MegaPOV 0.6
Date: 5 Oct 2000 07:45:23
Message: <39DC69D4.B01E12A7@schunter.etc.tu-bs.de>
Warp wrote:
> 
> Rune <run### [at] inamecom> wrote:
> : it's
> : simply too impractical to manually replace all transform statements with the
> : different syntax.
> 
>   In windows perhaps ;)
> 

You just need a text editor supposting regular expressions search (there are
several available for windows)

Furthermore there is grep, etc. for windows included in the cygwin package.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: Transform bug in MegaPOV 0.6
Date: 5 Oct 2000 09:36:35
Message: <39dc83e3@news.povray.org>
Again, tools that should be part of the system itself have to be made
by 3rd-party volunteers...

  Well, the tactic works. Microsoft is much richer than any Unix house.
They know how to make money, that's for sure.

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


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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