Hi,
I'm a proficient coder, but a beginner in XNA (and truespace - which I'm using to model). I've looked everywhere, but can't seem to find (IMO) a very basic tutorial. I'm trying to create a cube in truespace, and render it in XNA so that two surfaces are mirrors and the other surfaces are brick. What's the best way to do this?
1. Should I create the cube in truespace, apply a shiny material and a brick material in truespace and use BasicEffect to render in XNA?
2. Should I model in ts and export, load the model and the textures/shaders in xna, set the effect params and render?
3. Should I build a custom content processor to apply the shaders to the model and render?
Ideally, I'd like to use option 2. Now the question is, how do I know when to apply the shiny mirror shader on two surfaces and a matte wooden texture on the other surfaces? Is there something that needs to be done in ts? Do I need some sort of mapping texture? Is there a tutorial somewhere that can guide me from creating a model in a modeler, to loading the model in XNA and rendering using custom effects (not BasicEffect)? What would be the best approach?
I'd really appreciate your help in this regard. It seems all I can find in shading tutorials are either showing glorified examples on a model made in code or quite advanced shadow mapping tutorials. I'd really like to know how to take a model from the modeling tool, and using my own shader(s) to render it. The best I've been able to do is to make the whole model a mirror or the whole model a brick. How can I specify two shaders for two parts of a model?