Sign in to follow this  
sparrow666

D3DXMatrixLookAtLH & D3DXMatrixLookAtRH

Recommended Posts

sparrow666    122
Hi! For my project I need to intercept all the calls to the D3DXMatrixLookAtLH & D3DXMatrixLookAtRH functions of DirectX using dll proxy hooking. I am new to DirectX and game development, so my question is; Does every game engine using DirectX library use D3DXMatrixLookAtLH & D3DXMatrixLookAtRH functions for matrix transformation? Are there any other / custom functions that do the same thing? Best, Domen

Share this post


Link to post
Share on other sites
3ddreams    142
A lot of game engine using own matrix transformation routines. Because this routines may be faster than D3DXMatrixLookAtLH, D3DXMatrixLookAtRH and any other functions. Long time ago I'm tried your thinking with proxy dll but not worked.

Share this post


Link to post
Share on other sites
Evil Steve    2017
Most D3D applications that don't use shaders will use IDirect3DDevice9::SetTransform() however, so you could hook that call instead. Newer applications will pass the world*view*projection matrix as a shader argument, and that'll be more difficult to hook (If it's even possible).

What exactly are you trying to do? There's probably a better way of doing it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this