POV-Ray : Newsgroups : povray.binaries.images : more subscat : Re: more subscat Server Time
20 Nov 2024 02:37:38 EST (-0500)
  Re: more subscat  
From: Mahalis
Date: 13 Oct 2001 12:29:37
Message: <3bc86bf1$1@news.povray.org>
Hmm. And I thought you just used a semi-transparent surface and light
fading.

--
 camera{location<0,0.25,-2> look_at 0.5*y} #declare
T=texture{pigment{crackle scale 0.5 rotate 90 turbulence 0.75 color_map{[0
rgb 1][0.05 rgb 1][0.1 rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}}
finish{ambient 1}} #declare c=difference{torus{0.5,0.1
rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}  merge{object{c
translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
//Mahalis
--

"Simon" <sim### [at] 12movede> wrote in message
news:3bc86962@news.povray.org...
>
>
> > What did you do? Just a gradient, or something else? Inquiring minds
must
> > know! :)
> >
>  No it's not a simple gradient.
> In most cases it behaves like scattering media but you can't see through
the
> surface of the object.
> It's done with two copys of the object, one with double_illuminate and
> no_shadow applied, the other one has a transparent texture and light
> attenuation.
>
> You would know that when you had read my posts ;)
>
>


Post a reply to this message

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