[Question]WorldToScreen Conversion

08/21/2013 22:24 DXStriker#1
Good evening E*pvp,
at the moment I'm creating an Aimbot & ESP hack in Visual basic and now i came to a point, where i don't know how to transform 3D ingame coordinates to 2D Screen coordinates. I know there are a lot of math pages in the internet , but they're all using words i never heard before like : "vRightView" or "vForwardView". I got all addresses for an ESP (hope so):

- Player Coordinates (X, Y, Z)
- Enemy Coordinates (X, Y, Z)
- Player Viewangles(Pitch, Yaw)
- Field of view (75° on each side from the center)

It would be very nice if someone could help me out in this situation. I don't want code or something like this. I just want an example of the maths. (Don't think that anyone tryed to create an esp & Aimbot with Visual Basic.Net)

greez DXStriker

Program Status:

2D Radar = Working!
Aimbot = Working!
ESP = Not working!
08/24/2013 12:15 DXStriker#2
Does anyone know the formular?
08/24/2013 14:55 Master674b#3
Output = Input * World * View * Projection.
After you applied the transformation you will get coordinates in the -1 / +1 range, so you need to scale them to your viewport -> (Viewport / 2) * (Output + 1)

Information about the matrices can be found on MSDN.