POV-Ray : Newsgroups : povray.binaries.images : messing with bubbles (23k) : messing with bubbles (23k) Server Time
16 Aug 2024 10:22:57 EDT (-0400)
  messing with bubbles (23k)  
From: Pete
Date: 16 Feb 2002 18:28:16
Message: <3c6eeb10@news.povray.org>
Hi,

I've been playing with some macros for generating bubble
CSG objects, the aim being to create a disk where two
bubbles meet, rather than simply two intersecting
spheres. It even seems to be working (though the macros
are still a bit sloppy) as you should be able to see
if you look closely at the parts where the bubbles intersect.

The macros take an array of bubble centers and radii as input,
and should work even for large numbers of bubbles (but rendering
will probably slow down a bit ;-)

I benefitted greatly by advice I read on this news server,
about making CSG differences more efficient, to the tune of
about a 1000% (literally!!) improvement in render time,
so thanks for that, whoever you were! :-)

This 800x600 image took about 1hr to render on my K6-3 450
w/ 250M with +A0.3 and +AM2 (but about 150M free, and I was
continuously browsing the web while it ran.)  

(I can only hope my primitive binary-posting technology will
work ok on this server, since I've never tried it before.
Apologies in advance, if it doesn't pan out...)

- Pete.


Post a reply to this message


Attachments:
Download 'bubbles.jpg' (23 KB)

Preview of image 'bubbles.jpg'
bubbles.jpg


 

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