POV-Ray : Newsgroups : povray.unix : gradient problem vers. 3.1g : Re: gradient problem vers. 3.1g Server Time
28 Jul 2024 12:36:17 EDT (-0400)
  Re: gradient problem vers. 3.1g  
From: Lothar Esser
Date: 20 Sep 2001 12:13:59
Message: <3BAA15F4.8B232329@helix.nih.gov>
Ron Parker wrote:

> --
> #macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
> -z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
> P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
> reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}

Ultra cool !!! Very hard to understand. If you have time what is -x-x.2y ? I know x
= <1,0,0> and
a vector.x is the x component of vector but x.2y ?? I can probably read the manual
- I still think only in pov3.0.2 :)
LE


Post a reply to this message

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