POV-Ray : Newsgroups : povray.newusers : having trouble visualising normals : Re: having trouble visualising normals Server Time
29 Jul 2024 20:13:45 EDT (-0400)
  Re: having trouble visualising normals  
From: Mike Williams
Date: 1 Mar 2005 14:19:31
Message: <Ab4TZHA5AMJCFw6f@econym.demon.co.uk>
Wasn't it Daniel Hulme who wrote:

>Well, not in this case. It's for my project, and the normal pattern
>applied to the object determines the direction the strands of fur have
>when they leave the surface (i.e. the strands point in the direction of
>the perturbed surface normals). It's not doing what I expect it to do,
>and I'm not sure whether it's the code or my expectations that are
>buggy :->

How are you managing to determine the perturbed normal in order for the
hairs to take that direction?

The normal returned by trace() ignores perturbations, so you can't be
doing it that way.

I can't find any equivalent of eval_pigment() that could be used to
determine the perturbed normal, and I can't write one in the same way as
eval_pigment(), because it uses pigment functions and there's no such
thing as normal functions.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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