Adean / Variants Of Power

Mesh Loading. You can't have a game without it, or at least a decent looking one. Here is my initial thoughts for an idea of handling it.
Large Version

Now here are two classes that will be implemented into the Adean engine. A Mesh Loader class and a Mesh Holder class.
First of all, there's a string saying where the mesh is located, that will be sent to the Loader method within the Mesh Loader. This will then go through the steps to take all of the Textures, Materials, and all of the Mesh data and put it into variables. It will then create a Mesh Holder and stuff all of the newly sought data into it and then return it.
Now the Mesh Holder class will contain the variables for all of the Meshes information and a method to render it. We'll use the Mesh Holder class by putting each Mesh Holder into an ArrayList and running that list through a loop to render each of the Meshes that have been loaded. We'll use an ArrayList because it'll make it easier to add and remove them on the fly. This way it's much more Dynamic and gives the engine a possible use later on.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Tuesday, May 30, 2006 10:33 PM

Comments on this post

No comments posted yet.

Your comment:

 (will show your gravatar)