POV-Ray : Newsgroups : povray.general : cylindrical camera: unexpected results : Re: cylindrical camera: unexpected results Server Time
9 Aug 2024 11:27:06 EDT (-0400)
  Re: cylindrical camera: unexpected results  
From: Bob Hughes
Date: 18 Aug 2000 17:21:53
Message: <399da8f1@news.povray.org>
Hi Ryan, saw you asking about this in the other group.

Been a long long time since I messed with those cylindrical cameras trying
to figure them out myself.  Haven't ever really used that besides.  You seem
to be wanting a spherical thing out of a cylindrical one though.  Guess I
just don't understand what the idea is.
That type of projection is meant to be wrappable onto a cylinder, if I'm
understanding it right.
Type 4 being horizontal and using 360 degree full field of view is going to
be confined to the dimensions of a cylinder no matter what.  Or so I believe
that is the way it goes.  Anyway, all 4 types should be likewise mappable,
thus only dimensioned, for cylinders.  So the trouble you're having might
have something to do with that.  The up and right keywords don't do anything
(I think not); only the angle or direction + right vectors do, depending on
which way you do the field of view.

Bob

"ryan constantine" <rco### [at] yahoocom> wrote in message
news:397E150F.9CECF0CC@yahoo.com...
| i'm using camera3b.pov and camera3d.pov which come with pov as the basis
| for my tests.  i have changed the camera to read as follows:
|
| camera {
|   cylinder 2  //as a comparison to type 4.
|   angle 360   //i want total wrap around.
|   location <0, 10, 0>  //middle of the object.
|   right <15, 0, 0>  //long enough vector to poke out the end of the
| cube.
|   up <0, 6, 0>     //tall enough vector?
|   direction <0, 0, 2.5>  //not sure what this does with
|   look_at <10, 10, 0>  //this following it. notice i changed this.
| }
|
| i see what i expect; a curvy version of the cube thing and i can see all
| of the sphere corners.  what i really want is to use cylinder type 4,
| however the results are not what i expect.  what i expect to see is all
| four corners with straight rods conecting them instead of the curved
| ones from type 2.  all i get, however are four horizontal rods.  i don't
| see any of the sphere-corners.  changing the right and up vectors has no
| effect.
|
| i am using the windows megapov 0.5a.


Post a reply to this message

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