   Mesh design
  Hi all,i'm designing an api independent mesh and want to know what you think about it.a mesh has different primitivegroups. Each primitivegroup contains a bunch of primitives and a stateChange.A stateChange represent all the changes in the graphical pipeline according to a default set.A stateChange contains a material, renderstates, and textureStages.Each textureStage contains a texture,textureStates and samplerstates.All primitive groups are send to a renderQueu. The queu will sort the primitivegroups acoording to the same stateChangethx in advance[edited by - freaker13 on March 24, 2004 10:55:12 AM][edited by - freaker13 on March 24, 2004 11:37:37 AM]