camera lens

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
joi
Posts: 26
Joined: Sat Sep 20, 2003 10:25 pm
Location: Brazil

camera lens

Post by joi »

how do i change the camera lens ? its too much oval. :(
the perspective. poop, i have a bad english. :lol:
------------
one more lie
Guest

Re: camera lens

Post by Guest »

use the setFov(value) method.
joi
Posts: 26
Joined: Sat Sep 20, 2003 10:25 pm
Location: Brazil

Post by joi »

thanks for the reply dude :)
------------
one more lie
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

I've been playing around with the FOV and still get fish-eye.

At > 1.0f, it appears to be just zooming.

My objects are only about 50 units away and the Max clipping is set to the default (1000.0f)

Any suggestions on correcting it?
Crud, how do I do this again?
WhytWulf
Posts: 51
Joined: Mon Sep 08, 2003 11:14 am
Location: Australia, Tamworth, NSW
Contact:

Post by WhytWulf »

you can always do what I did, was to have 2 buttons, one adds .05 the other subtracts .05 this allows you to get the right look, while you are in the application.

Just print out the current FOV with your FPS, and other debug info..

i'm currently using an FOV of 1.250
Project Admin -
http://shadowrunonline.sourceforge.net

------------------------------------
There are 10 kinds of people, those that understand binary and those that don't.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

Got around to trying the button FOV testing and still couldn't get it to not be distorted.

It really just kept zooming.

I swear that I remember something about fixing fish-eye effects by adjusting the near and far planes within a certain percentage of each other... but it's been a while.

I guess what it means is that I want to completely "turn off" the projection matrix. But I'm not completely sure how to go about it because it's built by the Near+Far planes, the FOV, and the Aspect.

I'll post if I find the answer.
Crud, how do I do this again?
Post Reply