POV-Ray : Newsgroups : povray.binaries.images : A Lamp and a Question <21k jpg> Server Time
3 Oct 2024 15:11:49 EDT (-0400)
  A Lamp and a Question <21k jpg> (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
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

From: TonyB
Subject: Re: A Lamp and a Question <21k jpg>
Date: 24 Jan 2000 22:02:41
Message: <388d1251@news.povray.org>
>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}
>    }
>}


This just got me thinking (actually the idea has been floating around in my
head for a while), the way reflection has been growing, wouldn't it be nice
if instead of

finish
{
 reflection_type
 reflection_min
 reflection_max
 reflect_metallic
 etc.
}

we could have

finish
{
 reflection
{
 val / min, max
 type
 metallic
 etc.
}
}

wouldn't it be shorter and less bothersome than reflection_x? I think that
the number of reflection parameters have gotten to a point where this would
be a good idea.


Post a reply to this message

From: Marc Schimmler
Subject: Re: A Lamp and a Question <21k jpg>
Date: 25 Jan 2000 03:35:12
Message: <388D6040.2AD50275@ica.uni-stuttgart.de>
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.
> 
> Eric

I would use those patches in povray that are translucent, like the
bicubic patch. 

Here's a example code. Have a look at the texture statement. It's only
rgb ... not rgbt.

camera {location <0,5,0>
        look_at  0}

light_source {y*0.5 rgb 4}

bicubic_patch{
  type 0
  flatness 0.001
  u_steps 4
  v_steps 4
  <0,0,0>,<1,1,0>,<2,1,0>,<3,0,0>,
  <0,1,1>,<1,1,1>,<2,1,1>,<3,1,1>,
  <0,1,2>,<1,1,2>,<2,1,2>,<3,1,2>,
  <0,0,3>,<1,1,3>,<2,1,3>,<3,0,3>
  texture{pigment{rgb<1.0,1.0,0.8>}
          finish {ambient 0
                  diffuse 0.4
                  reflection 0}
         }
  translate <-1.5,0,-1.5>        
}


Hope this one helps.

-- 
Marc Schimmler


Post a reply to this message


Attachments:
Download 'bezier.jpg' (6 KB)

Preview of image 'bezier.jpg'
bezier.jpg


 

From: Chris Huff
Subject: Re: A Lamp and a Question <21k jpg>
Date: 25 Jan 2000 06:36:30
Message: <chrishuff_99-881196.06370625012000@news.povray.org>
In article <388d1251@news.povray.org>, "TonyB" 
<ben### [at] panamaphoenixnet> wrote:

> This just got me thinking (actually the idea has been floating around in 
> my
> head for a while), the way reflection has been growing, wouldn't it be 
> nice if instead of
> 
> finish
> {
>  reflection_type
>  reflection_min
>  reflection_max
>  reflect_metallic
>  etc.
> }
> 
> we could have
> 
> finish
> {
>  reflection
> {
>  val / min, max
>  type
>  metallic
>  etc.
> }
> }
> 
> wouldn't it be shorter and less bothersome than reflection_x? I think 
> that
> the number of reflection parameters have gotten to a point where this 
> would be a good idea.

I have done something similar to this in my reflectivity patch, which 
mostly just gave a new syntax to blurred/angle-dependant reflections. 
The syntax for this patch is pretty strange,though. Several things are 
controlled by patterns instead of float values.
But it wouldn't be difficult at all to simply add an alternate syntax. I 
don't really care for the current one...

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


Post a reply to this message

From: Josh English
Subject: Re: A Lamp and a Question <21k jpg>
Date: 25 Jan 2000 12:28:46
Message: <388DDD2D.56646D56@spiritone.com>
You could try adding no_shadow to the shade, then give the shade some amient
value to make it look like it's glowing from the inside, but that won't make a
defined shadow against the wall, so make a slightly smaller version that is grey
with high transmit value (but not 1) to create the shadow effect.

Just a guess at a workaround

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.
>
> 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
>
>  [Image]

--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."


Post a reply to this message

From: David Fontaine
Subject: Re: A Lamp and a Question <21k jpg>
Date: 25 Jan 2000 17:42:07
Message: <388E23FA.CAD64C4D@faricy.net>
> You could try adding no_shadow to the shade, then give the shade some amient
> value to make it look like it's glowing from the inside, but that won't make a
> defined shadow against the wall, so make a slightly smaller version that is grey
> with high transmit value (but not 1) to create the shadow effect.

Maybe keep the shadow but give it a texture with high ambience and use a gradient y
to make it brighter (more ambient) where it's closer to the bulb.

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


Post a reply to this message

From: Eric Freeman
Subject: Re: A Lamp and a Question <21k jpg>
Date: 26 Jan 2000 01:20:04
Message: <388e9214@news.povray.org>
I sure appreciate everybody's input.  I'm going to try all of your
suggestions and see which one (or maybe something else) works.

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

<<< Previous 6 Messages Goto Initial 10 Messages

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