how convert my xna game to sharpdx
i using this sample to convert the xna to sharpdx
this is the link to sample
http://xbox.create.msdn.com/en-US/education/catalog/sample/collision_3d_heightmap_normals
how convert my xna game to sharpdx
i using this sample to convert the xna to sharpdx
this is the link to sample
http://xbox.create.msdn.com/en-US/education/catalog/sample/collision_3d_heightmap_normals
A lot of the SharpDX Toolkit implements an API that is comparable to XNA. You should take a look at the SharpDX Toolkit samples and documentation.
Here is a post that talks through a conversion from XNA to SharpDX back when the SharpDX Toolkit was first released - keep in mind that the toolkit has evolved a bit since then so the various surprises that this guy had may not be such an issue now.
i thiking buy this book Direct3D Rendering Cookbook to learn how use the sharpdx
my problem its i can´t transform the 2d image in 3d
like sample the xna make
i thiking buy this book Direct3D Rendering Cookbook to learn how use the sharpdx
The book shows how to use Direct3D with SharpDX at a low level and does not show how to use the Toolkit which was originally developed as a further abstraction to provide a familiar API for XNA developers.
what you suggest to learn sharpdx
some the sample its for directx 3D 11.1 and Directx 3D 11.2
i using Directx 11 becouse my SO don´t support directx 3D 11.1 and Directx 3D 11.2
I've ported a project from XNA to SharpDX myself.
Basically what I did was create a new SharpDX project and then copy the XNA source files into it, then changed all the Framework references.
After that I corrected whatever errors were left.
There were some issues I ran into though:
1. Some functions from XNA don't exist in SharpDX or work differently (e.g. Gamepad and PlayerIndex objects are missing)
2. Shaders for XNA may not work in SharpDX (I'm still using BasicEffect for that reason, my own Shader just renders black)
3. I had problems getting textures to work (Now they do =)
Among others.
If you run into any obstacles, feel free to contact me.
Coming from XNA, the SharpDX.Toolkit dlls are your friend. They provide XNA like classes, e.g. Game and Model