POV-Ray : Newsgroups : povray.beta-test : density_file pattern "overshoots" Server Time
7 Jul 2024 06:51:51 EDT (-0400)
  density_file pattern "overshoots" (Message 1 to 1 of 1)  
From: clipka
Subject: density_file pattern "overshoots"
Date: 27 Mar 2009 22:15:00
Message: <web.49cd87fa5dd7d023208afb30@news.povray.org>
When using interpolation 2 (tricubic), a density_file pattern may "overshoot" if
the DF3 files has particularly high "plateaus" with steep gradients, wrapping
the pigment around to zero.

I think this requires fixing. From the density_file pattern code, I gather that
the wraparound could be suppressed by setting the "frequency" property to zero.
I also noticed that this property *is* set to zero for truly image-based
patterns, maybe for the very same reason.


Post a reply to this message

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