POV-Ray : Newsgroups : povray.binaries.images : His bear, my fur (90 K) Server Time
4 Oct 2024 21:13:56 EDT (-0400)
  His bear, my fur (90 K) (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Margus Ramst
Subject: Re: His bear, my fur (90 K)
Date: 8 Mar 1999 02:44:26
Message: <36E37FD8.79E974FA@peak.edu.ee>
Stephen Lavedas wrote:
> 
> My solution was merely to increase the angle to something like >95
> degrees or so until results are good.  Actually, I don't think that for
> your hair at least that 90 degrees is going to be enough...ie, since the
> hair sticks up from the object and is visible beyond the surface.  My
> solution would draw excess hairs, but fewer than covering the entire
> surface
> 
> Steve

With some objects, it would work. With others, it wouldn't. Consider a box.
There is a very sharp change in normal direction at the edge. The
normal/camera difference could be up to 180 degrees, yet the point could lie
next to a visible point and culling shouldn't take place. You could argue that
the existing hairs would obscure this shortcoming. But if the box were very
thin, the lack of hairs on the backside would become visible.
Still, this solution is nice and simple. Anything better would need to have
some kind of a sorting algorithm, I'm afraid. Perhaps I'll let the user
specify a culling angle. 180 degrees - no culling. 0 degrees - nice and bald
:)

Margus


Post a reply to this message

From: Stephen Lavedas
Subject: Re: His bear, my fur (90 K)
Date: 8 Mar 1999 19:57:30
Message: <36E471FE.25DE3863@virginia.edu>
That is kinda what I was going for, a solution that while not perfect it
is easy to implement.  I actually kind of considered the variable angle
as a solution.  Just after I posted the message.  Let me know how it
turns out.

Steve


Margus Ramst wrote:
> 
> Stephen Lavedas wrote:
> >
> > My solution was merely to increase the angle to something like >95
> > degrees or so until results are good.  Actually, I don't think that for
> > your hair at least that 90 degrees is going to be enough...ie, since the
> > hair sticks up from the object and is visible beyond the surface.  My
> > solution would draw excess hairs, but fewer than covering the entire
> > surface
> >
> > Steve
> 
> With some objects, it would work. With others, it wouldn't. Consider a box.
> There is a very sharp change in normal direction at the edge. The
> normal/camera difference could be up to 180 degrees, yet the point could lie
> next to a visible point and culling shouldn't take place. You could argue that
> the existing hairs would obscure this shortcoming. But if the box were very
> thin, the lack of hairs on the backside would become visible.
> Still, this solution is nice and simple. Anything better would need to have
> some kind of a sorting algorithm, I'm afraid. Perhaps I'll let the user
> specify a culling angle. 180 degrees - no culling. 0 degrees - nice and bald
> :)
> 
> Margus


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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