Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / making scopes

Author
Message
xix psycho xix
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location:
Posted: 29th Sep 2008 05:09
how do i simulate a scope? I figured the best way would be to create another camera, move it a certain distance to simulate the zoom, and then move it around somehow as you turn, but i have no clue how the movement computation would be done. if you didnt notice yet, i never took trig.
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 29th Sep 2008 09:35
dbSetCameraFOV(), the default is around 62.0f, lower for higher zooms.

Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 3rd Oct 2008 01:56
I thought it was 70 degrees?
daelion
16
Years of Service
User Offline
Joined: 28th Aug 2008
Location:
Posted: 4th Oct 2008 14:08
The default angle is the result of the calculation 360 degrees divided by four (90).

Login to post a reply

Server time is: 2024-11-25 03:35:26
Your offset time is: 2024-11-25 03:35:26