POV-Ray : Newsgroups : povray.general : crash with isosurface : Re: crash with isosurface Server Time
1 Aug 2024 16:31:04 EDT (-0400)
  Re: crash with isosurface  
From: Christoph Hormann
Date: 1 Aug 2005 11:45:01
Message: <dclg04$2j5$1@chho.imagico.de>
Friedrich Lohmueller wrote:
> I'm having a crash problem with isosurface
> using pov-ray 3.6.1 for windows on windows XP:

Renders without error in all variations using official 3.6.1 here (on Linux)

But note:

>   sqrt(  0.5*x*x + y*y + z*z - 1)

tries to calculate the square root of a negative number for some values 
of x,y and z, the result of this is not defined (and can vary from 
platform to platform - i even get different results with different 
builds here).

You almost certainly want:

sqrt( 0.5*x*x + y*y + z*z ) - 1


Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 24 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

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