POV-Ray : Newsgroups : povray.newusers : Transparent Object Server Time
2 Nov 2024 17:20:35 EDT (-0400)
  Transparent Object (Message 1 to 3 of 3)  
From: Damien
Subject: Transparent Object
Date: 28 Aug 2003 09:00:45
Message: <3f4dfcfd@news.povray.org>
Hey,
 im making a scene of a room, and i want a fish tank in it. i've made a
glass box with a light ontop, however the box is too transparent.. can
anyone give me a good example or any hints on how to make the object
semi-transparent so you can actually make out the shape of the box :)

thanks
Damo!


Post a reply to this message

From: Warp
Subject: Re: Transparent Object
Date: 28 Aug 2003 09:21:25
Message: <3f4e01d5@news.povray.org>
Damien <rev### [at] iinetnetau> wrote:
>  im making a scene of a room, and i want a fish tank in it. i've made a
> glass box with a light ontop, however the box is too transparent.. can
> anyone give me a good example or any hints on how to make the object
> semi-transparent so you can actually make out the shape of the box :)

  You can see even the cleanest and brightest glass because it reflects
and refracts light.
  Making the glass refract makes its shape obvious by the way in which
it distorts the background. Making it reflecting makes its surface shapes
quite evident. And it's quite photorealistic as well, naturally.
  If the glass object has round shapes, then specular highlights are a must.

  (Naturally if it's reflecting, there should be something in the
surroundings for it to reflect; a glass object in an empty black space
can't reflect anything.)

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Christopher James Huff
Subject: Re: Transparent Object
Date: 29 Aug 2003 18:00:43
Message: <cjameshuff-517732.18004829082003@netplex.aussie.org>
In article <3f4dfcfd@news.povray.org>, "Damien" <rev### [at] iinetnetau> 
wrote:

>  im making a scene of a room, and i want a fish tank in it. i've made a
> glass box with a light ontop, however the box is too transparent.. can
> anyone give me a good example or any hints on how to make the object
> semi-transparent so you can actually make out the shape of the box :)

Don't make it entirely transparent...a real fish tank has stuff on the 
glass. Only use the texture for the stuff on the glass surface though, 
use interior attenuation or absorbing media to color it. Make the tank 
out of separate slabs of glass with a water box inside, not one box, and 
give everything realistic ior, reflection, and highlight values.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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