This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THREE.WebGLShader: gl.getShaderInfoLog() ERROR: 0:55: '*' : wrong operand types no operation '*' exists that takes a left-hand operand of type 'highp float' and a right operand of type 'const int' (or there is no acceptable conversion) | |
three.min.js:581 1: precision highp float; | |
2: precision highp int; | |
3: | |
4: | |
5: #define MAX_DIR_LIGHTS 0 | |
6: #define MAX_POINT_LIGHTS 0 | |
7: #define MAX_SPOT_LIGHTS 0 | |
8: #define MAX_HEMI_LIGHTS 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="x-shader/x-vertex" id="vertexshader"> | |
attribute float alpha; | |
varying float vAlpha; | |
// Coloring: https://stackoverflow.com/questions/25740054/three-js-passing-vertex-colors-to-fragment-shader | |
varying vec3 vColor; | |
void main() { | |
vColor = color; | |
vAlpha = alpha; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xshade-1.1/ make | |
mkdir OBJ.Darwin64 | |
Compiling xshade-main.cc | |
clang: warning: argument unused during compilation: '-fopenmp' | |
In file included from xshade-main.cc:12: | |
./xsh.h:18:17: error: unknown type name 'vec'; did you mean 'trimesh::vec'? | |
vector< vector<vec> > snormals; | |
^~~ | |
trimesh::vec | |
../trimesh2/include/Vec.h:420:22: note: 'trimesh::vec' declared here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 | |
POST partly_done codeschool_1488.mp4 154430339-codeschool_1488mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process.env.TMPDIR = 'tmp'; // to avoid the EXDEV rename error, see http://stackoverflow.com/q/21071303/76173 | |
var UPLOAD_DIR = 'uploads/'; | |
var express = require('express'); | |
var multipart = require('connect-multiparty'); | |
var multipartMiddleware = multipart(); | |
var flow = require('./flow-node.js')('tmp'); | |
var fs = require('fs'); | |
var crypto = require('crypto'); | |
var path = require('path'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements | |
- Volume Rendering | |
- Rendering of ~3,375,000 cubes | |
- Rendering as Pointcloud? | |
+ http://potree.org/wp/ | |
+ http://threejs.org/examples/webgl_particles_random.html | |
- rendering of text labels in the scene | |
- transfer functions | |
- for 2D-transfer-functions | |
- brushing elements (shooting rays into the scene at mouse position and matching objects) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gistup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.acn | |
*.acr | |
*.alg | |
*.aux | |
*.bbl | |
*.blg | |
*.dvi | |
*.fdb_latexmk | |
*.glg | |
*.glo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gistup |