Running image triangulation and extrusion

An efficient way of planar triangulation for images with an alpha channel

建立方法 JavaScript, HTML5, Canvas, WebGL, 檔案,

  • 806 個檢視數
  • 0 條回應

作者所寫的更多關於此 Demo 的資訊

This is a technique I came up with for extruding planar geometry from images. It was inspired by a blob tracking algorithm called "one pass, run based, component labelling". The novelty lies in the way of dealing with holes which negates the need to insert elements on the vertices array. It produces decent polygon counts but it's main point is speed, even with large image resolutions, making it a good solution for interactive generation of models. The generated geometry is watertight and t-junction free making it suitable for viewing but especially for 3d printing(this was actually the need that called for it). A paper describing the technique has been submitted to the journal of computer graphic techniques, in the meantime the source code is contained in one file(CanvasGeometry.js)

還沒有回應

登入後即可自行新增。

關於此 Demo

下載原始碼 1208.55 KB · ZIP 格式

Browse the Source

此 demo 係以 GPL 條款進行授權。