POV-Ray : Newsgroups : povray.general : Speeding up rendering many spheres : Re: Speeding up rendering many spheres Server Time
2 May 2024 21:45:39 EDT (-0400)
  Re: Speeding up rendering many spheres  
From: Bill Pragnell
Date: 6 May 2020 17:10:07
Message: <web.5eb326caddc056181b6c6b3a0@news.povray.org>
geo### [at] phareinvalid (Nicolas George) wrote:
> I have a scene made of 200k spheres merged on a path (like a sphere_sweep,
> but with changing pigment and a ringed look), few are big, many are tiny and
> barely visible. Unsurprisingly, it is taking forever to render.
>
> I am looking for ways to speed it up.

Without knowing where your path came from, or quite what 'ringed look' means, my
suggestion might be useless to you, so apologies in advance!

However, in this situation I think I would seriously consider building this as a
mesh, creating a ring of triangles for each point of the path. Triangle rings
can be given different textures, either picked from a list (mesh2), or UV-mapped
from a gradient of your pigment 'space'. Parsing might still take some time, but
I would think rendering would be pretty fast.

Bill


Post a reply to this message

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