POV-Ray : Newsgroups : povray.general : glass on black Server Time
5 Nov 2024 15:53:20 EST (-0500)
  glass on black (Message 1 to 3 of 3)  
From: dave vanhorn
Subject: glass on black
Date: 11 Dec 2006 14:51:06
Message: <457db6aa$1@news.povray.org>
Ok, on to my next issue..

I have my shapes now, in glass, and I'm looking to have them on a completely 
black background.  Of course they barely show up.

I remember dimly a trick to give them more reflectance, like in the real 
world where they are always surrounded by things to reflect.. But I don't 
remember what it was.

Object values:

finish  { ior 2.4
    specular 0.7
    phong 0.95
  phong_size 80
  roughness 0.015
 ambient 0
  diffuse 0
 reflection { 0.2, 1.0, fresnel on}
 conserve_energy
 }

Interior { ior 2.4
                caustics 0.1
                dispersion 1.05
                dispersion_samples 7
                fade_distance 1.0
              fade_power 2
              fade_color <0,0,0>
             }

The colors have a 0.99 filter value at the moment.


Post a reply to this message

From: John VanSickle
Subject: Re: glass on black
Date: 11 Dec 2006 16:39:14
Message: <457dd002@news.povray.org>
dave vanhorn wrote:
> Ok, on to my next issue..
> 
> I have my shapes now, in glass, and I'm looking to have them on a completely 
> black background.  Of course they barely show up.
> 
> I remember dimly a trick to give them more reflectance, like in the real 
> world where they are always surrounded by things to reflect.. But I don't 
> remember what it was.

You can give their finish a low specular value.  You can also give their 
pigment a transmit value that is just slightly below 1 (like .9999).

For realism, the finish statement will also have a degree of reflection; 
you can then put a textured plane behind the camera to give the glass 
something to reflect.  (This also solves the problem of chrome objects 
against a black backround).

Hope this helps,
John


Post a reply to this message

From: Alain
Subject: Re: glass on black
Date: 11 Dec 2006 17:41:58
Message: <457ddeb6$1@news.povray.org>
dave vanhorn nous apporta ses lumieres en ce 2006-12-11 14:50:
> Ok, on to my next issue..

> I have my shapes now, in glass, and I'm looking to have them on a completely 
> black background.  Of course they barely show up.

> I remember dimly a trick to give them more reflectance, like in the real 
> world where they are always surrounded by things to reflect.. But I don't 
> remember what it was.

> Object values:

> finish  { ior 2.4
>     specular 0.7
>     phong 0.95
>   phong_size 80
>   roughness 0.015
>  ambient 0
>   diffuse 0
>  reflection { 0.2, 1.0, fresnel on}
>  conserve_energy
>  }

> Interior { ior 2.4
>                 caustics 0.1
>                 dispersion 1.05
>                 dispersion_samples 7
>                 fade_distance 1.0
>               fade_power 2
>               fade_color <0,0,0>
>              }

> The colors have a 0.99 filter value at the moment.



If there is nothing else in the scene, there is nothing to reflect or refract. 
Try placing some objects off field. You may want to use a sky_sphere with some 
pattern, or a large "world sphere" surrounding your scene.
Hide that background with a box placed behind your object.
Try using more light_source, make them coloured. Change ther positions to get 
the best effect.

-- 
Alain
-------------------------------------------------
Islam: If shit happens, blame Israel.


Post a reply to this message

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