From 3d0a2ae342b867178046f8165b80a8d9128469fa Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Sun, 7 Apr 2019 02:24:59 -0400 Subject: [PATCH] Update README --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a37a828..dda5f76 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -Still a work in progress. - Generates the shapes and then serializes them to a JSON file with a list of vertices (`positions`) and a list of triangle faces (`cells`) that index into the list of vertices. Suitable for input into [Three.js's @@ -11,8 +9,9 @@ JavaScript (which I pretty much copied into Rust). Trunacated icosahedrons (I call them hexspheres) are a bit slower to generate since they are made by generating a icosahedron and then subdividing it into -hexagon and pentagon faces. I still have some work to do to improve that code. +hexagon and pentagon faces. -I'm still having issues rendering hexspheres of detail level 5 and higher and -icosahedrons of detail level of 7 and higher, so I'm not sure if those are -accurate. +When rendering hexspheres of detail level 5 and higher and icosahedrons of +detail level of 7 and higher in WebGL, make sure to enable the +[`OES_element_index_uint`](https://developer.mozilla.org/en-US/docs/Web/API/OES_element_index_uint) +extension since the number of vertices might overflow the normal int index.