POV-Ray : Newsgroups : povray.binaries.images : Tracing around objects : Re: Tracing around objects Server Time
5 Nov 2024 12:38:19 EST (-0500)
  Re: Tracing around objects  
From: Lonnie
Date: 9 Aug 2005 15:35:00
Message: <web.42f904a51fc1e6e93b3a698d0@news.povray.org>
Mike Kost <con### [at] povraytashcorpnet> wrote:
> Hey all,
>
> I've been goofing around with .df3 files and stumbled onto a neat effect. To
> create the attached image, I included a tree (generic one from POV-Tree)
> and used the trace() function to probe the surface of the tree and output
> intersection coordinates to the command line. A python script processed the
> intersection points into a .df3 file. In a second .pov file, I included the
> .df3 as the density in a media section to create the ghost tree on the
> right while the original tree is on the left.
>
> Mike K
> --
> http://povray.tashcorp.net

Super-Cool effect!  I am doing something rather similiar to generate clouds
with .df3 (the media in my last "Armillary" post uses a .df3.)  I wish
there was a way to generate binary files directly from POV - maybe there is
and I have just missed it.  What I need is POV's excellent random number
generators.  Right now I have to output the random stream to an ascii file,
read that file into my BASIC program, and then write out the .df3.  A file
made of a cube of 1000^3 two byte integers is big enough, but in comma
separated ascii it's immense! I can't use the BASIC random generator
because I get those nasty plateaus.


Post a reply to this message

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