POV-Ray : Newsgroups : povray.binaries.images : Grass after rain (WIP) : Re: Grass after rain (WIP) Server Time
30 Jul 2024 16:18:07 EDT (-0400)
  Re: Grass after rain (WIP)  
From: clipka
Date: 13 May 2011 10:50:31
Message: <4dcd4537$1@news.povray.org>
Am 12.05.2011 22:25, schrieb TawnyOwl:
> Second thought: 4 points are one to much. Better use only 3 in a equiliteral
> traingle at the borders of the drops. Then the plane between this points on the
> blade is well defined (4 points may not result in a plane) and the slopes can be
> calculated.

For determining the "slope" of the blade, retrieving the normal vector 
from a single trace() call should suffice.

Tracing multiple rays is a good idea though to prevent drops from 
hanging out too far at a blade edge.


Post a reply to this message

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