December 03, 2024, 02:42:38 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
For WME related articles and tutorials visit
WME Resource Center
.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
How is the FOV calculated?
« previous
next »
Pages: [
1
]
Print
Author
Topic: How is the FOV calculated? (Read 3194 times)
0 Members and 1 Guest are viewing this topic.
Azrael
Regular poster
Karma: 9
Offline
Gender:
Posts: 155
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
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
Gender:
Posts: 5683
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.
Azrael
Regular poster
Karma: 9
Offline
Gender:
Posts: 155
Re: How is the FOV calculated?
«
Reply #2 on:
May 21, 2009, 10:21:36 AM »
Tnx a lot Mnemonic
Logged
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
How is the FOV calculated?