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'm trying to build a terrain starting from a heightmap. I've already some ideas about the procedure, but I can't even get started. I feel like I have to use a MeshBuider. The problem is that Visual Studio (I'm using the 2008 version) wants an assembly. Effectively on the MSDN there's a line specifying the assembly needed by the MeshBuilder, but I don't know how to import/load it.
Any suggestions?

Thanks in advance :)

share|improve this question
    
Are you trying to load this assembly at runtime? XNA's content pipeline is designed to run at build time and is only available on windows - not XBox. New content pipeline projects should reference this correctly with XNA installed. –  Leniency Feb 2 '11 at 20:11
    
@Leniency: I'm developing for windows. And no, I'm trying to load at build time. –  BlackBear Feb 2 '11 at 20:13

1 Answer 1

up vote 2 down vote accepted

Okay, then you need to add a reference to the content pipeline assemblies from your game project. XNA by default won't do this.

In VS -> Project Menu -> Add Reference. Under the .NET tab, you'll find everything. It's helpful to sort by component name. You're looking for the component Microsoft.Xna.Framework.Content.Pipeline.

Don't add the importers, those are for converting resources into XNA's internal format in content pipeline projects.

share|improve this answer
    
it works. Thank so much! :) –  BlackBear Feb 2 '11 at 20:31

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.