POV-Ray : Newsgroups : povray.binaries.images : Macro test for decay : Macro test for decay Server Time
15 Nov 2024 02:24:12 EST (-0500)
  Macro test for decay  
From: Doug Eichenberg
Date: 13 Sep 2003 14:35:03
Message: <3f636357@news.povray.org>
Been goofing around with some ideas for the decay round.  In the process I
came up with a macro that parses a mesh file and replaces it with cubes.  It
works recursively, so you can specify the level of recursion to get more or
less detail.  Anyway, here are two test images.  The first one is done
without recursion, and the second one is with one level of recursion.  For
each level of recursion, it subdivides each cube into a 3x3x3 cube (27
sub-cubes), then samples those points to see if they are inside the mesh or
not.


--
Doug Eichenberg
www.getinfo.net/douge
dou### [at] nlsnet


Post a reply to this message


Attachments:
Download 'bd_test0.jpg' (97 KB) Download 'bd_test1.jpg' (98 KB)

Preview of image 'bd_test0.jpg'
bd_test0.jpg

Preview of image 'bd_test1.jpg'
bd_test1.jpg


 

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