Graphics.Model
I don't understand if i'm avaliable to load data into Model object myself without Content Pipeline released yet. There are a lot of useful methods in model ( and related ) classes, are they working at this point?
[214 byte] By [
hr0nix] at [2007-12-25]
Just checked it. It's allowed to create model objects, but there is no public ctor for ModelMesh. So, does anyone knows any good mesh wrapper classes except of SimpleMesh from SpaeWar&
The Model- types are used by the content pipeline, and are, only created via content pipeline loading. Unfortunately, that makes them less than useful for the Beta.
Sometimes you need to generate some procedural meshes, that's making the Model Class (and some other ones) useless, they should be read and write collection ... now i have to define my own mesh and mesh part because i canno write them?
Currently, the constructors only exist for the generic versions of the class, and there is no draw functions built in to those classes. In fact, in order to use them, you must create your own load code, drawing code, effect manipulation code, skinning code, and must make about 4 or 5 new classes that inherit skeleton abstract classes.
I'd like to ask a question of my own. If we create a Model class that follows this implementation and has its own draw function, what will happen in the next release of XNA? How will we be able to interface our generic model classes with the content pipeline models?
I've written code to load and render unanimated .X files, and am wondering if its worth just extending the Model types.
My impression of the content pipeline is that it's quite different from the normal load and display concept. So I would probably not implement this on my own if it weren't for having to wait 2,3 months for the conent pipeline. But since the shell is closed and no information regarding release date has slipped out I don't know which way to go.
But if I am not going to use the content pipeline I have to wonder if this exercise in XNA is not completely useless, so I have choosen to have faith :)