POV-Ray : Newsgroups : povray.binaries.images : smooth height_fields : Re: smooth height_fields Server Time
16 Aug 2024 14:16:50 EDT (-0400)
  Re: smooth height_fields  
From: Zeger Knaepen
Date: 2 Mar 2002 14:32:14
Message: <3c8128be@news.povray.org>
> I'm only after a macro that average normals based on a matrix, like in
> ordinary heightfields. The tricky thing is that the faces can be connected
> in 2 ways, based on what serves the curvature best.. I don't know the
> mathematical names for it.. I call them "quad faces".. Two faces form a
> square, but this can happen in 2 ways.. I use both ways and I need a macro
> to smooth that matrix.. I think, ordinary heightfields also swap the
> quad-faces depending on the curvature..
if that is true, the geometry of my own height_field-like object still isn't
the same as the real height_field.
But, Christoph: *if* it's true what Hugo says here, the results of the real
height_fields should be *better* than those of my own version, which it
clearly isn't.

> If your macro can handle this - please ! ...share it. :o)
> Or if I didn't make myself clear, I can try again.
:)
At the moment there isn't really a macro (yet), but I'll post my code to
p.b.s-f

cu!
--
ZK AKA SaD
http://www.povplace.be.tf
"It's my duty; my duty as a complete and utter bastard."


Post a reply to this message

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