morningto / softart

Automatically exported from code.google.com/p/softart
0 stars 0 forks source link

Refactor mesh to model/mesh arch #97

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Description:
 Now mesh will contains a single group of buffers.
 And for vertex sharing and multiple material support, it need to be refactored to a model-mesh two level arch.
 A simple solution as following:

 model: buffers, texture buffers, materials, meshes
 mesh: material pointer, texture pointer, buffer description, input layout, material pointer.

 And mesh is the unit of drawing.

Original issue reported on code.google.com by wuye9036 on 30 Jun 2011 at 6:24

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 30 Jun 2011 at 6:30

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 2fa932cfca50.

SALVIA:
  Added attached_data to mesh.
  Added Obj IO files into salvia.

Original comment by wuye9036 on 30 Jun 2011 at 11:09

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 6 Jul 2011 at 10:22

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 15 Dec 2011 at 3:37