![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Remember now, 'area_light' is not a *true* area as far as the source and
highlights go. Only works for shadows.
Aside from this, you need to watch out how you end up orientating the
light. Most common mistake can be translating it without reorienting to
the subject in the scene. Darcy's area light would become as one light for
everything in the x-axis, far as I know (and I've tried other ways before)
the 'area_light' can only be used as a planar source. No volume, as in
cubical, etc.
Bill DeWitt wrote:
>
> Well, I've been playing with it and even though it gives diffuse shadows
> that are as wide as I would expect, I can't get an area light to illuminate
> a wider area of a plane no matter how wide I make the light. Here's the
> original (slight changes so I could work with it) and one I made out of the
> stock insert file. They both don't work the way you want them to. I suggest
> a line of regular lights.
>
> ////////////// Camera //////////////////////
> camera { //
> right < -1.333, 0.0, 0.0 > //
> up < 0.0, 1.0, 0.0 > //
> direction < 0.0, 0.0, 1.0 > //
> location < 0.0, 12.0, 0.0 > //
> look_at < 0.0, 0.0, 0.0 > //
> } //
> ////////////// end Camera //////////////////
>
> /*
> light_source
> {
> 0//pos
> color rgb 1.0//color
> area_light
> x*100, z//area
> 100, 1//#lights
> adaptive 0
> jitter
> translate < 0, 1, 0 >
> }
> */
>
> ///*
> light_source
> {
> 0*x // light's position (translated below)
> color rgb 1.0 // light's color
> // <widthVector> <heightVector> nLightsWide mLightsHigh
> area_light
> <5, 0, 0> <0, 0, 2> // lights spread out across this distance (x * z)
> 2, 2 // total number of lights in grid (4x*4z = 16 lights)
> adaptive 0 // 0,1,2,3...
> jitter // adds random softening of light
> translate < 0, 2, 0 > // <x y z> position of light
> }
> file://*///you may have to fix this line if it says 'file'
>
> ///////////////////////////// Plane /////////////////////////////////
> plane { <0.0, 1.0, 0.0 >, 0.0 pigment { rgb < 1.0, 1.0, 1.0 > } } //
> /////////////////////////////////////////////////////////////////////
> //////////////// Sphere ///////////
> sphere {
> < 0.5, 0.5, 0.5 >, 0.5
> texture { pigment { rgb 1 }
> finish { phong 0.25 }
> }
> }
> ///////////////////////////////end Sphere
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/homepage.htm
mailto://inversez@aol.com?Subject=PoV-News
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi
I use POVray extensivly for webgraphics
http://kitty5webdesign.cjb.net
http://kitty5.cjb.net
http://ds.dial.pipex.com/kitty5/pov/
http://www.dlg.co.uk
for some examples, its quite simple, create your bits and place the camera
quite a distance away on one plane, like look at <0,0,0> camat <0,-200,0>
then zoom into your stuff, works well for me.
Rick
Darcy Johnston <djo### [at] iname com NOSPAM> wrote in message
news:374f331c.0@news.povray.org...
> Sorry if this has been asked to death, but I was wondering if anyone has
any
> good methods for creating graphics that would useful for web sites? In
> particular, I'm trying to create some images of text that I could use for
> menu buttons. My problem is whenever I try to play with the camera setting
> so I can zoom in on the word (I want the image to contain just the word,
and
> not have a lot of dead space that I'd have to crop out manually), it
always
> looks distorted. If anyone can give some hints as to how to go about such
a
> task, I would be very grateful.
>
> Thanks,
> Darcy
> djo### [at] iname com NOSPAM
> http://www.geocities.com/SiliconValley/Sector/4317
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Rick wrote:
>Hi
>I use POVray extensivly for webgraphics
>
>http://kitty5webdesign.cjb.net
>http://kitty5.cjb.net
>http://ds.dial.pipex.com/kitty5/pov/
>http://www.dlg.co.uk
Me too, it's nothing in comparison though.
http://welcome.to/rsj
At the moment I create individual images for all "objects" on my page. I mix
different camera-types, and I think it work quite well.
>for some examples, its quite simple, create your bits and place the camera
>quite a distance away on one plane, like look at <0,0,0> camat <0,-200,0>
>then zoom into your stuff, works well for me.
>
>Rick
>
>Darcy Johnston <djo### [at] iname com NOSPAM> wrote in message
>news:374f331c.0@news.povray.org...
>> Sorry if this has been asked to death, but I was wondering if anyone has
>any
>> good methods for creating graphics that would useful for web sites? In
>> particular, I'm trying to create some images of text that I could use for
>> menu buttons. My problem is whenever I try to play with the camera
setting
>> so I can zoom in on the word (I want the image to contain just the word,
>and
>> not have a lot of dead space that I'd have to crop out manually), it
>always
>> looks distorted. If anyone can give some hints as to how to go about such
>a
>> task, I would be very grateful.
>>
>> Thanks,
>> Darcy
>> djo### [at] iname com NOSPAM
>> http://www.geocities.com/SiliconValley/Sector/4317
>>
Greetings,
Rune S. Johansen
---
My POV-Ray 3D Gallery, the POV Desktop Theme,
and the with your help complete list of quotes
"you know you have been raytracing too long when..."
at http://welcome.to/rsj
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |