POV-Ray : Newsgroups : povray.advanced-users : Density filling option for polygon : Re: Density filling option for polygon Server Time
25 Apr 2024 15:36:25 EDT (-0400)
  Re: Density filling option for polygon  
From: Hedrondude
Date: 4 Jun 2018 21:30:00
Message: <web.5b15e64c4a5570bb478b32bb0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 04.06.2018 um 04:29 schrieb Hedrondude:
>
> > Another cool feature would be to color polygons according to density or to leave
> > some densities unfilled.
>
> I don't think the former would be possible /per se/ with reasonable
> effort. The latter would probably be quite easy to implement (and could
> then be used to emulate the former, by using copies of the polygon with
> different colours and different density ranges), but we'd need to find a
> neat syntax for such a feature.

ideas for syntax:

binary filling, leave as is:

polygon {n, v1,v2,v3,...v1}

density filling:

polygon {n, v1,v2,v3,...v1 density}

fill in one particular density

polygon {m,v1,v2,v3,...v1 density d}

fill in m particular densities:

polygon {n, v1,v2,v3,...v1 density {m,d1,d2,d3,..,dn}}


Post a reply to this message

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