GitHub Adds Support For Diffing 3D Files
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.'"
Still no side-by-side diff for plain old text files.
Perhaps .obj, .blend, .md3, . iqm, etc
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.
Real question : Is the tool that crates these diffs open source?
It'd be pretty lame to want to diff a couple revisions but need to push the changes to the public to see the diff.
The Christian religion has been and still is the principal enemy of moral progress in the world. -- Bertrand Russell
Nice. I just hoped they would implement a diff tool for Excel sheets next. Also a bit more intuitive output on branch comparison would help, as currently it just lists some commits in order by date. One can not see, which commit is done at which branch. Or perhaps it is just me not understanding the logic.