Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: How is the FOV calculated?  (Read 2720 times)

0 Members and 1 Guest are viewing this topic.

Azrael

  • Regular poster
  • ***
  • Karma: 9
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • View Profile
    • Mad Orange
How is the FOV calculated?
« on: May 20, 2009, 06:52:16 PM »

I mean the FOV in *.scene files.

I have a scene with FOV 30.07 but in the .scene file it's:

Code: WME Script
  1. FOV_OVERRIDE=0.524995

There is a way to calculate the "FOV_OVERRIDE" from a number like "30.07"? I need it to improve my model viewer ;)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: How is the FOV calculated?
« Reply #1 on: May 20, 2009, 07:05:36 PM »

It's stored in radians. 30.07 degrees = 0.527995 radians (30.07 * PI/180)
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Azrael

  • Regular poster
  • ***
  • Karma: 9
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • View Profile
    • Mad Orange
Re: How is the FOV calculated?
« Reply #2 on: May 21, 2009, 10:21:36 AM »

Tnx a lot Mnemonic :)
Logged
 

Page created in 0.078 seconds with 23 queries.