POV-Ray : Newsgroups : povray.general : general geometry question : Re: general geometry question Server Time
7 Aug 2024 21:25:16 EDT (-0400)
  Re: general geometry question  
From: Ron Parker
Date: 21 Aug 2001 19:22:23
Message: <slrn9o5r9i.i4e.ron.parker@fwi.com>
On Tue, 21 Aug 2001 16:04:44 -0700, Chris Jeppesen wrote:
>This only works in 2 dimensions, ie z1=z2=z3. Extending to 3 dimensions is a
>more complicated problem than I care to think about now.

You need a basis transform to get it back into 2 dimensions, as with my
solution.

-- 
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions


Post a reply to this message

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