|
![](/i/fill.gif) |
web.44b6e69ef8cbc39dc1709b0c0@news.povray.org...
> You have some of the most AMAZING software available to use for graphics.
> Well, enough of the hobbknobbing I have questions that need to be
answered.
> I am trying to put ambient light on an object that would appear as the
Sun.
> so far what I got is:
> sphere
> { <0,0,0>860
> pigment { image_map
> { gif "sun.gif"
> map_type 1
> }
> }
> translate <0,0,3000>
> }
> Now I do not know exactly what or where to insert any string data to do
with
> ambient light coming from this object named "sun.gif". Can anyone help,
> Please.
> Anytime I try to input ambiet_light I get an Error message.
> Thank you Brian
>
>
You could look at the texture section in the POVRay doc
http://www.povray.org/documentation/view/3.6.1/331/
to simplify you put a pigment, it is ok
but ambient is a finish item.
pigment determines the basic color of an object on its surface.
finish determines how this surface reacts to light (diffuse, ambient,
reflection, specular.....)
pigment and finish are gathered in a texture block
sphere
{ <0,0,0>860
texture{
pigment { image_map { gif "sun.gif" map_type 1 }
finish { ambient 1 diffuse 0}
// ambient 1 makes object "shine" (not lighting the scene but visible)
//and diffuse 0 make it not interacting with lights
}
translate <0,0,3000>
}
Marc
Post a reply to this message
|
![](/i/fill.gif) |