POV-Ray : Newsgroups : povray.unofficial.patches : mod(x,2) not liked by 0.4 : mod(x,2) not liked by 0.4 Server Time
2 Sep 2024 06:19:27 EDT (-0400)
  mod(x,2) not liked by 0.4  
From: Greg M  Johnson
Date: 26 Apr 2000 09:46:36
Message: <3906F232.CD9D3EA1@my-dejanews.com>
The following scene bombs out with an error message:

#version unofficial MegaPov 0.4
#include "colors.inc"
isosurface{
//      function {pow(x,2)} also bombs out
//      function {sin(x)}   does not bomb out.
        function {mod(x,2)}
        threshold 10
        accuracy 0.01
        contained_by
                {sphere {0, 160}}
        pigment {Green}
                     }
camera
{
  location  <0, 5, -300>
  look_at   <0, 5,  0.0>
}
light_source {<12, 3, -51.8056> color White}
light_source {<0, 2251.8056, 0> color White}


Post a reply to this message

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