|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Some images created to illustrate these macros. They are available at
http://www.primenet.com/~vanukoff/3d/povray/
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.
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.
Comments welcome.
--
Paul Vanukoff
van### [at] primenetcom
Post a reply to this message
Attachments:
Download 'Sinesque.jpg' (71 KB)
Download 'ColoredRings.jpg' (52 KB)
Preview of image 'Sinesque.jpg'
Preview of image 'ColoredRings.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Paul Vanukoff wrote:
>
> Some images created to illustrate these macros. They are available at
>
> http://www.primenet.com/~vanukoff/3d/povray/
The image is pretty impressive. Will you be offering these at this address
for a while so that I can link to them from the POV-Ray links page ?
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ken wrote:
> The image is pretty impressive. Will you be offering these at this address
> for a while so that I can link to them from the POV-Ray links page ?
Yeah I'll keep 'em there .. If I ever move them, I'll let you know. Thanks!
--
Paul Vanukoff
van### [at] primenetcom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
David Fontaine wrote in 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?
The 2nd image I posted above (ColoredRings) is the example. Each ring is
composed of spheres 0.5 units apart on the circumference. The macro simply
calculates the angle between one sphere and the next for a given ring. The
angle given is rounded to the nearest value that will divide into 360, so
objects can be placed evenly around the circumference, with no uneven gaps.
I don't know how else to explain it, you can look at the source code in the
same www folder the macros are in, if you'd like. :)
--
Paul Vanukoff
van### [at] primenetcom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> The 2nd image I posted above (ColoredRings) is the example. Each ring is
> composed of spheres 0.5 units apart on the circumference. The macro simply
> calculates the angle between one sphere and the next for a given ring. The
> angle given is rounded to the nearest value that will divide into 360, so
> objects can be placed evenly around the circumference, with no uneven gaps.
Oh! I get it. I was confised; the second picture shows both macros in use, what
is the point of the first one then?
--
Homepage: http://www.faricy.net/~davidf/
___ ______________________________
| \ |_ <dav### [at] faricynet>
|_/avid |ontaine <ICQ 55354965>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Paul
This looks really great. Regretablly I am unable to access
your web site at the present time.
This should not be a problem for me in the future.
Nonetheless I might suggest that you post these
most excellent looking macros to povray.binaries.scene-files.
It couldn't hurt.
I look forward to exploring them.
Peter Warren
war### [at] hotmailcom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
David Fontaine wrote in message <3893BA20.F1094000@faricy.net>...
>Oh! I get it. I was confised; the second picture shows both macros in use,
what
>is the point of the first one then?
>
Well, the first one is probably kind of pointless ... it uses the rgb macro
only ... I thought it looked neat though, so I posted it .. probably
slightly confusing ... sorry .. :)
--
Paul Vanukoff
van### [at] primenetcom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Warren wrote in message <38942711@news.povray.org>...
>Paul
>
>This looks really great. Regretablly I am unable to access
>your web site at the present time.
>
>This should not be a problem for me in the future.
>Nonetheless I might suggest that you post these
>most excellent looking macros to povray.binaries.scene-files.
>It couldn't hurt.
I can do that ...
--
Paul Vanukoff
van### [at] primenetcom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |