|
![](/i/fill.gif) |
On 27/01/2011 11:04 PM, StephenS wrote:
> From: \scene\language\trace2.pov
> Add: #include "transforms.inc" // at the top of the scene
> about line 64
>
> //cylinder {iPt, iPt + iNorm*PinHeight, 0.01}
> cylinder {0,<0,PinHeight,0>, 0.01
> Reorient_Trans(<0,1,0>, iNorm)
> translate iPt //<iPt.x,iPt.y,iPt.z>
> }
>
> I have replaced the original cylinder{} with one defined at the origin and
> rotated to match the normal, then translated into place.
>
> Is this what you where looking for?
Thanks Stephen, I looked at that scene but missed "Reorient_Trans".
--
Regards
Stephen
Post a reply to this message
|
![](/i/fill.gif) |