POV-Ray : Newsgroups : povray.binaries.images : Variable radiosity parameters test (~220k) : Re: Variable radiosity parameters test (~220k) Server Time
13 Aug 2026 03:15:14 EDT (-0400)
  Re: Variable radiosity parameters test (~220k)  
From: KalleK
Date: 4 Sep 2002 01:27:42
Message: <3d7599ce$1@news.povray.org>
> Suggestion (if you already thought about it, sorry :-))
> Would it be possible to use a something like empties to pinpoint the
> place we think wil require more work?
> An empty is an object used in almost all modellers that present all
> qualities of an object except that it doesn't appear at render time.
> The POVdude could put those in the scene according to what he sees in
> the test rendering that way for the final rendering your function will
> automatically knows where to work.
> I suppose that there must be a box attribute in POV that allow to
> define a zone that will be treated (I'm reading in parrallel the
> POVdoc so forgive me if I'm nuking some open doors). Each empty could
> be given a zone that it represent and the function will work on those
> zones by pointing to the empties.


I never used it yet, but the object_pattern should do.
Well - function {pigment_pattern {object {...}}}, that is.
See docs: 6.7.11.23 and 6.7.11.25
E.g.


Simply declare an union with boxes covering all the area, that POV-Ray should
have a closer look, and use it as an 'object_pattern' in a function.
It seems, it's not too difficult to use Christoph's technic with those
functions...

#declare Function =
  function {
    pattern {
      pigment_pattern {
        object {
          union {
            box{...}
            box{...}
            box{...}
          }
        }
      }
    }
  }

To Christioph: Keep it up, it's always good to have the posibilitys of
POV-Ray anhanced.
One day won't want to miss it...

cukk


Post a reply to this message

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