News:

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

Main Menu

howto code d3d so its compability to win8.1

Started by daydreamer, March 30, 2015, 03:02:55 AM

Previous topic - Next topic

daydreamer

I have started coding again,have an idea to code kinda particledemo, but most old d3d code doesnt work with my win8.1 so what makes and breaks 32bit d3d code on newer os, old 32bit games seem to work
it would be boring with my SSE coded stuff be stuck with windows GDI and only option plotted pixels or 2d circles
also I remember on the other forum homer had a particledemo, how do I set right blend conditions?
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

Siekmanski

If you want to code direct3D9, i can give you my D3D9 source (works also with windows 8.1) code of a particle example.
It's a 3D starfield done with point sprite particles and alpha blending.
First i have to clean up the code ( it's all in Dutch language )
It only uses the d3d9.lib and not the bloated d3dx9.lib.
Therefore i wrote my own math.lib and texture.lib.
Let me know if this is what you're looking for.
Creative coders use backward thinking techniques as a strategy.

daydreamer

Quote from: Siekmanski on March 30, 2015, 05:29:03 AM
If you want to code direct3D9, i can give you my D3D9 source (works also with windows 8.1) code of a particle example.
It's a 3D starfield done with point sprite particles and alpha blending.
First i have to clean up the code ( it's all in Dutch language )
It only uses the d3d9.lib and not the bloated d3dx9.lib.
Therefore i wrote my own math.lib and texture.lib.
Let me know if this is what you're looking for.
I Think that is what I am looking for!
thanks

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

Siekmanski

It's not totally finished yet, but it has all the things you need to get you started again under win 8.1  :t

Marinus
Creative coders use backward thinking techniques as a strategy.

Gunther

Hi Marinus,

thank you for sharing the code.  :t It works well under Windows 7 and 8.1. Solid work.

Gunther
You have to know the facts before you can distort them.

Siekmanski

Creative coders use backward thinking techniques as a strategy.

Gunther

You're welcome, Marinus. Do you have plans to move the code into a 64-bit version? I think that'll give some advantages.

Gunther
You have to know the facts before you can distort them.

Siekmanski

I haven't done any 64-bit coding till now, maybe some time in the future.
Creative coders use backward thinking techniques as a strategy.

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

Siekmanski

Creative coders use backward thinking techniques as a strategy.

jj2007

Really nice, Marinus :t

Assembles fine, 1k shorter with JWasm.

Siekmanski

Creative coders use backward thinking techniques as a strategy.

jj2007

Hey Marinus, that wasn't meant as a challenge :biggrin:

Siekmanski

Creative coders use backward thinking techniques as a strategy.

FORTRANS

Hi,

   Works well with Windows 2000.  I like the full screen mode.
Very nice graphics.

Thanks,

Steve N.