News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

pixel by pixel

Started by felipe, December 24, 2018, 01:20:21 PM

Previous topic - Next topic

felipe

here it's a pixel by pixel made grid... :bgrin:
.asm and .exe attached... :icon14:
i think drawing (or painting) pixel by pixel is pretty fun, though i know, not pretty fast... :idea:

HSE

Hi Felipe!!

You missed the forum section.

Go to forum>projects>Game development.

You can to study Caballero tutorials, don't lost time with SetPixel  :biggrin:.
Equations in Assembly: SmplMath

felipe

are still there? i thought he delete them long time ago... :shock:  :biggrin:

HSE

A couple are in this forum ( SWGPTG 01 and 02)
Equations in Assembly: SmplMath

daydreamer

felipe here is d3d way of doing things,not everything needs to be trianglestrip,trianglelist,trianglefan
https://docs.microsoft.com/en-us/windows/desktop/api/d3d9/nf-d3d9-idirect3ddevice9-drawprimitive
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

felipe

Here it is the 64 bits version of this program. .exe and .asm in the .zip attached.  :icon14:

felipe

there's a little error in the 64 bits version it says:

endprogram:
            mov    qword ptr rcx,msg[16]                       ; wparam.
            call    ExitProcess


and should be:


endprogram:
            mov    qword ptr rcx,msg[12]                       ; wparam.
            call    ExitProcess


:idea:  :redface:

jj2007

Quote from: felipe on January 16, 2019, 10:58:46 AM
there's a little error

The little error could have been avoided by using a so-called "STRUCTURE", e.g. as mov ecx, msg.wparam