POV-Ray : Newsgroups : povray.binaries.images : Some macros I wrote ... : Re: Some macros I wrote ... Server Time
3 Oct 2024 09:23:13 EDT (-0400)
  Re: Some macros I wrote ...  
From: David Fontaine
Date: 29 Jan 2000 15:23:55
Message: <38934C33.A6111809@faricy.net>
> AngOfDist -> returns the angle of a distance on a circumference, specify
> radius, and distance, returns the angle. The angle is calculated to evenly
> divide into 360, so you can create rings of evenly spaced objects with no
> uneven gaps.

Not sure what this means... could you post a little graphical example?

> RGBfromHue -> returns an RGB vector specifying a color of the hue you have
> passed it. Hue is specified from 0 - 1, where 0 is red, 1/6 is yellow, 1/3
> is green, 1/2 is cyan, 2/3 is blue, 5/6 is magenta, and 1 is red again. An
> invalid hue value will return gray.

Ooh! Why don't you make a RGB<->CMYK converter? (j/k)

--
Homepage: http://www.faricy.net/~davidf/
___     ______________________________
 | \     |_       <dav### [at] faricynet>
 |_/avid |ontaine      <ICQ 55354965>


Post a reply to this message

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