Wrote some simple SharpdDX tutorials, what do you think?

Started by
11 comments, last by DwarvesH 9 years, 7 months ago

Been busy with other projects in the last few weeks, but I missed 3D so here is another sample that builds upon the previous ones: the first post has been updated with links to Tut13.

The main purpose of Tut13 is to bridge the gap between the base of the "tutorials" and the shader research playground I usually use. The first tutorials had a design I moved a bit away from and now things are more in sync, allowing me to share spinets of code easier between tutorials and my code.

But this does not mean there aren't any real features. Tut13:

  • add asset import using AssImp. In the future I'll clean up the rather terrible disk serialization code that is still included.
  • this version officially includes for the first time (with permission) my super-lightweight SharpDX GUI based on a re-implementation of NeoForce. I updated my real code base to use this version, so the GUI will become better and more bug free as time goes on. There are now real ports of NeoForce to SharpDX created by other people, but my mini version is 74 KiB of code so I prefer it.

With DirectX 12 on the horizon, I should probably give it another go and try to implement DirectX 10 support :). DirectX 9 is getting really old :). So next version will be either DirectX 10 or my take on filmic HDR form Uncharted.

Advertisement


With DirectX 12 on the horizon, I should probably give it another go and try to implement DirectX 10 support

Probably worth just jumping to DX11 first do DX10 later. Btw great work - SharpDX is a great library and we need to keep supporting it out there!

Justin Stenning | Blog | Book - Direct3D Rendering Cookbook (using C# and SharpDX)

Projects: Direct3D Hook, EasyHook, Shared Memory (IPC), SharpDisasm (x86/64 disassembler in C#)

@spazzarama

 


With DirectX 12 on the horizon, I should probably give it another go and try to implement DirectX 10 support

Probably worth just jumping to DX11 first do DX10 later. Btw great work - SharpDX is a great library and we need to keep supporting it out there!

Thank you!

I tried DX10 first because it may be a smaller jump form 9 to 10 than form 9 to 11. I am very familiar with 9 and all its quirks, but I have never worked with 10+.

The good news is that I like DX10. The design is a lot better than 9 and 11 is probably even better. I don't know how hard this is under C#, but with C++ I could easily abstract away the API.

The bad news is that it will probably take a few weeks before my DX10 is stable and stops crashing the display driver.

This topic is closed to new replies.

Advertisement