POV-Ray : Newsgroups : povray.binaries.images : Isosurface approximation MkII : Re: Isosurface approximation MkII Server Time
13 Aug 2024 09:28:19 EDT (-0400)
  Re: Isosurface approximation MkII  
From: Tor Olav Kristensen
Date: 9 Apr 2003 22:15:02
Message: <Xns93592B990C198torolavkhotmailcom@204.213.191.226>
"Kevin Loney" <klo### [at] pt2mcom> wrote in news:3e94b3a3@news.povray.org:

> I considered using trace(), but then decided against it because of the
> fact each vertex is only an approximation of the iso and will not
> neccesarily be right where it's supposed to be. By using trace() the
> normal approximation could be off by a lot resulting in a really
> strange shading. I would use the average of the neighboring faces but
> since I'm not storing them that could cause just a bit of a problem.
> I've been looking into ways of approximating it based on the function
> supplied, I think I have an idea of how to do this, but I'm not sure
> yet, but thanks for the suggestions. 


The vGradient() macro should be able to do the job.

Here's the documentation for it:

http://www.povray.org/documentation/view/253/


Tor Olav


Post a reply to this message

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