POV-Ray : Newsgroups : povray.general : glow on surfaces Server Time
19 Nov 2024 07:43:11 EST (-0500)
  glow on surfaces (Message 1 to 3 of 3)  
From: WhiteGandalf
Subject: glow on surfaces
Date: 1 May 2002 08:50:05
Message: <20020501144914176+0200@news.povray.org>
Hello,

I wanted to know if there is a feasible way to implement "glow" on a 
surface usoing standard 3.1pov. I want to make backlighting of a semi-
transparent surface: like an anat-jour illumnated from a lamp inside. I 
need this for lamp design in fact. Making a visible light source or just 
an object with a high ambient value is not enough because it is 
distributed uniformly, while I need the effect of a non uniform ligthing (
you see a light behind a paper). In other programs you use "glow maps" 
but they are not available in pov, so what ?

I'm a quite long time pov user, but I never resolved this...


regards,
Riccardo


Post a reply to this message

From: Tom Melly
Subject: Re: glow on surfaces
Date: 1 May 2002 10:13:37
Message: <3ccff811$1@news.povray.org>
"WhiteGandalf" <zus### [at] liberoit> wrote in message
news:20020501144914176+0200@news.povray.org...
> Hello,
>

<snip>

Hi,

You're talking about transluscent surfaces. There has never been an ideal way to
implement this in POV (any version).

IIRC the best results have been obtained by using a scattering media.

Playing with this looks hopeful...

camera
{
  location  <0.0, 0.5, -4.0>
  look_at   <0.0, 0.0,  0.0>
}

light_source
{
  0
  color 1
  translate z*2
  fade_power 2
  fade_distance 0.5
}

box{
  <-1,-1,-0.1>,<1,1,0.1>
  texture{
    pigment{rgbt 1}
  }
  interior{media{scattering{2, 20 extinction 0.25}}}
  hollow on
}


Post a reply to this message

From: WhiteGandalf
Subject: Re: glow on surfaces
Date: 1 May 2002 10:51:53
Message: <20020501165133670+0200@news.povray.org>
Yes, that was the main idea and I will take a look at your suggestion. I 
wanted to know howewer if there was a way to fake it (in order to speed 
up rendering and simplify scene making) like applying some sort of map.

ric

> You're talking about transluscent surfaces. There has never been an 
> ideal way to implement this in POV (any version).
>
> IIRC the best results have been obtained by using a scattering media.
> 
> Playing with this looks hopeful...
> 
> camera
> {
>   location  <0.0, 0.5, -4.0>
>   look_at   <0.0, 0.0,  0.0>
>}
> 
> light_source
> {
>   0
>   color 1
>   translate z*2
>   fade_power 2
>   fade_distance 0.5
>}
> 
> box{
>   <-1,-1,-0.1>,<1,1,0.1>
>   texture{
>     pigment{rgbt 1}
>} }
>   interior{media{scattering{2, 20 extinction 0.25}}}
>   hollow on
>}
> 
> 
> 
> 
>


Post a reply to this message

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