Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

i want to add Models (FBX) to My XNA Game without adding them to the "Game Content Project" , so the user could choose his own model , how could i implement this ?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

i want to add Models (FBX) to My XNA Game without adding them to the "Game Content Project" , so the user could choose his own model , how could i implement this ?

I'm assuming that the model is created by the user or the third party. If so take a look at this codeplex project. It can run the content compiler at run-time should be pretty easy to replace the GUI with however you want the user to pick their model.

Edit: Codeplex appears to be down but hopefully it'll be back up soon

share|improve this answer

Are you targeting Xbox or Windows for this project?

If you're targeting Windows, then you can just use the existing content pipeline classes and call them manually to import and process models into your game. When you get to deployment though, I think you'll have to ensure that the pipeline dlls are included (just set Copy Local to true in the reference properties). Not sure if they're part of the XNA redistributable or not.

share|improve this answer
    
i tried that before (for another purpose) , the XNA redistributable doesn't include the pipeline dlls –  MhdSyrwan Feb 2 '12 at 23:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.