1. 09 12月, 2011 2 次提交
    • A
      Added CTM converter. · f811090f
      alteredq 提交于
      Command line Windows executable from OpenCTM install.
      f811090f
    • A
      Added handling of materials to CTMLoader. Added more complex CTM example. · b59e818f
      alteredq 提交于
      CTM pipeline produces very small and efficient models, just it's quite involved.
      
      Models with multiple materials need to be split into separate files. For this there "split_obj.py" helper script.
      
      Also, as CTM format uses indexed shared vertices, with more complex UV unwrapping mesh may need to get preprocessed to create extra vertices for faces which have different UVs for the same vertices (MeshLab can do this).
      b59e818f
  2. 08 12月, 2011 1 次提交
    • A
      Added vertex reordering to CTMLoader. · 0d904dd3
      alteredq 提交于
      This is needed to avoid endless loop when generating offsets (when some triangles have vertices spread across offset boundaries).
      0d904dd3
  3. 07 12月, 2011 1 次提交
    • A
      Added BufferGeometry for direct rendering from typed arrays. · 8ec6317e
      alteredq 提交于
      Work in progress. For the moment works just with CTMLoader. Still not sure where some pieces of code would go.
      
      Upsides:
      	- initialization time cut down significantly (1.8 seconds => 0.7 seconds for CTM example)
      	- much smaller GL buffers thanks to fully used indexing (Walt has 6x less vertices)
      	- consequently much smaller memory footprint all around, both for main and GPU memories,
      	  which means less swapping and better vertex caching
      
      Downsides:
      	- can't have anymore sharp per-face effects like flat shading (at least if mesh is not constructed in a way where each face has own vertices)
      	- can't have multiple materials per mesh
      	- no more easy manipulation of anything (for the moment actually no runtime manipulation at all, typed arrays are just thrown away, dynamic geometries code path not yet implemented)
      8ec6317e
  4. 06 12月, 2011 3 次提交
  5. 05 12月, 2011 1 次提交
  6. 03 12月, 2011 1 次提交
  7. 02 12月, 2011 2 次提交
  8. 01 12月, 2011 1 次提交
  9. 30 11月, 2011 4 次提交
  10. 29 11月, 2011 3 次提交
  11. 25 11月, 2011 13 次提交
  12. 24 11月, 2011 5 次提交
  13. 23 11月, 2011 2 次提交
  14. 22 11月, 2011 1 次提交
    • A
      Added frustum culling also for ParticleSystems. · 43036191
      alteredq 提交于
      This is optional, for now by default it's off, like it was before. It's up to application to update geometry bounding sphere if vertex positions change (like for meshes).
      43036191