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
foreach (var field in typeof(ComputeUniforms).GetFields()){ | |
if(Sliders[field.Name] != null ){ | |
FloatUniform u = (FloatUniform)field.GetValue( computeUniforms ); | |
GameObject slider = (GameObject)Sliders[field.Name]; | |
float v = slider.GetComponent<Slider>().Value; | |
float final = v * (u.high - u.low) + u.low; |
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
public struct FloatUniform{ | |
public float value; | |
public float low; | |
public float high; | |
public float og; | |
} | |
public struct ComputeUniforms{ | |
public FloatUniform _LengthOfConnectionSprings; |
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
Cannot call method 'apply' of undefined while parsing file: /Users/isaaccohen/npm/webgl-workshop/answers/3d-clear-depth/setup.js | |
TypeError: Cannot call method 'apply' of undefined while parsing file: /Users/isaaccohen/npm/webgl-workshop/answers/3d-clear-depth/setup.js | |
at walk (/Users/isaaccohen/npm/webgl-workshop/node_modules/brfs/node_modules/static-module/node_modules/static-eval/index.js:89:27) | |
at module.exports (/Users/isaaccohen/npm/webgl-workshop/node_modules/brfs/node_modules/static-module/node_modules/static-eval/index.js:110:7) | |
at traverse (/Users/isaaccohen/npm/webgl-workshop/node_modules/brfs/node_modules/static-module/index.js:267:23) | |
at walk (/Users/isaaccohen/npm/webgl-workshop/node_modules/brfs/node_modules/static-module/index.js:200:18) | |
at walk (/Users/isaaccohen/npm/webgl-workshop/node_modules/brfs/node_modules/static-module/node_modules/falafel/index.js:60:9) | |
at /Users/isaaccohen/npm/webgl-workshop/node_modules/brfs/node_modules/static-module/node_modules/falafel/inde |
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
undefined:0 | |
TypeError: undefined is not a function | |
npm ERR! Darwin 13.3.0 | |
npm ERR! argv "node" "/usr/local/bin/npm" "start" | |
npm ERR! node v0.10.33 | |
npm ERR! npm v2.1.6 | |
npm ERR! code ELIFECYCLE |
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
200 2ms 20.26KB /fonts/inconsolata-regular-webfont.woff2 | |
200 1ms 21.82KB /fonts/inconsolata-bold-webfont.woff2 | |
child_process.js:948 | |
throw errnoException(process._errno, 'spawn'); | |
^ | |
Error: spawn EMFILE | |
at errnoException (child_process.js:1001:11) | |
at ChildProcess.spawn (child_process.js:948:11) |
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
npm start | |
> [email protected] start /Users/isaaccohen/npm/webgl-workshop | |
> node node.js | |
============================== | |
= ~~~~~ webgl-workshop ~~~~~ = | |
============================== |
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
Submission File: /Users/isaaccohen/npm/webgl-workshop/answers/intro-hello-webgl/index.js index.js:13159 | |
Google Analytics: enabled index.js:13048 | |
Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:14921/@exercise/intro-hello-webgl/_open/submission | |
Uncaught Error: Internal XMLHttpRequest Error index.js:13484 | |
Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:14921/@exercise/intro-hello-webgl/_open/submission | |
Uncaught Error: Internal XMLHttpRequest Error index.js:13484 | |
Failed to load resource: net::ERR_CONNECTION_REFUSED http://localhost:14921/style.css |
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
============================== | |
= ~~~~~ webgl-workshop ~~~~~ = | |
============================== | |
[?] We're about to populate this directory with some code for you to use for | |
your answers. If they've already been created then don't worry, they won't | |
be replaced. Continue? Yes |
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
fs.js:438 | |
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); | |
^ | |
Error: EMFILE, too many open files '/Users/isaaccohen/npm/webgl-workshop/node_modules/glslify/index.js' | |
at Object.fs.openSync (fs.js:438:18) | |
at Object.fs.openSync (/Users/isaaccohen/npm/webgl-workshop/node_modules/cpr/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js:68:26) | |
at Object.fs.readFileSync (fs.js:289:15) | |
at Object.Module._extensions..js (module.js:473:44) | |
at Module.load (module.js:356:32) | |
at Function.Module._load (module.js:312:12) |
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
============================== | |
= ~~~~~ webgl-workshop ~~~~~ = | |
============================== | |
[?] We're about to populate this directory with some code for you to use for | |
your answers. If they've already been created then don't worry, they won't | |
be replaced. Continue? Yes | |
Done! Booting up the workshop in your browser in just a second... |