2
votes
How to make the Steam overlay work with WPF?
It's because WPF only refreshes areas that need updating.
So you can create something transparent that covers the whole window and refresh it repeatedly when ...
1
vote
How to calculate more precisely the position of the pupil in function of the eye ball and a direction?
I can't provide you with the code solution, but here's some formulas you might find useful to do it yourself:
Calculate eyeball position:
...
1
vote
Accepted
Camera math: How to calculate the horizontal and vertical angle from the look at vector
If there is no roll in your FPS camera (typically, there is not in an FPS) then all you need to do to get a yaw angle (-π..π ) from the vector is the atan2() function.
As suggested by DMGregory, the ...
1
vote
Game loop architecture using WPF(MVVM) and C#
I guess the CompositionTarget.Rendering event fits your bill. You can attach a method to the Rendering event like this:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
wpf × 38c# × 20
xna × 6
2d × 4
3d × 4
directx × 4
sharpdx × 4
gui × 3
unity × 2
mathematics × 2
game-design × 2
directx11 × 2
interface × 2
c++ × 1
opengl × 1
java × 1
collision-detection × 1
animation × 1
architecture × 1
camera × 1
algorithm × 1
graphics × 1
movement × 1
transformation × 1
game-loop × 1