POV-Ray : Newsgroups : povray.general : Dumb Cube, the megapatch way : Dumb Cube, the megapatch way Server Time
10 Aug 2024 13:27:44 EDT (-0400)
  Dumb Cube, the megapatch way  
From: Simon de Vet
Date: 18 Dec 1999 15:30:16
Message: <385BEF15.38346E0D@istar.ca>
I present, for your enjoyment, the single dumbest method of creating a
rounded cube.

isosurface {
  function {
z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z*z +

y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y*y +

x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x }
  threshold 100000000000

[etc..]
                }


(Do isosurfaces support the pow(A,B) function? I tried, and it didn't
work)


Post a reply to this message

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