Skip to content

Commit ccd6283

Browse files
committed
started adding support for rendering PLY point clouds (incomplete)
1 parent 29921de commit ccd6283

File tree

6 files changed

+94000
-6
lines changed

6 files changed

+94000
-6
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

examples/client_side_ajax.html

+12-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
if (getUrlVars()["stl"]) {
3636
thingiview.loadSTL(getUrlVars()["stl"]);
3737
} else {
38-
thingiview.loadSTL("../examples/objects/cube.stl");
38+
// thingiview.loadSTL("../examples/objects/cube.stl");
39+
thingiview.loadPLY("../examples/objects/gnome_ascii.ply");
3940
}
4041
}
4142

@@ -91,6 +92,16 @@ <h3>OBJ Files</h3>
9192
<li><a href="#" onclick="thingiview.loadOBJ('../examples/objects/teapot.obj')">render</a> | <a href="objects/teapot.obj">download</a> Tea Pot (buggy)</li>
9293
<li><a href="#" onclick="thingiview.loadOBJ('../examples/objects/walt_small.obj')">render</a> | <a href="objects/walt_small.obj">download</a> Walt Low Poly (big, but manageable)</li>
9394
</ul>
95+
96+
<h3>ASCII PLY Files</h3>
97+
<ul>
98+
<li><a href="#" onclick="thingiview.loadPLY('../examples/objects/gnome_ascii.ply')">render</a> | <a href="objects/gnome_ascii.ply">download</a> Gnome</li>
99+
</ul>
100+
101+
<h3>BINARY PLY Files</h3>
102+
<ul>
103+
<li><a href="#" onclick="thingiview.loadPLY('../examples/objects/gnome_binary.ply')">render</a> | <a href="objects/gnome_binary.ply">download</a> Gnome</li>
104+
</ul>
94105
</div>
95106

96107
<p>

0 commit comments

Comments
 (0)