Skip to main content
GameDev.net gamedev.net
🔒 Locked

Visual Studio 2015 and Mesh Content Task

Started by J.K Aug 28, 2016 at 6:43 PM 0 replies 2.3k views
Original Post
J.K
J.K

Hello!

This time I have a problem with working on Samples from Direct3D Rendering Cookbook (https://github.com/spazzarama/Direct3D-Rendering-Cookbook)

I'm working on Mesh Skinning, and when I'm running my app, I see the grid, but I can't see my Character.

It's probably because I didn't load Mesh Content Task files to my project, so I did this like it's mentioned in this article:

http://spazzarama.com/2013/11/20/visual-studio-graphics-content-pipeline-csharp-projects/

But after that I can't open my solution until I will remove that line mentioned in the article.

I have even tried to download the project from the repo of the Direct3D Rendering Cookbook, but I can't even open the Solution until I remove (again) the Mesh Content Task import line.

What to do?

EDIT: I have found the BuildTargets for the Mesh in Visual Studio 2015 files, everything went fine, 0 errors, but after applying that and setting my Character.fbx's Build Action to "MeshContentTask" I still can't see my Model.

Spazzarama
Spazzarama

(J.K already knows this, but for anyone else that stumbles across this)

The issue is that Visual Studio 2015 has changes to the MeshContentTask. Also the version in that download has conditions for VS 11.0 and 12.0.

You also cannot copy the Visual Studio 2015 version directly without some changes (it is designed for a C++ project). I have attached an updated version to https://github.com/spazzarama/Direct3D-Rendering-Cookbook/issues/4 and will be committed to the repository once it has been made backwards compatible.

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.