POV-Ray : Newsgroups : povray.general : Material for a lamp? Server Time
1 Nov 2024 05:22:47 EDT (-0400)
  Material for a lamp? (Message 1 to 2 of 2)  
From: Rafal 'Raf256' Maj
Subject: Material for a lamp?
Date: 29 Dec 2004 12:56:52
Message: <Xns95CEC0E137F6raf256com@203.29.75.35>
What material would be best for a lamp, or "cloth", or  curtain/drapery on 
a window?

The problem is, that such material can be lighted by light comming from 
behind, but using transparent or filter gives bad results because it makes 
it look like glass/plastic/folium, not like "cloth".

Some random ideas are to use - strong normal like granite 2 scale .1 but no 
refletion/specular, low brilliance, no_shadow, diffuse media (but this is 
very slow), or tricks with adding shadowless lights to color_group of 
objects that are made of such material...

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Slime
Subject: Re: Material for a lamp?
Date: 29 Dec 2004 21:31:27
Message: <41d3687f@news.povray.org>
> What material would be best for a lamp, or "cloth", or  curtain/drapery on
> a window?

The most "realistic" way to handle this may be to use an open cone with
double_illuminate and radiosity so that it brightens things around it. But
that obviously has severe shortcomings: double_illuminate doesn't model the
scattering of light through cloth very well, and radiosity isn't fast.

So, a more practical approach might be to use an object with no_shadow, and
light it manually:

finish {diffuse 0 ambient 1}

Then light will pass through it and it will appear bright. If you want it to
cast a shadow on the room, you can then add another object the same shape
with no_image, and color it with whatever transparency gives the best
shadow.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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