-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c8e096
commit b159dc0
Showing
9 changed files
with
105 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
*.7z | ||
*.zip | ||
*.rar | ||
/tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
all: README.html | ||
%.html: %.md | ||
pandoc --ascii $< -o $@ | ||
clean: | ||
rm README.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<h1 id="texture-morpher">texture-morpher</h1> | ||
<p>a tool to make morphable texture</p> | ||
<h2 id="主界面-main-window">主界面 // Main window</h2> | ||
<div class="figure"> | ||
<img src="doc/chrome_2017-05-05_16-32-17.png" /> | ||
|
||
</div> | ||
<p>查看 Demo:</p> | ||
<ul> | ||
<li>先在【Editor】栏,点击【打开控件】,然后【加载示例 Pairs】</li> | ||
<li>到【Sphere】栏,点击【打开控件】,然后【过渡】,效果不好;</li> | ||
</ul> | ||
<div class="figure"> | ||
<img src="doc/blend-effect-0.25.gif" /> | ||
|
||
</div> | ||
<ul> | ||
<li>再到【Editor】栏,点击【打控件】,然后【三角化】;</li> | ||
<li>到【Sphere】栏,点击【打开控件】,最后【过渡】,效果好多了。</li> | ||
</ul> | ||
<div class="figure"> | ||
<img src="doc/morph-effect-0.25.gif" /> | ||
|
||
</div> | ||
<h2 id="编辑器地使用-usage-of-editor">编辑器地使用 // Usage of Editor</h2> | ||
<ul> | ||
<li>在纹理上鼠标右键添加同名点;</li> | ||
<li>新添加地同名点为激活状态,可以通过【方向键】 (蓝色点) 或【Control + 方向键】 (绿色点) 移动位置;</li> | ||
<li>在右侧地 Pair List(同名点列表)也可以对位置进行微调;</li> | ||
<li>可以通过 Pair List 上的【X】按钮删除一对同名点;</li> | ||
<li>通过数字键【3】、【4】保存位置,然后通过数字键【1】、【2】加载位置,这样可以使得在前后两张图之间切换起来更容易;</li> | ||
</ul> | ||
<h2 id="纹理-1-纹理-2-t1-t2">纹理 1 & 纹理 2 // T1 & T2</h2> | ||
<ul> | ||
<li>通过【打开控件】下的【加载图片】加载新的全景图;</li> | ||
</ul> | ||
<h2 id="动态全景图-sphere">动态全景图 // Sphere</h2> | ||
<p>TODO</p> | ||
<h2 id="动态全景球-sphere">动态全景球 // SPHERE</h2> | ||
<p>TODO</p> | ||
<hr /> | ||
<p>Inspiration:</p> | ||
<ul> | ||
<li><a href="https://www.youtube.com/watch?v=pqpS6BN0_7k">Face Morphing using OpenCV (C++ / Python) - YouTube</a></li> | ||
<li><a href="http://www.learnopencv.com/face-morph-using-opencv-cpp-python/">Face Morph Using OpenCV — C++ / Python | Learn OpenCV</a></li> | ||
</ul> | ||
<p>Notes:</p> | ||
<ul> | ||
<li><a href="https://threejs.org/examples/?q=texture#webgl_raycast_texture">three.js / examples</a></li> | ||
<li><a href="https://github.com/mrdoob/three.js/blob/master/examples/webgl_raycast_texture.html">three.js/webgl_raycast_texture.html at master · mrdoob/three.js</a></li> | ||
<li><a href="https://github.com/pnitsch/GSVPano.js">pnitsch/GSVPano.js: Google Street View Panorama Util</a></li> | ||
<li><a href="https://bl.ocks.org/mbostock/6675193">Canvas Voronoi - bl.ocks.org</a></li> | ||
<li><a href="https://github.com/CodeSeven/toastr">CodeSeven/toastr: Simple javascript toast notifications</a></li> | ||
<li><a href="https://github.com/d3/d3/blob/master/API.md#voronoi-diagrams-d3-voronoi">d3/API.md at master · d3/d3</a></li> | ||
<li><a href="https://github.com/d3/d3-voronoi/blob/master/src/Diagram.js#L82">d3-voronoi/Diagram.js at master · d3/d3-voronoi</a>.</li> | ||
<li><a href="https://github.com/eligrey/FileSaver.js">eligrey/FileSaver.js: An HTML5 saveAs() FileSaver implementation</a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters