filbs111 / 3sphere-explorer

visualising a 3-sphere from the inside in webgl
5 stars 0 forks source link

don't draw unseeable faces where cells connect #8

Open filbs111 opened 7 years ago

filbs111 commented 7 years ago

currently drawing cube and octohedron frame cells. if cells are scaled such that touch (includes remove ability to scale 8-cells cells), as want to do for #7 anyway, the touching faces shouldn't be seen (if camera doesn't see inside objects) can delete the outside faces of cells. guess is ~half the faces/verts/frags so seems worthwhile (assuming performance does get slow for some reasonable value of computer - so far only tested on decent PCs and limited only by monitor refresh rate)