POV-Ray : Newsgroups : povray.beta-test : problem with normals/functions: crash! : Re: problem with normals/functions: crash! Server Time
2 Nov 2024 11:27:29 EDT (-0400)
  Re: problem with normals/functions: crash!  
From: Lutz-Peter Hooge
Date: 30 Nov 2001 20:28:21
Message: <MPG.167250dd4c006ce89896c4@news.povray.org>
In article <MPG.16724448f4beb4ad9896c3@news.povray.org>, lpv### [at] gmxde 
says...

> #declare sinxsin=function{min(abs(sin(x*pi/2)),abs(sin(z*pi/2)))}

It does work when I #declare min2=function(x,y){select(x-y,x,y)}
and then replace min with min2.

So something concerning the min/max functions is broken.

I think it is related to Suzuki's isosurface bug, because when I replace 
min with & or | the behavior is the same, but if i replace it with a 
different function (for example sin(x*pi/2)*sin(z)*pi/2)) it works as 
expected.

Lutz-Peter


Post a reply to this message

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