Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 10:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



D3D9 GetTransform problem windows XP

Discussion on D3D9 GetTransform problem windows XP within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2013
Posts: 101
Received Thanks: 27
Question D3D9 GetTransform problem windows XP

In my DrawIndexedPrimite function i have:

Code:
myDevice->GetTransform( D3DTS_VIEW, &view_matrix );
myDevice->GetTransform( D3DTS_PROJECTION, &proj_matrix );
myDevice->GetTransform( D3DTS_WORLD, &world_matrix );
myDevice->GetViewport( &d3dvp );
This works fine on Windows 7:

Code:
View Matrix:
     view_matrix._11 : -1
     view_matrix._12 : -8.74095e-008
     view_matrix._13 : -0
     view_matrix._14 : 0
     view_matrix._21 : 8.73962e-008
     view_matrix._22 : -0.999848
     view_matrix._23 : -0.0174524
     view_matrix._24 : 0
     view_matrix._31 : -1.5255e-009
     view_matrix._32 : 0.0174524
     view_matrix._33 : -0.999848
     view_matrix._34 : 0
     view_matrix._41 : -32.4
     view_matrix._42 : 23.3582
     view_matrix._43 : 39.061
     view_matrix._44 : 1
Projection Matrix:
     proj_matrix._11 : 1.19175
     proj_matrix._12 : 0
     proj_matrix._13 : 0
     proj_matrix._14 : 0
     proj_matrix._21 : 0
     proj_matrix._22 : 1.60573
     proj_matrix._23 : 0
     proj_matrix._24 : 0
     proj_matrix._31 : -0
     proj_matrix._32 : -0
     proj_matrix._33 : 1.00025
     proj_matrix._34 : 1
     proj_matrix._41 : 0
     proj_matrix._42 : 0
     proj_matrix._43 : -0.125031
     proj_matrix._44 : 0
World Matrix:
     world_matrix._11 : 0.0245525
     world_matrix._12 : -0.00470921
     world_matrix._13 : 0
     world_matrix._14 : 0
     world_matrix._21 : -0.00470921
     world_matrix._22 : -0.0245525
     world_matrix._23 : 3.7749e-009
     world_matrix._24 : 0
     world_matrix._31 : -7.11072e-010
     world_matrix._32 : -3.70732e-009
     world_matrix._33 : -0.025
     world_matrix._34 : 0
     world_matrix._41 : -54.0003
     world_matrix._42 : 5.19991
     world_matrix._43 : 8.63542
     world_matrix._44 : 1
Viewport:
     d3dvp.X      : 0
     d3dvp.Y      : 0
     d3dvp.Width  : 1024
     d3dvp.Height : 760
     d3dvp.MinZ   : 0
     d3dvp.MaxZ   : 1
BUT on WINDOWS XP i get:

Code:
View Matrix:
     view_matrix._11 : 1.88473e-017
     view_matrix._12 : 1.68653
     view_matrix._13 : 1.35358e-017
     view_matrix._14 : 1
     view_matrix._21 : 5.6036e-038
     view_matrix._22 : 0
     view_matrix._23 : 0
     view_matrix._24 : 0
     view_matrix._31 : 0
     view_matrix._32 : 1.63149
     view_matrix._33 : 0
     view_matrix._34 : 0
     view_matrix._41 : -0
     view_matrix._42 : -0
     view_matrix._43 : 1.00025
     view_matrix._44 : 7.69183e+009
Projection Matrix:
     proj_matrix._11 : 2.37597e-039
     proj_matrix._12 : 2.08572e-039
     proj_matrix._13 : 2.37597e-039
     proj_matrix._14 : 2.37598e-039
     proj_matrix._21 : 0
     proj_matrix._22 : 1.73879e-039
     proj_matrix._23 : 1.7389e-039
     proj_matrix._24 : 8.22303e+009
     proj_matrix._31 : -1.#QNAN
     proj_matrix._32 : 1.73892e-039
     proj_matrix._33 : 7.69167e+009
     proj_matrix._34 : 2.37597e-039
     proj_matrix._41 : 0
     proj_matrix._42 : 3.27402e-039
     proj_matrix._43 : 7.69167e+009
     proj_matrix._44 : 2.37598e-039
World Matrix:
     world_matrix._11 : 3.4712e-035
     world_matrix._12 : 2.38806e-039
     world_matrix._13 : 7.95398e-037
     world_matrix._14 : 2.37598e-039
     world_matrix._21 : 0
     world_matrix._22 : 1.73887e-039
     world_matrix._23 : 1.7394e-039
     world_matrix._24 : 8.22302e+009
     world_matrix._31 : 1.4013e-045
     world_matrix._32 : 3.72838e-035
     world_matrix._33 : 7.85314e-037
     world_matrix._34 : 2.37597e-039
     world_matrix._41 : 0
     world_matrix._42 : 3.27402e-039
     world_matrix._43 : 0
     world_matrix._44 : 4.48416e-044
Viewport:
     d3dvp.X      : 0
     d3dvp.Y      : 0
     d3dvp.Width  : 1024
     d3dvp.Height : 748
     d3dvp.MinZ   : 0
     d3dvp.MaxZ   : 1
Onliest "correct" thing here seems to be the Viewport.

Any suggestions how to "fix" that?

Thanks in advance.
TheGhost_AO is offline  
Reply


Similar Threads Similar Threads
[Help]D3D9 DrawPrimitive problem
03/28/2013 - C/C++ - 4 Replies
Hey, i try to draw shapes with DrawPrimitive or DrawPrimitiveUP. I already searched long time in the web but i can not find any solution. Thats why i post here. So lets start: if i inject my dll in the test enviroment everything(menu, test-recangle, and some test of sprite involving) works but if i inject in "Fiesta" a game using Directx9 i only see the Text and Sprites. I read many codes and some of them was completely shit and some of them did it the same way i do. Here my code: #define...
[D3D9 Bases] Sprited D3D9 Base with many functions
02/20/2012 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies
Hey, I found a site where a free D3D Base is and it has much functions.. and if you have a question, they help you with teamviewer! ♥ and if wr-cheats is down, you can download the newest sirosix public there. Venom Hacks - Unreal Portal
[HOW TO]fix d3d9.dll problem
09/21/2011 - S4 League Hacks, Bots, Cheats & Exploits - 2 Replies
:D HI GUYS! I WILL SHOW YOU ON HOW TO FIX D3D9.DLL PROBLEM :D 1.GO TO START MENU 2.OPEN RUN 3.TYPE dxdiag, and go to directx files 4.OPEN S4_LAUNCHER 5.PLAY THE GAME!! (VERY EASY) (I DISCOVERED THIS MYSELF) :)) S4 LAUNCHER AND BYPASS :) http://www.elitepvpers.com/forum/s4-league-hacks- bots-cheats-exploits/1346103-releas-xtrap-bypass.h tml
D3D9 Problem
07/31/2011 - WarRock - 7 Replies
hey ich habe schon mehrere No menu hacks gemach "nicht alle hier gepostet" und habe mir nun ne D3D9 base besorgt da ich nun Menu hacks machen will. Ja ich weiß es ist dreist aber kann mir einer sagen wo ich Den Tietel ändern kan . sprich dies : http://img4.fotos-hochladen.net/uploads/screenngpy npvsurihm.png
d3d9.dll problem
07/20/2011 - Wolfteam - 7 Replies
Hey leute mein freund kann nicht WTIS spielen daher immer kommt wolfteam cant find d3d9.dll und er hat schon die in dem WTIS ordner die datai erstetzt was kann er noch machen LG



All times are GMT +1. The time now is 10:17.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.