POV-Ray : Newsgroups : povray.general : transparent sphere with image_map on surface : Re: transparent sphere with image_map on surface Server Time
30 Jul 2024 10:23:49 EDT (-0400)
  Re: transparent sphere with image_map on surface  
From: clipka
Date: 11 Mar 2009 21:20:00
Message: <web.49b8626c69fc1a9c801985dd0@news.povray.org>
Maybe "inside_texture" will get you where you want to go, allowing you to
specify a different reflectance for inside and outside.

> sphere{ <0,0,0>, 1
>   texture{ pigment { color rgbf <0.9, 0.9, 0.9, 0.8> } // transparent sphere
>   finish {
>         reflection 0.2
>         refraction 1.0
>         ior 1
>         phong 0.4

Some additional (unsolicited) advice:

- "refraction" is actually not necessary; it's just a relic from old times (I
wonder where you got that from; it's not even mentioned in the online help
anymore as far as I can tell). The amount of refracted light is nowadays
controlled by the transmit & filter components of the pigment.

- For a realistic glass sphere, set ior to 1.3; the default value of 1 doesn't
do any refraction at all.

- use specular instead of phong (more realistic; AFAIK phong only takes into
account the position of the light source, while specular takes into account
both light source and camera position)


Post a reply to this message

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