POV-Ray : Newsgroups : povray.binaries.images : Spline-Based Media : Spline-Based Media Server Time
30 Jul 2024 06:24:56 EDT (-0400)
  Spline-Based Media  
From: Robert McGregor
Date: 13 Sep 2012 17:20:01
Message: <web.50524d1ff1921f6ff7aa22b40@news.povray.org>
Hi all,

I've been playing around with clouds (again!) the last few days. Here's a simple
example of using a spline-based media function to simulate the icy mist
surrounding a frozen "pipe" object based on:

spline {
   cubic_spline
   -0.25, <-2, 1.5, 0>,
    0.00, <-1, 0.0, 0>,
    0.25, < 1, 1.5, 0>,
    0.50, < 1, 0.0, 1>,
    0.75, <-1, 1.5, 1>,
    1.00, <-1, 0.5, 0>,
    1.25, <-2, 0.0, 0>
}

Cheers
-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message


Attachments:
Download 'rwm_cloud_spline_icy.jpg' (243 KB)

Preview of image 'rwm_cloud_spline_icy.jpg'
rwm_cloud_spline_icy.jpg


 

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