Jump to content

Recommended Posts

Posted

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.

Posted
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.

Posted

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.

 

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

Okay... Maybe I'll use Java to make it.

Edited by algiuxas

After switching years ago to Linux, sadly I don't use AutoIt anymore.

Posted
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!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...