setFOV behavior doesn't look to match doc...

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
tip
Posts: 50
Joined: Fri Feb 13, 2004 8:53 am
Location: grenoble, France
Contact:

setFOV behavior doesn't look to match doc...

Post by tip »

I've been trying to use ICameraSceneNode::setFOV; and I get weird results :

setFOV(PI) -> Field of view = 0 degrees
setFOV(PI/2) -> Field of view = 45 degrees
setFOV(PI/4) -> Field of view = 135 degrees
setFOV(0) -> Field of view = 180 degrees

the parameter of setFOV should be an amount in radians. Seems it's not working. Or i'm missing something? :roll:
JPulham
Posts: 320
Joined: Sat Nov 19, 2005 12:06 pm

Post by JPulham »

I know this sounds simple but...whats a radiant? or is there a tutorial/comment somewhere I can learn? ( and how does the FOV work :D)
pushpork
Post Reply