POV-Ray : Newsgroups : povray.binaries.images : Saturn Ring - a first wip : Re: Saturn Ring - a first wip Server Time
2 Jul 2024 22:53:45 EDT (-0400)
  Re: Saturn Ring - a first wip  
From: Christian Froeschlin
Date: 4 Jan 2015 20:05:06
Message: <54a9e342@news.povray.org>
On 03.01.2015 16:17, Thomas de Groot wrote:

> Obviously, if I want to follow this approach further, I shall need
> many more objects.

If that doesn't scale up you could try an isosurface such as

#declare f_particles = function(x,y,z)
{
   0.8 - f_crackle(400*x,400*y,400*z) +
   0.1 * f_granite(500*x,500*y,500*z)
}

isosurface
{
   function { f_particles(x,y,z) }
   contained_by { box {<-3,0,0>,<3,0.1,1000>} }
   accuracy 0.0001
   max_gradient 1000
   pigment {color rgb 1}
}


Post a reply to this message


Attachments:
Download 'particles2_800.png' (474 KB)

Preview of image 'particles2_800.png'
particles2_800.png


 

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