esp box help
Hello everyone. I have been working on my own external gdi esp after watching some of fleeps videos. I have gotten pretty far and I need to display an esp box on the screen... I've messed around with source from fleeps code but I just keep getting boxes flying all over the place.
I have these values to play with in memory:
- My XYZ coords
- My FOV
- My yaw and pitch
- Enemies XYZ coords
What do I need to write to 'convert' a 3D point in the game to a 2D point on the screen? Do I need to search for more information?
Last edited by drawInTheLines_noob; 12-03-2012 at 08:37 PM.
you need screen width and screen height, and I might attempt this later tonight or tomorrow if I have time.. Im gonna avoid using any magic Directx "Figure this out for me" functions though If I do ...
yea I've been getting the width and height with GetClientRect(). Take your time and thanks for replying.
Found it, I hope this is easy enough for you to understand what is going on. 3D to 2d function by stack overflow
Post Thanks / Like - 1 Thanks
i should be able to get that working. thanks