POV-Ray : Newsgroups : povray.beta-test : crash in scenefile : Re: crash in scenefile Server Time
30 Jul 2024 12:23:29 EDT (-0400)
  Re: crash in scenefile  
From:
Date: 31 Oct 2001 09:09:50
Message: <7f10ut8s3mennqkvujmi8okpv4lbpfrjb2@4ax.com>

<abx### [at] babilonorg> wrote:

> It also works fine when declaration of fn_Crack
> is outside of macro (with Offs replaced with value. Therefore I think
> it it bug with redeclared function (I know it is noted as fixed).

It also works fine when #declare fn_Crack is replaced with #local

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

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