POV-Ray : Newsgroups : povray.binaries.images : Pencil Macro Critique? : Re: Pencil Macro Critique? Server Time
4 Oct 2024 03:17:13 EDT (-0400)
  Re: Pencil Macro Critique?  
From: Charles Krause
Date: 27 Apr 1999 05:43:19
Message: <372578a7.0@news.povray.org>
>
>Would it be possible to layer or map the wood and lead textures, then apply
it
>as a  _planar_ with some turbulence?
>really quick example:
> texture {
>   planar
>   turbulence 0.099
>   texture_map {
>      [0.6 Wood_texture ]
>      [1.0 Lead_texture   ]
>    }
>}


Hmmm - you mean something like a gradient map?
Above a certain level it's paint, below a certain level it's wood, and then
put a bit of
turbulence in it, so there is a little paint in the wood area, and a little
wood in the paint area?

This would work for ROUND pencils, where the dividing line is a circle
contained in a plane, but what about the hex pencils? the dividing line is a
complex shape.

It also occurred to me that for the most part, your camera is not going to
be doing a zoom in on the sharpened point :) If it's a desk scene, pencils
might just be decor. Maybe it's more trouble than it's worth to fix this? I
don't know.

A CSG solution that I might tinker with, is subtracting a number of small
diameter, short cylinders, whose long axis is aligned with the side of the
shear_cone and randomly distributed around the perimeter of the pencil.
Alternatively, small, unevenly scaled spheres might work better. This would
approximate 'dings and dent' along that border. Again - the hex pencil is a
much tougher problem.


Post a reply to this message

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