POV-Ray : Newsgroups : povray.general : Glow - Behind Server Time
6 Nov 2024 14:26:53 EST (-0500)
  Glow - Behind (Message 1 to 8 of 8)  
From: Dave Bates [{ Norman }]
Subject: Glow - Behind
Date: 10 Aug 2002 15:21:31
Message: <3d5567bb$1@news.povray.org>
This may have been done before.. and I may actually know how to do this..
but I thought I would ask anyway.. :)

Here is the question.. I have a wall, and a Slightly open door.. As well
there is a difference so there is a whole in the wall where the door is..

What I want to do .. is get a GLOW comming out from behind the door.. Not
just light shinnign through.. fuzzy glow.. IS there a way to LOCALY have
media in just this little area.. should I use a "Looks_like" light source..

C/S welcome..

Dave


--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT d+ s:>:+++ a-- C+++(++++) ULU++ P+++$ L++>++++ E+++ W+++(++)$ N+ o>+
K++>++++++ w++>$ O- M-- V-- PS+ PE+++ Y+>++ PGP++>+ t+++(*) 5 X+>++ R>++
tv++(+++) b+++ DI++++ D+ G>+++ e>++ h----() r+++ y++++**
------END GEEK CODE BLOCK------

(David Bates)


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: Glow - Behind
Date: 10 Aug 2002 15:29:12
Message: <Xns9266D9F8FE09raf256com@204.213.191.226>
"Dave Bates [{ Norman }]" <use### [at] voygrcom> wrote in
news:3d5567bb$1@news.povray.org 

[...]

how about posting this question 10 more times, from diffrent emails ?

if I understand question - put bright media behind doors, or maybe while 
wall with ambient 10 or 100 and readiosity

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: Glow - Behind
Date: 10 Aug 2002 15:30:13
Message: <3d5569c5@news.povray.org>
"Dave Bates [{ Norman }]" <use### [at] voygrcom> schrieb im Newsbeitrag
news:3d5567bb$1@news.povray.org...
> What I want to do .. is get a GLOW comming out from behind the door.. Not
> just light shinnign through.. fuzzy glow.. IS there a way to LOCALY have
> media in just this little area.. should I use a "Looks_like" light
source..

I would just use a fully transparent container for the media - you can scale
and shape it the way you want. Fill it either with emitting media (if you
want it really to glow) or scattering media (if you just want the light of
the light_source to be visible in your room).

I don't think that "looks_like" will help you in this task, I'm not sure
though.

Regards,

Marc-Hendrik


Post a reply to this message

From: Dave Bates [{ Norman }]
Subject: Re: Glow - Behind
Date: 10 Aug 2002 16:10:33
Message: <3d557339@news.povray.org>
Well the first post, the server told me there was a "unexpected" error and
it didn't get posted.. I'm sorry for posting twice if it did come through..
That's my bad..

I will play around with this..
Thanks for the suggestion.

D

"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> "Dave Bates [{ Norman }]" <use### [at] voygrcom> wrote in
> news:3d5567bb$1@news.povray.org
>
> [...]
>
> how about posting this question 10 more times, from diffrent emails ?
>
> if I understand question - put bright media behind doors, or maybe while
> wall with ambient 10 or 100 and readiosity
>
> --
> #macro
g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
> pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local
l=mod(c,100
> );g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end
light_source{
> y 2}sphere{z*20
9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Dave Bates [{ Norman }]
Subject: Re: Glow - Behind
Date: 10 Aug 2002 16:12:04
Message: <3d557394$1@news.povray.org>
Thanks Marc ..

I will try a Transparent Cube.. with Emitting media.. And then I would place
the light behind this if I'm correct..

I'll play with this later tonight as well.. I appreciate the response..

Thanks

"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
news:3d5569c5@news.povray.org...
>
> "Dave Bates [{ Norman }]" <use### [at] voygrcom> schrieb im Newsbeitrag
> news:3d5567bb$1@news.povray.org...
> > What I want to do .. is get a GLOW comming out from behind the door..
Not
> > just light shinnign through.. fuzzy glow.. IS there a way to LOCALY have
> > media in just this little area.. should I use a "Looks_like" light
> source..
>
> I would just use a fully transparent container for the media - you can
scale
> and shape it the way you want. Fill it either with emitting media (if you
> want it really to glow) or scattering media (if you just want the light of
> the light_source to be visible in your room).
>
> I don't think that "looks_like" will help you in this task, I'm not sure
> though.
>
> Regards,
>
> Marc-Hendrik
>
>


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: Glow - Behind
Date: 10 Aug 2002 16:30:59
Message: <3d557803@news.povray.org>
"Dave Bates [{ Norman }]" <use### [at] voygrcom> schrieb im Newsbeitrag
news:3d557394$1@news.povray.org...
> Thanks Marc ..
>
> I will try a Transparent Cube.. with Emitting media.. And then I would
place
> the light behind this if I'm correct..
>

The light will not interact with the media if you use emitting media. It's
like using ambient in your textures - it glows by itself but does not effect
other object unless you use radiosity. The light source should be placed
behind you door to actually light the scene. The media is just for the
glowing effect.
I'm not sure if a cube will do what you want - I would expect some other
shape when light shines through an open door. Perhaps if you shear (see
shear_trans in transforms.inc) it or you use a conical pattern for the
media-density ...

You might find the posting "Missing glows in 3.5? An alternative solution"
from Warp in povray.text.scene-files (dated Sept 14th 2001) interesting.

Marc-Hendrik


Post a reply to this message

From: hughes b
Subject: Re: Glow - Behind
Date: 10 Aug 2002 16:33:32
Message: <3d55789c$2@news.povray.org>
"Dave Bates [{ Norman }]" <use### [at] voygrcom> wrote in message
news:3d557394$1@news.povray.org...
>
> I will try a Transparent Cube.. with Emitting media.. And then I would
place
> the light behind this if I'm correct..

Hmmmm. Interupting here... Okay, but if you do that you'll need cubic_wave
form for the box shape your media is in. That is, if you are wanting a
squared off glow. Might prove difficult to impossible, depending on how you
intend to have a light source shine through that doorway. You know, getting
it aligned. Would probably mean some shearing to do it.


Post a reply to this message

From: Dave Bates [{ Norman }]
Subject: Re: Glow - Behind
Date: 10 Aug 2002 16:37:30
Message: <3d55798a$1@news.povray.org>
Hrmmmmm... I read up on Emitting Media after that post and understand that
now.. I will play around with these..

Thanks for the ideas and concerns all..
D

"hughes b" <omn### [at] charternet> wrote in message
news:3d55789c$2@news.povray.org...
> "Dave Bates [{ Norman }]" <use### [at] voygrcom> wrote in message
> news:3d557394$1@news.povray.org...
> >
> > I will try a Transparent Cube.. with Emitting media.. And then I would
> place
> > the light behind this if I'm correct..
>
> Hmmmm. Interupting here... Okay, but if you do that you'll need cubic_wave
> form for the box shape your media is in. That is, if you are wanting a
> squared off glow. Might prove difficult to impossible, depending on how
you
> intend to have a light source shine through that doorway. You know,
getting
> it aligned. Would probably mean some shearing to do it.
>
>


Post a reply to this message

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