POV-Ray : Newsgroups : povray.general : Translucent texture : Re: Translucent texture Server Time
7 Aug 2024 19:19:27 EDT (-0400)
  Re: Translucent texture  
From: Ron Parker
Date: 18 Jun 2001 18:31:13
Message: <slrn9it09j.3gn.ron.parker@fwi.com>
On Mon, 18 Jun 2001 18:01:26 -0400, Abe wrote:
>Does anyone have any tips, suggestions or pointers towards getting a
>translucent effect in pov? (This is not to be confused with
>transparency.)

You can cheat with some objects, such as bicubic patches, that allow
illumination from both sides.  I think MegaPOV lets you turn on that
functionality for any object with the double_illuminate keyword.

If that doesn't do what you want, your only alternative is a dense
scattering media.  The down side to that, of course, is that it might
be a bit slow.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

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