POV-Ray : Newsgroups : povray.general : Feature Idea (something I think could be verry useful.) : Re: Feature Idea (something I think could be verry useful.) Server Time
19 Nov 2024 18:39:45 EST (-0500)
  Re: Feature Idea (something I think could be verry useful.)  
From:
Date: 21 Jan 2002 04:40:42
Message: <h2on4uchrebp72ojaeogltpd00vuv2ll2b@4ax.com>
On Mon, 21 Jan 2002 00:29:49 -0900, "Ace" <ble### [at] icefognet> wrote:
> is/could this be possible?

What about something like:

#macro Grid(Pig1,Pig2,Size)
  #local Pig3=pigment{
    gradient z
    pigment_map{
      [Size/2 Pig2]
      [Size/2 Pig1]
      [1-Size/2 Pig1]
      [1-Size/2 Pig2]
    }
  };
  plane{
    y, -1
    pigment{
      gradient x
      pigment_map{
        [Size/2 Pig2]
        [Size/2 Pig3]
        [1-Size/2 Pig3]
        [1-Size/2 Pig2]
      }
    }
  }
#end

Grid( pigment{rgb 1} , pigment{rgb 0}, 0.1}

> Gary
> -- sig will be here when I shorten it from 4000 lines--

Send your sig to povray.binaries.scene-files and we can help you :-)

ABX
--
disc{z,-z 5#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e,1))*.1-4#declare
e=e-1;#end#local e=26;pigment{#local g=function(_){ceil(_)-_}function#local//X
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e>0)<O(),O()//AB
>.01#end}}}}{k(g(atan2(x,y)),g(ln((y+x)^2+1e-5)),0)}}finish{ambient 1}}//POV35


Post a reply to this message

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