POV-Ray : Newsgroups : povray.binaries.images : A Lamp and a Question <21k jpg> Server Time
3 Oct 2024 13:21:26 EDT (-0400)
  A Lamp and a Question <21k jpg> (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: Eric Freeman
Subject: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 12:07:25
Message: <388c86cd@news.povray.org>
Hey all,

I'm working on a lamp that I saw in a waiting room the other day.  The
problem is the lamp shade.  It should be opaque in that you can't see thru
it but transparent in that it lets light out.  Is such a thing possible?  Is
this a job for media???  I'm clueless.

Eric
---------------
"A wise and frugal government, which shall restrain men from injuring one
another, which shall leave them otherwise free to regulate their own
pursuits of industry and improvement, and shall not take from the mouth of
labor the bread it has earned.  This is the sum of good government."
     - Thomas Jefferson
     - First inaugural address, 1801
---------------
http://www.ametro.net/~ericfree


Post a reply to this message


Attachments:
Download 'lamp.jpg' (21 KB)

Preview of image 'lamp.jpg'
lamp.jpg


 

From: TonyB
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 12:55:55
Message: <388c922b@news.povray.org>
You are reffering to translucency. This can only be achieved by using
blurred transparency available in... what a second... it isn't available...
oh, Chriiiis...!


Post a reply to this message

From: Peter Popov
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 13:04:34
Message: <DJSMOCL2npCXLk7LH8e010QZbD7T@4ax.com>
On Mon, 24 Jan 2000 12:56:26 -0500, "TonyB"
<ben### [at] panamaphoenixnet> wrote:

>You are reffering to translucency. This can only be achieved by using
>blurred transparency available in... what a second... it isn't available...
>oh, Chriiiis...!

Try double_illuminate and radiosity in MegaPOV.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Mike
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 14:19:57
Message: <388CA328.1370AA9D@aol.com>
> I'm working on a lamp that I saw in a waiting room the other day.  The
> problem is the lamp shade.  It should be opaque in that you can't see thru
> it but transparent in that it lets light out.  Is such a thing possible?  Is
> this a job for media???  I'm clueless.

no_shadow

Hurts, don't it?

-Mike


Post a reply to this message

From: Ron Parker
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 15:07:08
Message: <slrn88pc70.v8.ron.parker@ron.gwmicro.com>
On Mon, 24 Jan 2000 11:06:57 -0600, Eric Freeman wrote:
>Hey all,
>
>I'm working on a lamp that I saw in a waiting room the other day.  The
>problem is the lamp shade.  It should be opaque in that you can't see thru
>it but transparent in that it lets light out.  Is such a thing possible?  Is
>this a job for media???  I'm clueless.

As well as the other solutions others have offered, media might do the trick
if used (im)properly.  Render this and see if it approximates the effect you're
looking for.  In this case, it's not so much that the shade isn't translucent
as it is that the scattered light overwhelms anything you might see through 
the shade.  Real lampshades are like this, too, I think.

difference {
  cone {0,1,y,.75}
  cone {-.01*y,.95,1.01*y, .70}
  hollow
  texture {pigment {color rgbf <1,.9,.7,1>}}
  interior {
    media {
      scattering {2,rgb <20,18,14>}
      absorption 1
      samples 10,20
    }
  } 
}
torus { 1,.02 pigment {color rgb 0}}
torus { .75,.02 pigment {color rgb 0} translate y}

light_source { .5*y rgb 2*<1,.9,.6> }

plane {y,-1 pigment {color rgb 1}}
plane {-z,-1.01 pigment {color rgb 1}}
cylinder {-y,.2*y,.1 pigment {color red 1}}

camera { location .5*y-10*z look_at 0 }

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

From: Margus Ramst
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 16:40:14
Message: <388CC731.212C30C@peak.edu.ee>
Yes, scattering media can do the job.
See also my post 'Translucency demonstration (97 K)' from 12.04.99
It's more realistic, but significantly slower than double_illuminate.

Margus


Post a reply to this message

From: Chris Huff
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 17:01:06
Message: <chrishuff_99-28CC24.17014324012000@news.povray.org>
In article <388c922b@news.povray.org>, "TonyB" 
<ben### [at] panamaphoenixnet> wrote:

> You are reffering to translucency. This can only be achieved by using
> blurred transparency available in... what a second... it isn't 
> available...
> oh, Chriiiis...!

Ok, ok. I will fix up a version using a more standard syntax than my 
current patch and post the changed files...when I get the time. :-)
I will put this on my to-do list. I may not have time until the 
weekends, though.

I have released a patch which implements it, but it is an older syntax 
which I have thought of improvements for.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: David Fontaine
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 17:54:11
Message: <388CD56E.6051AF8A@faricy.net>
> In this case, it's not so much that the shade isn't translucent
> as it is that the scattered light overwhelms anything you might see through
> the shade.  Real lampshades are like this, too, I think.

If you have something right up behind the shade you can see the outline. I think
that the light coming through is scattered so much that you can't tell where it's
coming from.

--
Homepage: http://www.faricy.net/~davidf/
___     ______________________________
 | \     |_       <dav### [at] faricynet>
 |_/avid |ontaine      <ICQ 55354965>


Post a reply to this message

From: SamuelT 
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 20:10:52
Message: <388CFA43.D8586A75@aol.com>
It seems a lot like blurred reflection; is it just as slow?

Chris Huff wrote:

> Ok, ok. I will fix up a version using a more standard syntax than my
> current patch and post the changed files...when I get the time. :-)
> I will put this on my to-do list. I may not have time until the
> weekends, though.
>
> I have released a patch which implements it, but it is an older syntax
> which I have thought of improvements for.
>
> --
> Chris Huff
> e-mail: chr### [at] yahoocom
> Web page: http://chrishuff.dhs.org/

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial:
http://members.aol.com/stbenge


Post a reply to this message

From: Chris Huff
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 20:43:54
Message: <chrishuff_99-651F7D.20443024012000@news.povray.org>
In article <388CFA43.D8586A75@aol.com>, "SamuelT." <STB### [at] aolcom> 
wrote:

> It seems a lot like blurred reflection; is it just as slow?

Yes. I actually just copied over some of the blurred reflection code 
into Refract() and made some very slight modifications, I didn't 
actually write much.
I have gotten started on a new transparence patch, the syntax might 
eventually be like this:
finish {
    transparence {
        transparence_blur AMOUNT
        blur_samples SAMPLES
        filter_pigment {PIGMENT}
        transmit_pigment {PIGMENT}
    }
}
I will release the code when I have the blur done, I will then make an 
attempt at the filter_pigment and transmit_pigment. Those last two will 
simply allow you to specify a color for the filter or transmit by using 
a pigment. It might take a while, though, I have to re-learn much of the 
lighting code, and account for dispersion, photons, etc.(it is based on 
MegaPOV 0.3, and there are a lot of changes from the official version)

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

Goto Latest 10 Messages Next 6 Messages >>>

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