Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Unified Diff: samples/o3d-webgl-samples/hellocube-wireframe.html

Issue 3059005: o3d-webgl: Increasing the point size in shader to make points easier to see. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/o3d-webgl-samples/hellocube-wireframe.html
===================================================================
--- samples/o3d-webgl-samples/hellocube-wireframe.html (revision 53363)
+++ samples/o3d-webgl-samples/hellocube-wireframe.html (working copy)
@@ -368,7 +368,7 @@
<option value="TriangleList">TriangleList</option>
<option value="TriangleStrip">TriangleStrip</option>
<option value="TriangleFan">TriangleFan</option>
- </select> (PointList might be hard to see.)
+ </select>
</p>
<p>
@@ -402,6 +402,8 @@
// Multiply the vertex positions by the worldViewProjection matrix to
// transform them to screen space.
gl_Position = projection * view * world * position;
+ // Make points larger, so they can been seen.
+ gl_PointSize = 5.0;
petersont 2010/07/27 21:49:09 You can do that?
pos = position;
}
</textarea>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698