POV-Ray : Newsgroups : povray.general : Isosurface functions : Isosurface functions Server Time
5 Aug 2024 12:22:15 EDT (-0400)
  Isosurface functions  
From: Tom Melly
Date: 24 Sep 2002 10:47:20
Message: <3d907af8$1@news.povray.org>
Help please.

Can anyone suggest functions for:

A pipe (i.e. a cylinder with a hole running through it and a configurable
wall-thickness).

A brain-like effect.

Also, with a function like:
(f_hex_x(x,y,z,1) - 2/3)*-1
how would I go about wrapping this around a sphere? (if such a thing can be
done).

--
#macro A(V,B,C,R)#while(B-256)#if(V-128/B>=0)sphere{0,.5translate<C-4R-1,9>
pigment{rgb<1-C/8R/2C/8>}}#local V=V-128/B;#end#local B=B*2;#local C=C+1;#
end#end A(234,1,0,2)A(85,1,0,1)A(81,1,0,0)light_source{-5 1}//Tom Melly


Post a reply to this message

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