|
![](/i/fill.gif) |
Hmm, darn cut and paste.... you lose stuff going from application to
another sometimes....
I've already modified the code to accept spheres, I'm sure boxes wouls
be very easy. Prisms, I don't know. I suppose I could make a 5 or
6-sided prism with random points, something like <
sin(rand(NewSeed)*360)*Tv, cos(rand(NewSeed)*360)*Tv > for each point,
but I haven't tried it yet to see if it will work.
Christoph Hormann wrote:
> Thanks for sharing this with us.
>
> There is a bracket missing in the sphere's finish statement:
>
> sphere{<X,Cf1*Hv,Z>, Tv*(Cy_Rad/2)
> pigment{rgb Cv1}finish{diffuse 1
> } ^
>
> don't know how you lost that, but it keeps the code from running.
>
> BTW, how about a possibility to use other forms than cylinders
> (boxes, prisms, ...) :-)
>
> Christoph
>
> --
> Christoph Hormann <chr### [at] gmx de>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/
--
Samuel Benge
E-Mail: STB### [at] aol com
Visit my isosurface tutorial at http://members.aol.com/stbenge
Post a reply to this message
|
![](/i/fill.gif) |