News:

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

Main Menu

Fire, Water, Earth, and Air

Started by Caché GB, July 01, 2023, 03:14:35 AM

Previous topic - Next topic

Caché GB

Yes guys, MASM is the best.


MASM x64 and D3D11 - enjoy
https://youtu.be/xwGkzEAUK-o


P.S. The jet is a work in progress, it's not finished yet.
Caché GB's 1 and 0-nly language:MASM

jj2007


zedd151

Cool! Thanks for sharing what you have so far.  :thumbsup:

HSE

Amazing  :thumbsup:

Is the jet the 5th element?  :biggrin:
Equations in Assembly: SmplMath

Siekmanski

Creative coders use backward thinking techniques as a strategy.

StrykerX


Caché GB

jj - If you are impressed than I am happy, thank you.

zedd - You are welcome, thank you.

HSE - The jet, yes. Good catch. Thank you.

Siekmanski - Most of the credit to you. Thanks for all the help.

StykerX - I am glad you liked it. Thank you.
Caché GB's 1 and 0-nly language:MASM

mabdelouahab


daydreamer

Impressive  :thumbsup:
I have only coded very little d3d and seen when they show off latest gpu, by showing incredible high number fps, so a question :
Your Code use invoke to keep it synchronised with 60 hz monitor/60hz video mode?

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

Caché GB

Hi mabdelouahab - and a very cool to you.


Hi daydreamer - Good question.

For the apps wrapper class for d3d, called CDirect3d, when the Initialize sub is called one
can see that the Vsync_Enabled value is set to false (4:27 to 4:42 in the video).

4:27 -   vcall (CApplication ptr[r15]).m_Direct3d::CDirect3d.Initialize, (CApplication ptr[r15]).m_Fullscreen, false
4:42 -     mov (CDirect3d ptr[r15]).m_Vsync_Enabled, edx

This will give the max FPS. Since this causes OBS to jerk when recording a HD video, I cap the FPS of
the app to 65 in The Game Loop (like in Siekmanski's "smooth") and relinquish any remaining time slice.

The code for The Game Loop is not showen. Thanks
Caché GB's 1 and 0-nly language:MASM

Greenhorn

Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

Caché GB

Caché GB's 1 and 0-nly language:MASM

daydreamer

Quote from: Caché GB on July 03, 2023, 05:53:01 PM
For the apps wrapper class for d3d, called CDirect3d, when the Initialize sub is called one
can see that the Vsync_Enabled value is set to false (4:27 to 4:42 in the video).

4:27 -   vcall (CApplication ptr[r15]).m_Direct3d::CDirect3d.Initialize, (CApplication ptr[r15]).m_Fullscreen, false
4:42 -     mov (CDirect3d ptr[r15]).m_Vsync_Enabled, edx

This will give the max FPS. Since this causes OBS to jerk when recording a HD video, I cap the FPS of
the app to 65 in The Game Loop (like in Siekmanski's "smooth") and relinquish any remaining time slice.

thanks :thumbsup:
in older directx you can use some call waitforVsync before drawing on screen
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

daydreamer

Quote from: Caché GB on July 01, 2023, 03:14:35 AMP.S. The jet is a work in progress, it's not finished yet.
Curious, if it's work in progress, what's the goal?
Keyboard controlled jet flying? Jet fighter game?

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

Caché GB

#14
Hi daydreamer

The goal - brain pushups  :cool:

The jet has nothing to do with my 3D engine/framework. The jet is a 3D model I created in
Blender which I have not finished yet.

https://www.blender.org/

Pro Tip - For making models of humanoids

http://www.makehumancommunity.org/
Caché GB's 1 and 0-nly language:MASM