|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I need a camera that will be able to render to a wide image (say
400x100) and not have any distortions, just be straight-on to the image.
Is there a setting to do this? Appologies if my description isn't very
good.
I have been playing with the various projection types, and haven't been
able to find one that does what I'm looking for, or possibly I have just
blindly skipped over what I need.
--
Kevin
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 15 Jun 2002 23:12:51 -0500, leming wrote:
> I need a camera that will be able to render to a wide image (say
> 400x100) and not have any distortions, just be straight-on to the image.
> Is there a setting to do this? Appologies if my description isn't very
> good.
To render at that aspect ratio, try setting right to x*1 and up to y*0.25.
For the no distortion, including perspective distortion, you need an
orthographic camera. This means the camera rays will be parallel, not
spreading out as with the other types, but you will need to size the right
and up vectors to the desired camera view area, just keep them in a 4/1
ratio.
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: <chr### [at] tagpovrayorg>
WWW: http://homepage.mac.com/chrishuff/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> For the no distortion, including perspective distortion, you need an
> orthographic camera.
Well, that depends on what kind of distortion, or what you're considering
"distortion" to be. You might find that a vertical cylindrical camera works
well, or maybe a panoramic one. Whatever kind you use, it's important to set
up the camera so that it matches the image's aspect ratio, to avoid
stretching.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
AFAIK ultra_wide_angle and panoramic are precisely designed for very wide
images. You should try them (try with different values for 'angle' until
it looks good).
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
> AFAIK ultra_wide_angle and panoramic are precisely designed for very wide
> images. You should try them (try with different values for 'angle' until
> it looks good).
>
I have tried both ultra_wide_angle and panoramic, and personally I dont
like playing with the angle value trying to find what looks good, its a
waste of time. But the orthographic with the right and up values seems
to work good, I just have to narrow down the values so it fits how it
needs to. But otherwise, its what I was looking for with the parallel
rays instead of originating from a point, before I didn't know about
changing the up and right values like that (dont think its mentioned in
the manual, and I've never used orthographic before).
All in all, thanks everyone.
--
Kevin
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christopher James Huff wrote:
> To render at that aspect ratio, try setting right to x*1 and up to y*0.25.
> For the no distortion, including perspective distortion, you need an
> orthographic camera. This means the camera rays will be parallel, not
> spreading out as with the other types, but you will need to size the right
> and up vectors to the desired camera view area, just keep them in a 4/1
> ratio.
Just on a final note to this thread, for anyone using it now or in the
future as reference, the aspect ratio is right:up, so since mine was
400x100, a 4:1 ratio, it was right x*4; up y*1, and then I have modified
those to get the proper "zoom" of the camera, but the ratio must be kept
4:1, so it can be modified to say, 100:25.
--
Kevin
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|