6105 Posted December 9, 2009 Share Posted December 9, 2009 i have little problem... i play DirectX game and that if i do screen or get the color of pixel with AutoitWindowsInfo that show me game, but all game pixels is black. how i can get pixel if DirectX show me only black? Thank You! ================= Best Regards Theodore [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 9, 2009 Share Posted December 9, 2009 DirectX sends data directly to your video card. Windows doesn't actually see any of that. Link to comment Share on other sites More sharing options...
6105 Posted December 9, 2009 Author Share Posted December 9, 2009 and how i can get pixel if DirectX show me only black? [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
X42Negative Posted December 10, 2009 Share Posted December 10, 2009 You can't. It sends the data directly through to your card, therefore you cannot see it. Unless there is another way I do not know of, you can't read the pixels in DirectX. Link to comment Share on other sites More sharing options...
MerkurAlex Posted December 10, 2009 Share Posted December 10, 2009 I am probably wrong but wasn't there some code somewhere that took a picture of the screen and then got pixels from the screenshot thus working with directx? [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
X42Negative Posted December 10, 2009 Share Posted December 10, 2009 I am probably wrong but wasn't there some code somewhere that took a picture of the screen and then got pixels from the screenshot thus working with directx?That might work, but that would be a pretty slow if you were going to do this multiple times, quickly. Link to comment Share on other sites More sharing options...
MerkurAlex Posted December 10, 2009 Share Posted December 10, 2009 Yes it would be slow but I don't see any other way without some kind of hook(d3d?) which I do not know how to do in AutoIt. [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
6105 Posted December 10, 2009 Author Share Posted December 10, 2009 (edited) yes, i find way.. if i connect to my PC from another with vnc and do screen i see al graphic of direct3d, but this way ocupe 2 pc and i finds it on forum: http://www.autoitscript.com/forum/index.php?showtopic=22245&hl=DirectX%20black&st=20I am trying to use your GetColor script that you wrote to get the color value beneath the cursor in a game. Everwhere that I try to get the color in the game I am coming up with a 'Black' value........Larry had a UDF for finding the color under the mouse pointer... search the scripts and scrapssomebody know what is UDF script and scrap? Edited December 10, 2009 by toader [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now