POV-Ray : Newsgroups : povray.binaries.images : A ghost for Halloween : Re: A ghost for Halloween Server Time
30 Jul 2024 02:22:01 EDT (-0400)
  Re: A ghost for Halloween  
From: William F Pokorny
Date: 20 Sep 2013 19:34:40
Message: <523cdb90@news.povray.org>
On 09/20/2013 08:08 AM, William F Pokorny wrote:
>
>
More detail on the df3 media technique used for the ghost image and a 
working example to be posted to p.b.tutorials. Here is the README from 
the tar ball:

---
The media technique attempts to avoid many of the known issues of using 
multiple media containers to create a complex media objects by stuffing 
shapes and colors into separate df3 files. Further the template provided 
(test.pov) supports up to 4 patterns, shown as rows in the included png 
file.

Each row is a media, which are added together in a final interior. In 

overlap the head shape to create a much more complex result.

The colors in each pattern row are determined by values within color df3 
files which themselves pick predefined colored densities from a density 
map. In each media the color and shape df3 values are multiplied. Where 
the shape values are 0 we get nothing in the resultant media.


df3s where the voxel values are all one value (200) existing only to 
define the overall shape. Two different turbulence warps are used of the 
shapes. These same warps are used to warp the color DF3s so the colors 
track the shapes no matter how turbulent in the end. See paintblot.png.

The DF3 files are created with a hacked tcl method based on Darren's 
MakeDF3 tcl utility which he posted to p.b.utilities.

Bill P.


Post a reply to this message


Attachments:
Download 'paintblot.jpg' (114 KB) Download 'test.jpg' (45 KB)

Preview of image 'paintblot.jpg'
paintblot.jpg

Preview of image 'test.jpg'
test.jpg


 

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