POV-Ray : Newsgroups : povray.unofficial.patches : Transform bug in MegaPOV 0.6 : Re: Transform bug in MegaPOV 0.6 Server Time
1 Sep 2024 22:14:58 EDT (-0400)
  Re: Transform bug in MegaPOV 0.6  
From: smellenbergh
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

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