News:

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

Main Menu

64-bit DirectX 11

Started by aw27, May 25, 2018, 11:49:29 PM

Previous topic - Next topic

aw27

I attach a 64-bit DirectX 11 demo with source.
It includes a 64-bit DirectX 11 library (probably the MASM first). It was inspired by Siekmanski excellent work for DirectX 9, 32-bit.
It includes also my DMath library in static form (which I had never published before this way). As we know it is not possible to use DirectXMath within MASM, so DMath is the best bet because it covers the whole DirectXMath and is completely compatible.

This is not a complete work, but I can't promise I will pursue it.
The demo is of middle level difficulty and is based on lesson 11 of https://www.braynzarsoft.net/viewtutorial/q16390-braynzar-soft-directx-11-tutorials


LordAdef

Hi AW, nice!
Concerning your DMath lib, what do you use for 32 bits?

LiaoMi

Hi AW,

is it some kind of special library - d3dx11_43.dll? I usually dont have any problems with directx  :icon_eek: Thats interesting https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/8b78bea7-06c0-4a2c-8aa0-929c37fbfee4/missing-d3dx1143dll?forum=vclanguage

I have an error
---------------------------
dx11_64App.exe - System Error
---------------------------
The code execution cannot proceed because d3dx11_43.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK   
---------------------------


Siekmanski

Creative coders use backward thinking techniques as a strategy.

nidud

#4
deleted

felipe


daydreamer

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

avcaballero

Quite nice, thank you. There is a noticeable difference in speed as the size of the window increases.

aw27

@LordAdef
I will publish the 32-bit DMath static lib when I post a 32-bit demo. It may not take long.

@LiaoMi
You need the DirectX11 runtime installed.

@daydreamer
I don't know if it applies to the case, but dx11 requires Windows Vista or above.

@caballero
This may have to do with the texture fill-rate.




LiaoMi

Hi AW,

thank you! It works now, reminded me of flying barrels in the game Half-Life  :biggrin: Very dynamic scene! Cool!


The processor loads 21%, gpu load 81% Is this normal? Сan be compared with FarCry 5  :P

aw27

Hi LiaoMi,
The demo is running at full throttle, no fps limitations. I hope not to fry people's graphics card. :redface:

felipe

Quote from: AW on May 26, 2018, 11:39:13 PM
I hope not to fry people's graphics card. :redface:

Don't think so, i will not watch the rotating cubes all day and night... :bgrin: