|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have just started using POV-ray but I seem to have struck a problem in my
first proper model. In the file below there is an oval mirror at 45 deg which
ought to be reflecting a circular patch of light onto the plane in which there
should a shadow of the sphere.
This is not present although you can see reflected light source re-reflected in
the mirrored sphere.
#include "colors.inc"
#include "textures.inc"
camera {
location <-4, 3, -9>
look_at <0, 2, 0>
angle 48
}
plane {
y, -1
texture {
pigment {
checker
color rgb<0.5, 0, 0>
color rgb<0, 0.5, 0.5>
}
finish {
diffuse 0.4
ambient 0.2
phong 1
phong_size 100
reflection 0.25
}
}
}
cylinder { <0,0,0> ,<0,-.1,0>, 2
finish {reflection {1.0} ambient 0 diffuse 0 }
scale <1.42,1,1>
rotate <0,0,-45>
translate<0,3,0>}
sphere {
<0,0,0>,1
finish {reflection {1.0} ambient 0 diffuse 0 }
translate <0, 0, 0>
}
light_source {
<-10, 1, 0>
color White
}
Otherwise I anticipte doing some fantastic things with POV-Ray.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 27/11/13 10:54, John Greenwood wrote:
> I have just started using POV-ray but I seem to have struck a problem in my
> first proper model. In the file below there is an oval mirror at 45 deg which
> ought to be reflecting a circular patch of light onto the plane in which there
> should a shadow of the sphere.
>
> This is not present although you can see reflected light source re-reflected in
> the mirrored sphere.
>
> #include "colors.inc"
> #include "textures.inc"
> camera {
> location <-4, 3, -9>
> look_at <0, 2, 0>
> angle 48
> }
> plane {
> y, -1
> texture {
> pigment {
> checker
> color rgb<0.5, 0, 0>
> color rgb<0, 0.5, 0.5>
> }
> finish {
> diffuse 0.4
> ambient 0.2
> phong 1
> phong_size 100
> reflection 0.25
> }
> }
> }
> cylinder { <0,0,0> ,<0,-.1,0>, 2
> finish {reflection {1.0} ambient 0 diffuse 0 }
> scale <1.42,1,1>
> rotate <0,0,-45>
> translate<0,3,0>}
>
> sphere {
> <0,0,0>,1
> finish {reflection {1.0} ambient 0 diffuse 0 }
> translate <0, 0, 0>
> }
> light_source {
> <-10, 1, 0>
> color White
> }
>
> Otherwise I anticipte doing some fantastic things with POV-Ray.
>
>
>
>
Just one word, photons.
You need to turn them on, they're off by default.
See
http://wiki.povray.org/content/Documentation:Tutorial_Section_3.7#Media_and_photons
for a tutorial. It will also help you deal with media.
BTW Welcome to the Povray community
John
--
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Just to be more clear, attached is your file modified to give the effect
you want
John
--
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children
Post a reply to this message
Attachments:
Download 'us-ascii' (1 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Doctor John <j.g### [at] gmailcom> wrote:
> Just to be more clear, attached is your file modified to give the effect
> you want
>
> John
> --
> Protect the Earth
> It was not given to you by your parents
> You hold it in trust for your children
Ah! that does it.
Thanks for the help
John
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 27/11/13 15:57, John Greenwood wrote:
> Doctor John <j.g### [at] gmailcom> wrote:
>> Just to be more clear, attached is your file modified to give the effect
>> you want
>>
>> John
>> --
>> Protect the Earth
>> It was not given to you by your parents
>> You hold it in trust for your children
>
> Ah! that does it.
>
> Thanks for the help
>
> John
>
>
>
No problem. That's what we're here for
John
--
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|