algiuxas Posted September 29, 2016 Share Posted September 29, 2016 I'm making simple 3D game, rotating 3D cubes, spheres, and etc., I need to draw triangles as fast as possible, with textures, but GDIPlus have some limitations witch wouldn't let me make 3D objects. What I want to do: I need to draw 2D array of ARGB colors to GUI as fast as possible, that it wouldn't took more than 25 milliseconds. Would that be possible? After switching years ago to Linux, sadly I don't use AutoIt anymore. Link to comment Share on other sites More sharing options...
UEZ Posted September 29, 2016 Share Posted September 29, 2016 An example of a 2D array which needs to be drawn at min of 40 fps? Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
AutoBert Posted September 30, 2016 Share Posted September 30, 2016 11 hours ago, algiuxas said: Would that be possible? Maybe, if ussing a other language. Link to comment Share on other sites More sharing options...
algiuxas Posted September 30, 2016 Author Share Posted September 30, 2016 17 hours ago, UEZ said: An example of a 2D array which needs to be drawn at min of 40 fps? Yeah or even faster, so image is 2D array, every pixel in array has ARGB color. I need to draw it to GUI. After switching years ago to Linux, sadly I don't use AutoIt anymore. Link to comment Share on other sites More sharing options...
UEZ Posted September 30, 2016 Share Posted September 30, 2016 Well, if the array size is too large AutoIt will copy the data from the array to the gfx handle slower than 40 fps. To boost it you have to save it to a struct and use for example assembler or an external DLL by passing the struct and the gfx handle. algiuxas 1 Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
algiuxas Posted September 30, 2016 Author Share Posted September 30, 2016 (edited) Okay... Maybe I'll use Java to make it. Edited September 30, 2016 by algiuxas After switching years ago to Linux, sadly I don't use AutoIt anymore. Link to comment Share on other sites More sharing options...
AndyG Posted October 1, 2016 Share Posted October 1, 2016 On 29.9.2016 at 8:35 PM, algiuxas said: I need to draw triangles as fast as possible, with textures, And what has this to do with an array? Those triangles/textures are precalculated, any calculation within AutoIt is too slow anyway. Btw. do you have any minimal script to show us what you want (to do)? And when those triangles are precalculated, there is no need to work with arrays instead of images/bitmaps! 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