Giter Club home page Giter Club logo

fbx_contentexportermsbuild's Introduction

ContentExporterMSBuild

Build sdkmesh files from fbx by adding them to your VS project. Comes with a property sheets GUI (below).

demo

How To Use

  1. Copy BuildCustomizations folder into your project
  2. Copy ContentExporter.exe into your project (or build it yourself, from https://github.com/walbourn/contentexporter)
  3. Add references in your vcxproj to BuildCustomizations\ContentExporter.[props|xml]
  • See ContentExporterMSBuild.vcxproj as an example
  1. Restart your Visual Studio if you currently have it open.
  2. Add FBX files to your project (ie. right click on project -> Add -> Existing Items...)
  3. Set the desired build options by right clicking your fbx and choosing "Properties..."
  4. Just build, and it should hopefully work!

Hello World

If you build and run the ContentExporterMSBuild.sln, that should "just work", and print out a bunch of info about cube.fbx.

Naturally, you can swap cube.fbx to test out your own scenes.

Potential Issues

FBX SDK

Haven't tested if it works without the FBX SDK installed, so consider installing that if there are problems.

ContentExporter 32-bit

ContentExporter.props is designed assuming ContentExporter.exe was built in 64-bit.

If you want to use a 32-bit version of ContentExporter.exe, edit ContentExporter.props, and make the following changes:

  1. Replace "\amd64\Tracker.exe" with "\Tracker.exe"
  2. Replace "FileTracker64.dll" with "FileTracker32.dll"

Debugging build errors

If you're running into weird build issues and you're not sure what's going on, you can try increasing MSBuild's debug level.

To do this:

  1. Go in Visual Studio's "Tools -> Options -> Projects and Solutions -> Build and Run"
  2. Increase "MSBuild project build output verbosity" to "Detailed"

From there, you'll be able to see the full output of the ContentExporter and its build scripts.

Please report any bugs on this repository! Either by posting in the issue tracker, or submitting your own fix through pull requests.

fbx_contentexportermsbuild's People

Contributors

nlguillemot avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.