POV-Ray : Newsgroups : povray.binaries.images : Balance wheel (WIP 2) : Re: Balance wheel (WIP 2) Server Time
4 Nov 2024 20:14:38 EST (-0500)
  Re: Balance wheel (WIP 2)  
From: Werner Vesterås
Date: 10 Feb 2007 17:37:06
Message: <45ce4912@news.povray.org>
Jim Charter wrote:
> Nice work on the modelling. CSG?
> 
> I see you are zeroing in on the textures also.  It seems these metals on 
> the internal workings are polished or honed to a high reflectivity?  We 
> would see that more as you know if there is a background to reflect.
> 
> Cool graph paper especially if you are generating it procedurally.  Not 
> sure it shows off this piece to best advantage though.
> 
> We always love to see the development of a meticulously crafted 
> depiction of a work of meticulous craftmanship here.

I used Inkscape to create the anchor.  I made the anchor by drawing 
bezier lines on top of an image of a real anchor.  When completed, I 
exported the bezier lines with the pov-export feature in Inkscape.

The escapement gear was only partially made in Inkscape.  I used the 
same procedure as described above, but only for one tooth.  The object 
is then duplicated and rotated 15 times in a macro, to form the gear.

The texture of the graph paper:

#declare P_Lines =
   pigment {
     gradient x
     color_map {
       [0.0             color rgbf <1, 1, 1, 1.0>]
       [0.0             color rgbf <0.5, 0.5, 1, 0.0>]
       [0.02            color rgbf <0.5, 0.5, 1, 0.0>]
       [0.02            color rgbf <1, 1, 1, 1.0>]
       #declare N = 0.1;
       #while (N <= 1)
         [N             color rgbf <1, 1, 1, 1.0>]
         [N             color rgbf <0.5, 0.5, 1, 0.0>]
         #if (N = 0.5)
         [N + 0.015            color rgbf <0.5, 0.5, 1, 0.0>]
         [N + 0.015            color rgbf <1, 1, 1, 1.0>]
         #else
         [N + 0.01            color rgbf <0.5, 0.5, 1, 0.0>]
         [N + 0.01            color rgbf <1, 1, 1, 1.0>]
         #end
         #declare N = N + 0.1;
       #end
     }
   }

#declare T_Grid =
   texture {
     pigment { color rgb <1, 1, 1> }
     finish { ambient 0.5 }
   }
   texture {
     pigment { P_Lines }
   }
   texture {
     pigment { P_Lines rotate <0, 90, 0> }
   }

Regards,


Oslo, Norway


Post a reply to this message

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