Skip to content

Instantly share code, notes, and snippets.

var model_json = {
"version" : 2,
"scale" : 0.001,
"materials": [],
"vertices": [-0.000306,0.999337,-0.000171,-0.742508,0.458661,-0.539974,0.289160,0.467804,-0.890213,0.926477,0.463016,0.000230,0.266512,0.431328,0.820196,-0.739211,0.456412,0.537056,-0.275657,-0.445996,-0.848465,0.710533,-0.439071,-0.515925,0.717360,-0.443268,0.520973,-0.272354,-0.440723,0.838688,-0.895421,-0.447672,0.000358,-0.000098,-0.999169,0.000099,0.165337,0.864424,-0.508616,-0.434146,0.867985,-0.315991,-0.268466,0.536635,-0.825925,-0.444729,0.888959,0.322593,-0.854426,0.527887,0.000127,0.526067,0.850918,-0.000224,0.685263,0.523827,-0.498572,0.156746,0.820296,0.482195,0.691125,0.527986,0.502210,-0.264762,0.530055,0.815171,-0.939628,-0.000105,0.305301,-0.951442,-0.000168,-0.309350,-0.578774,-0.000189,-0.796746,0.000281,-0.000103,-0.998764,0.584460,-0.000097,-0.804492,0.951969,0.000370,-0.309090,0.919826,-0.000067,0.298580,0.585972,-0.000069,0.806792,0.000123,0.000313,1.001361,-0.591520,-0.000194,0.814247,-0.696315,-0.53223
@jankolkmeier
jankolkmeier / index.html
Created October 17, 2011 19:26
Vertex colors with canvas renderer
<!DOCTYPE HTML>
<html lang="en">
<head>
<script type="text/javascript" src="./lib/Three.js"></script>
<script type="text/javascript" src="./lib/RequestAnimationFrame.js"></script>
<title>Threejs Canvas Vertexcolors</title>
</head>
<body>
<div id="canvas"></div>
</body>
@jankolkmeier
jankolkmeier / gist:808162
Created February 2, 2011 18:51
pksqlite install fails on cygwin
$npm install supermarket
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info range pksqlite@>=0.0.3
npm info preinstall [email protected]
npm info preinstall [email protected]
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp