Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Rewrite Windows 8.1 samples #307

Open
xoofx opened this issue Mar 17, 2014 · 3 comments
Open

Rewrite Windows 8.1 samples #307

xoofx opened this issue Mar 17, 2014 · 3 comments

Comments

@xoofx
Copy link
Member

xoofx commented Mar 17, 2014

Windows 8 samples SharpDX were written in a hurry when Windows 8 was released.
People have been using these samples as a starting point to develop/tests SharpDX with Windows 8, even some people expect the "Common" part to be a framework where it was just to avoid duplicate code within Win8 samples.

In order to simplify these samples and to avoid the burden of their maintenance, we need to peek only 2-3 C++ existing samples from Windows 8.x SDK, and port them as-is, with almost a one-to-one matching without trying to refactor/abstract things. These samples should just give a grasp of SharpDX and Windows 8 integration but should not cover all usages of the API. If someone needs to go deeper, there are several C++ existing samples in the SDK that are easy to port once you get the idea about SharpDX API.

We need to evaluate what is really worth investigating in the integration of Direct3D/2D with Windows8.x (SwapChainPanel, SurfaceImageSource....etc.)

@xoofx
Copy link
Member Author

xoofx commented Mar 18, 2014

From the list of Windows8.1 C++ samples, the following samples might be interesting to port as-is:

  • Direct2D custom image effects sample
  • Direct3D-Direct2D interop sample
  • DirectX swap chain implementation sample
  • XAML Direct2D lighting effects sample
  • XAML SurfaceImageSource DirectX interop sample
  • XAML SwapChainPanel DirectX interop sample

They should give a good overview about XAML/Direct3D/Direct2D interop,

Some of them (like Direct2D custom image effects sample), were partially done in the previous SharpDX Windows8, so we could leverage copy part of the reusable code that was done there.

xoofx added a commit that referenced this issue Mar 18, 2014
@xoofx
Copy link
Member Author

xoofx commented Mar 19, 2014

Commit 3bb1e63 is completing the sample "XAML SurfaceImageSource DirectX interop sample"

@QuantumDeveloper
Copy link

Would also be nice if you write some animation tutorials. At leats 2-3 samples to understand this part of DirectX and how to correctly do this. Didn`t find any normal tutorial for DX 11.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants