From e8f03e2b6ca119a31abdfeac549949f0ebcc66fb Mon Sep 17 00:00:00 2001 From: "luchen@google.com" Date: Thu, 5 Aug 2010 02:07:51 +0000 Subject: o3d-webgl: Adding support for triangle fan/strip in picking. TEST=picking-more.html demo Review URL: http://codereview.chromium.org/2805101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55017 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/samples/o3d-webgl-samples/picking-more.html | 384 ++++++++++++++++++++++++ 1 file changed, 384 insertions(+) create mode 100644 o3d/samples/o3d-webgl-samples/picking-more.html (limited to 'o3d/samples/o3d-webgl-samples') diff --git a/o3d/samples/o3d-webgl-samples/picking-more.html b/o3d/samples/o3d-webgl-samples/picking-more.html new file mode 100644 index 0000000..b158603 --- /dev/null +++ b/o3d/samples/o3d-webgl-samples/picking-more.html @@ -0,0 +1,384 @@ + + + + + + +Picking and IndexBuffers + + + + + + +

More Picking

+

This example demonstrates picking with custom shapes that use a variety of +index buffer formats. Back faces are culled (hidden) and cannot be picked.

+

+ You picked: nothing +

+

Rotate in the scene with WASD.

+
+ +
+ + + + + -- cgit v1.1