| Poster | : Starlit | | Posts | : 6 | | Country | : France | | City | : Montpellier |
| | | | Posted by Starlit on 23/12/2007 at 15:04:06
| | I have solved the problem of the above post
it's my fault . Apparently I have missed the part needing to copy the effects to the mesh when doing the FillModelFromFile() method.
In addition to the migration to XNA Game Studio 2
The method to organize Models,Textures... suggested in XNA Game studio 2 documentation is to create subfolders of the content folder as
Content\Models and
Content\Textures
In that case you have to change the code as following
Model:
spacemodel = FillModelFromFile("Content\\Models\\xwing");
|
It would be the same for Textures
Textures
scenerytexture = content.Load<Texture2D>("Content\\Textures\\texturemap"); |
| |
|
|