POV-Ray : Newsgroups : povray.binaries.images : Snow-on-Tree Macro : Dropsnow-Macros Update Server Time
10 Aug 2024 03:16:15 EDT (-0400)
  Dropsnow-Macros Update  
From: Tim Nikias
Date: 13 Dec 2004 11:51:41
Message: <41bdc89d@news.povray.org>
Just a tiny update not worth it's own thread. I've implemented various
macros to remove unwanted particles, e.g. when the surface is too steep, or
if it falls outside an object/boundary box... The latest invention, which I
rather like, is removing particles which are "roofed": underneath overhangs
snow has a hard time getting there. I inverted this: for every particle, I
check a User-Definable disc above the particle and look how much of that
disc can be reached without hitting the object.

A simple test-run with this new macro resulted in this rather crude and
simple attempt, but at least it's doing it's job properly. Next thing on my
list is a macro which will take the particles that remain after various
removal macros, and scale them according to their position's close vicinity,
e.g. walls will stretch particles upward to simulate stacking of snow in
those kinds of places. In the end, the set of macros is supposed to create a
nice blob which can be placed onto any given object to simulate some snow.

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message


Attachments:
Download 'test_snow.jpg' (30 KB)

Preview of image 'test_snow.jpg'
test_snow.jpg


 

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