Language
Buscar
Archives
- January 2012 (1)
- December 2011 (3)
- November 2011 (1)
February 2012 M T W T F S S « Jan 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Tags
-
Blog bajo licencia Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
Author Archives: bgimeno
Curved polygon
Consider a polygon of N sides. On one side of this polygon draw a semicircle of diameter less than the length of the side. Draw an arc with center on one of the vertices adjacent that connects to the first semicircle. The process is repeated on each side. If the first semicircle is located outside the shape is … Continue reading
Posted in Sin categoría
Leave a comment
Slices
Possibly one of the first macros that were written for Pov-Ray when the conditional statements were implemented, although I don’t know who was the first to devise it or write it. My CAT macro for scanning of objects is based on the idea that was used here.
Color Wheel
This macro was originally published in the POV-Ray user forum in August 2011 and is a simple modification of the macro included in “colors.inc” to switch from RGB to HSV. This macro returns the pigment located at ”A” degrees of the input pigment into the color wheel. It is valid to calculate complementary colors. triads … Continue reading
Trigonometry in Pov-Ray
One of my worst vices in math has always been having to rethink and rewrite the same formulas in different scenes for simple math calculations in POV-Ray. See here, a simple macro to calculate angles, sides and areas of regular polygons.
The Persistence Of Vision Ray-Tracer
The Persistence of Vision Ray-Tracer creates three-dimensional, photo-realistic images using a rendering technique called ray-tracing. It reads in a text file containing information describing the objects and lighting in a scene and generates an image of that scene from the … Continue reading
