GitHub Adds Support For Diffing 3D Files 29
An anonymous reader writes "A few months after releasing support for viewing models in .STL format, GitHub just added support for viewing changes to .STL formatted 3D models directly in the browser. 'How does this work? We take both versions of the model, and using binary space partitioning, we compute the added, removed, and unchanged parts. This is done using csgtool, a C library paired with a Ruby gem via FFI. These pieces are cached and displayed by the 3D viewer we already have, though we color them differently and play with their transparency to help illustrate the changes.'"
Re:And Yet... (Score:4, Informative)
You certainly can!
Visit your repo page +"/compare" to setup the revisions you want to diff.
Or just construct the url:
https://github.com/gunn/ember.js/compare/emberjs:8446b121d8c635ebf...ember-libraries.diff [github.com]
Re:Future filetypes? (Score:5, Informative)
Another cool thing would be image diff viewing. Shouldn't be too hard to do some fancy adjust transparency of two images overlapping eachother with a slider to see the diffs.
Image diffing is already a thing: https://github.com/blog/817-behold-image-view-modes
Re:And Yet... (Score:4, Informative)
This is git, not SVN.
I have the complete and fully functioning repo on my dev machine so GitHub can go boom right now and I would not really care.