|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In the scene below, try all four locations. In the first all is
ok, the second gives a black image. The third is ok again and
the fourth is missing the sphere.
Why does this happen?
light_source{<500,500,-500> rgb 1}
camera{
location < 0.0, 0.0, -0.47>
//location < 0.0, 0.0, -0.46>
//location < 0.0, 0.1, -0.46>
//location < 0.0, 0.1, -0.45>
look_at 0
angle 90
orthographic
}
sphere{0.2*y,0.2 pigment{rgb 1}}
cylinder{0,-0.5*y,0.2 pigment{rgb<1,0,0>}}
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I think you have the camera too close for one thing, the orthographic type
really always should have the 'up' and 'right' keywords in there to specify
the scene dimensions. Of course the default should make for a 4/3 wide by 1
high view, so the objects not appearing whole or not at all must be related
to the close proximity is going to be my guess anyway, without actually
rendering and testing.
Well, I just can't resist trying it out. Tried it. Nothing wrong with any
of the four viewpoints. What version POV-you have there? I used 3.1g for
Win.
Bob
ingo <ing### [at] homenl> wrote in message
news:8E8### [at] 21212011381...
> In the scene below, try all four locations. In the first all is
> ok, the second gives a black image. The third is ok again and
> the fourth is missing the sphere.
> Why does this happen?
>
> light_source{<500,500,-500> rgb 1}
> camera{
> location < 0.0, 0.0, -0.47>
> file://location < 0.0, 0.0, -0.46>
> file://location < 0.0, 0.1, -0.46>
> file://location < 0.0, 0.1, -0.45>
> look_at 0
> angle 90
> orthographic
> }
> sphere{0.2*y,0.2 pigment{rgb 1}}
> cylinder{0,-0.5*y,0.2 pigment{rgb<1,0,0>}}
>
> Ingo
>
> --
> Photography: http://members.home.nl/ingoogni/
> Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
omniVERSE wrote:
>I think you have the camera too close for one thing, the
>orthographic type really always should have the 'up' and
>'right' keywords in there to specify the scene dimensions.
>.....
Adding "up" and "right" changes noting in the result.
I want a close-up of the sphere and cylinder toutching. But for
every "angle" there seems to be a "location" beyond witch things
get messed up :(
>Well, I just can't resist trying it out. Tried it. Nothing
>wrong with any of the four viewpoints. What version POV-you
>have there? I used 3.1g for Win.
POV-Ray 3.1g.msvc.win32, Superpatch, UV-Patch, Minipatch.
I have no watcom compiles anymore to test it on.
Running NT4 & SP6.
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Back again.
The viewpoints do all show a white sphere on top of a red cylinder here. No
problems. Besides this, I wondered about the placement of keywords within
your camera statement. 'angle' being removed makes a difference, as does
also the order of 'orthographic' and I always put it before the 'location'
and 'look_at' (very first thing in camera), and seems to be correct there.
With yours it is much different and apparently not based any longer on up
and right keywords either, maybe even not functional at all placed at the
end like that, not sure.
Bob
omniVERSE <inv### [at] aolcom> wrote in message
news:3832b40b@news.povray.org...
> I think you have the camera too close for one thing, the orthographic type
> really always should have the 'up' and 'right' keywords in there to
specify
> the scene dimensions. Of course the default should make for a 4/3 wide by
1
> high view, so the objects not appearing whole or not at all must be
related
> to the close proximity is going to be my guess anyway, without actually
> rendering and testing.
> Well, I just can't resist trying it out. Tried it. Nothing wrong with
any
> of the four viewpoints. What version POV-you have there? I used 3.1g for
> Win.
>
> Bob
>
> ingo <ing### [at] homenl> wrote in message
> news:8E8### [at] 21212011381...
> > In the scene below, try all four locations. In the first all is
> > ok, the second gives a black image. The third is ok again and
> > the fourth is missing the sphere.
> > Why does this happen?
> >
> > light_source{<500,500,-500> rgb 1}
> > camera{
> > location < 0.0, 0.0, -0.47>
> > file://location < 0.0, 0.0, -0.46>
> > file://location < 0.0, 0.1, -0.46>
> > file://location < 0.0, 0.1, -0.45>
> > look_at 0
> > angle 90
> > orthographic
> > }
> > sphere{0.2*y,0.2 pigment{rgb 1}}
> > cylinder{0,-0.5*y,0.2 pigment{rgb<1,0,0>}}
> >
> > Ingo
> >
> > --
> > Photography: http://members.home.nl/ingoogni/
> > Pov-Ray : http://members.home.nl/seed7/
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have found that orthographic can come at the last of the
camera statement and still work fine. I only have to make sure
that the camera is not too close or it takes a picture of the
insides of some of the objects.
omniVERSE wrote:
> With yours it is much different and apparently not based any longer on up
> and right keywords either, maybe even not functional at all placed at the
> end like that, not sure.
>
> Bob
>
> omniVERSE <inv### [at] aolcom> wrote in message
> news:3832b40b@news.povray.org...
> > I think you have the camera too close for one thing, the orthographic type
> > really always should have the 'up' and 'right' keywords in there to
> specify
> > the scene dimensions. Of course the default should make for a 4/3 wide by
> 1
> > high view, so the objects not appearing whole or not at all must be
> related
> > to the close proximity is going to be my guess anyway, without actually
> > rendering and testing.
> > Well, I just can't resist trying it out. Tried it. Nothing wrong with
> any
> > of the four viewpoints. What version POV-you have there? I used 3.1g for
> > Win.
> >
> > Bob
> >
> > ingo <ing### [at] homenl> wrote in message
> > news:8E8### [at] 21212011381...
> > > In the scene below, try all four locations. In the first all is
> > > ok, the second gives a black image. The third is ok again and
> > > the fourth is missing the sphere.
> > > Why does this happen?
> > >
> > > light_source{<500,500,-500> rgb 1}
> > > camera{
> > > location < 0.0, 0.0, -0.47>
> > > file://location < 0.0, 0.0, -0.46>
> > > file://location < 0.0, 0.1, -0.46>
> > > file://location < 0.0, 0.1, -0.45>
> > > look_at 0
> > > angle 90
> > > orthographic
> > > }
> > > sphere{0.2*y,0.2 pigment{rgb 1}}
> > > cylinder{0,-0.5*y,0.2 pigment{rgb<1,0,0>}}
> > >
> > > Ingo
> > >
> > > --
> > > Photography: http://members.home.nl/ingoogni/
> > > Pov-Ray : http://members.home.nl/seed7/
> >
> >
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ingo wrote:
>POV-Ray 3.1g.msvc.win32, Superpatch, UV-Patch, Minipatch.
>I have no watcom compiles anymore to test it on.
>Running NT4 & SP6.
Installed 3.1g.watcom.win32, gives the same results.
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 17 Nov 1999 05:51:35 -0500, ing### [at] homenl (ingo) wrote:
>In the scene below, try all four locations. In the first all is
>ok, the second gives a black image. The third is ok again and
>the fourth is missing the sphere.
>Why does this happen?
I think the direction vertor length is longer that your camera
location-to-look_at distance, causing some problems. With an ortho
camera you can move it as far back as you like, and then use the up
and right vectors to indicate viewing area. Try moving it as far back
as 100 and use something lije up Size*y right Size*4/3*x, and vary
Size until you get a perfect fit.
Peter Popov
ICQ: 15002700
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Peter Popov wrote:
>....
>Try moving it as far back as 100 and use something lije
>up Size*y right Size*4/3*x, and vary Size until you get a
>perfect fit.
That's it. Thanks Peter,
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|