POV-Ray : Newsgroups : povray.text.scene-files : Cylinder heightfield macro using eval_pigment : Re: Cylinder heightfield macro using eval_pigment Server Time
28 Jul 2024 14:18:19 EDT (-0400)
  Re: Cylinder heightfield macro using eval_pigment  
From: SamuelT
Date: 10 Jun 2000 14:53:35
Message: <39428F50.D38BA3A6@aol.com>
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] gmxde>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit my isosurface tutorial at http://members.aol.com/stbenge


Post a reply to this message

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