POV-Ray : Newsgroups : povray.advanced-users : Density filling option for polygon : Density filling option for polygon Server Time
19 Apr 2024 20:27:43 EDT (-0400)
  Density filling option for polygon  
From: Hedrondude
Date: 2 Jun 2018 23:25:00
Message: <web.5b135f5ec27af4a4478b32bb0@news.povray.org>
I'm using POV-Ray to render cross sections of four and five dimensional uniform
polytopes - especially star polytopes.  These renders can be seen on my website
http://www.polyope.htm/hedrondude/polychora.htm  I use the polygon keyword quite
a bit, but it only renders with the binary filling (all odd density regions gets
filled in, even density are left as holes) which forces me to manually fill in
all the non-0 even density regions.  This isn't too bad for simple polytopes,
but with more complex ones, this gets very tedious.  Is it possible to render
polygons with density filling (all non-0 density regions gets filled in - i.e.
filled in by the 'winding method') or better yet could this be a feature for
POV-Ray 3.8 where there is a density filling option for the polygon keyword.  I
would suggest something like this:

#local obj=polygon {45,v1,v2,v3,......,v44,v1 density}


Post a reply to this message

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