POV-Ray : Newsgroups : povray.binaries.images : Snow macro test [~30k] : Snow macro test [~30k] Server Time
1 Aug 2024 00:18:07 EDT (-0400)
  Snow macro test [~30k]  
From: [GDS|Entropy]
Date: 17 Feb 2009 10:15:51
Message: <499ad4a7$1@news.povray.org>
Hello,

Since writing the exclusion test macro, it occured to me that all I had to 
do to make a snow macro, was modify what I already had to include a call to 
the trace function and a blob.

So far the macro is under 30 lines of code, but I am going to expand it to 
generate more types of snow and perhaps grass and moss before releasing it.

The snow/ice texture is slope dependant, so you can either cover the object 
in ice, cover it in snow, or anything in between. The ice texture needs a 
bit of work, currently it has filter at 0.9, and I'll probably add another 
instance of it to the texture map which will be more reflective/brilliant 
and be completely transparent.

The image below parsed in 1 second when performing a test with 5k blobs, 
which in all honesty was probably too many. Due to the ice it took about 1hr 
47min to render at 512x384.

Total Scene Processing Times
  Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
  Photon Time:   0 hours  0 minutes  0 seconds (0 seconds)
  Cloth Time:    0 hours  0 minutes  0 seconds (0 seconds)
  Mechsim Time:  0 hours  0 minutes  0 seconds (0 seconds)
  Render Time:   1 hours 47 minutes 18 seconds (6438 seconds)
  Postpr. Time:  0 hours  0 minutes  0 seconds (0 seconds)
  Total Time:    1 hours 47 minutes 19 seconds (6439 seconds)
CPU time used: kernel 3.83 seconds, user 6435.63 seconds, total 6439.45 
seconds
Render averaged 30.53 PPS over 196608 pixels

ian


Post a reply to this message


Attachments:
Download 'snownut.jpg' (26 KB)

Preview of image 'snownut.jpg'
snownut.jpg


 

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