POV-Ray : Newsgroups : povray.advanced-users : <no subject> Server Time
24 Nov 2024 19:26:46 EST (-0500)
  <no subject> (Message 1 to 2 of 2)  
From: Leonardo
Subject: <no subject>
Date: 27 Jan 2005 06:50:01
Message: <web.41f8d477c23a6d927bbadf50@news.povray.org>
I believe it's not possible with just one pass.

Untested idea: you could render two images, and combine them in your
favorite image manipulation software.

One of the images would be a scene with only the sphere in solid white
(ambient 1.0), with alpha output enabled. This would help you to determine
the boundaries of the sphere, and also get your anti-aliasing right.
The other image would be the final scene, with your sphere refracting
objects in the background. Don't bother with the background showing out of
the sphere.

The combination process would be multiplying the two images. This would
discard everything that's not inside the sphere.


Post a reply to this message

From: Leonardo
Subject: Re: <no subject>
Date: 27 Jan 2005 08:40:00
Message: <web.41f8ee656f92e85627bbadf50@news.povray.org>
I'm sorry...
This message was supposed to go under the thread "special effect:
glass-sphere with alpha-background"


Post a reply to this message

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