Problem loading textures using XNA renderer
I have the following:
Entity ninja = scene.CreateEntity("bob", "ninja.mesh");
SceneNode ninjaNode = scene.RootSceneNode.CreateChildSceneNode();
ninjaNode.AttachObject(ninja);
But when I run the Game, it renders absolutely nothing. I check the log file and it tells me it can't find nskingr.jpg
Anyway, I set the ninja material to:
ninja.MaterialName = "BaseWhite";
and I can see the ninja, albeit without his texture.
I'm fairly certain this has something to do with the Content Project. Does the XnaResourceGroupManager look for .xnb's or the normal extensions?
I find it odd, because the ResourceGroupManager found the ninja.mesh resource, but can't locate the texture.
