POV-Ray : Newsgroups : povray.beta-test : error in SQRT : error in SQRT Server Time
31 Jul 2024 08:23:26 EDT (-0400)
  error in SQRT  
From: JRG
Date: 6 Sep 2001 09:20:25
Message: <3b977819@news.povray.org>
This scene works perfectly in MegaPov. It's the *lightflow thingy* made by
Warp.

Parse Error: Expected 'operand', sqr found instead.

isosurface
{ function
/* here error occurs---> */  {
sqrt(sqr(sqrt(sqr(x)+sqr(z))-1.5)+sqr(y))-(.3+.2*sin(8*atan2(x,z))) }
  contained_by { box { -<2,.5,2.1>,<2,.7,2> } }
   max_gradient 2.41 accuracy 10^-3
  translate .5*y
  pigment {rgb 1}
scale .7}

camera { location <-2,3,-3> look_at 0 }
light_source
{ <4,5,-5> rgb 3/2
}
plane
{ y,0
  pigment { rgb 1 }
}


Post a reply to this message

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