POV-Ray : Newsgroups : povray.general : Coloring spheres based on their specified size : Coloring spheres based on their specified size Server Time
18 Jan 2026 21:02:46 EST (-0500)
  Coloring spheres based on their specified size  
From: esfoster
Date: 1 May 2024 09:05:00
Message: <web.66323db4d7093489c8fc9e4964e035f0@news.povray.org>
Hello,

I have a set of spheres defined with x, y, z, and size.

I want to add a color to them based on their size. e.g larger particles green
and smaller particles blue and there would be a gradient assigned to fill the
particles in between.

I have tried gradients and functions but have not yet gotten it to work.


Post a reply to this message


Attachments:
Download 'pout.txt' (883 KB)

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