About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Change camera "field Of View"
Author Message
Gian-Reto Offline
Member

Post: #1
Change camera "field Of View"
Is there any possibility to change the "field of view" of the camera in Esenthel? "field of view" is what its called in Unity. Basically it "narrows down" the camera objective so things seem to be nearer, but also the view is less distorted. If you set it to a higher degree, the view gets more distorted, like with a fisheye lens.

If I set the camera to a isometric view, out-of-the-box the camera seems to be a little bit fish-eye lens like in Esenthel (altough its perfectly apropriate for FP View).... how do I tone that effect down for an isometric view?

Thanks

Gian-Reto
04-05-2011 06:55 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Silver Supporter

Post: #2
RE: Change camera "field Of View"
D.viewFov(DegToRad(value));
04-05-2011 07:06 PM
Find all posts by this user Quote this message in a reply
Gian-Reto Offline
Member

Post: #3
RE: Change camera "field Of View"
Great, that was it... thanks!
04-05-2011 10:08 PM
Find all posts by this user Quote this message in a reply
zomafish Offline
Member

Post: #4
RE: Change camera "field Of View"
where would i find that line to edit?
thanks.
04-15-2011 07:33 AM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #5
RE: Change camera "field Of View"
(04-15-2011 07:33 AM)zomafish Wrote:  where would i find that line to edit?
thanks.

You can call this method everywhere in your code, but preferred in your Init() function.

There is always evil somewhere, you just have to look for it properly.
04-15-2011 03:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply