Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction of '3dcg-arts.net'

Introduction of '3dcg-arts.net'

Introduction of '3dcg-arts.net' at RubyKaigi2013 LT.

Hiroyuki Inoue

June 07, 2013
Tweet

More Decks by Hiroyuki Inoue

Other Decks in Programming

Transcript

  1. I’m Hiroyuki Inoue, @inohiro • A graduate student at Tsukuba

    • Interests: Ruby, Emacs, and Linked Open Data • Joined COOKPAD as internship The same university with Matz
  2. Team @hinatan Leader, Web, Infrastructure @yshibata Log analysis, Model converter

    @santarh Model converter, Viewer @inohiro Testing, Keep and improve quality of Converter
  3. Model Converter • Convert VARIOUS formats models • To the

    common format (MsgPack base) • supports 13 formats (current): 3ds, ase, dae, dxf, lwo, lws, mqo, obj, x, pmd, pmx, fbx, blend • Several formats has both text/binary mode mqo fbx pmd obj dae Converter mm3 How to keep and improve quality?
  4. Continuous Integration • Employed Jenkins and rspec • Parse/Convert near

    4,000 models in each build • Consume about an hour in each build All models: 3694 Succeeded: 3256 Failed: 324 Not included: 0 Skipped: 114
  5. Typical reasons to fail • Software bugs • External lib.

    bug => Pull Request to fix • Unexpected input • Not supported formats • Derived formats (rare) • Unexpected character encoding
  6. Iteration If you have any good idea, please let me

    know! And Enjoy ‘3dcg-arts.net’. results = [] all_models.each do |model| ENV[‘model_path’] = model.path `bundle exec rake spec` results << $?.to_i # check exit code end results.success_all? Looks not efficient...