|
|
I don't know if this has already been reported or not (so bear with me if it
already has been).
The scene:
#local fn_X = function(x,y,z) { x*x + y*y - 1 }
#local fn_X = function(x,y,z) { x*y + y*x - 1 }
when rendered will crash PovRay 3.5 editor with the following message:
'The instruction at "0x0046539d" referenced memory at "0x00000105". The
memory could not be "read".' (I'm not sure just what Windows was really
trying to do when it wanted to "read" the data. Maybe it had to be
"written" first <g>).
Tested on Win2k and Win98.
It appears to be an issue with using the same fairly complicated local
variable. Using
#declare will not exhibit the same behavior. Neither will:
#local fn_X = 3;
#local fn_X = 4;
-autowitch
www.autowitch.org
Post a reply to this message
|
|
|
|
autowitch wrote:
>
> I don't know if this has already been reported or not (so bear with me if it
> already has been).
>
> The scene:
>
> #local fn_X = function(x,y,z) { x*x + y*y - 1 }
> #local fn_X = function(x,y,z) { x*y + y*x - 1 }
>
> [...]
I can confirm that,
note that declaring functions and declaring variables are two different
things, for a long time during pre-beta, it was not possible to '#local'
functions at all.
Workaround: '#undef' between
Note to Thorsten (or whoever): It does not crash with the intel-compile.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|