float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
return mix(rand(fl), rand(fl + 1.0), fc);
}
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "Suzanne", | |
| "type": "Object", | |
| "version": 4.5 | |
| }, | |
| "object": { | |
| "uuid": "235e2a72-b8ea-5757-9bba-3d249b2e21cb", | |
| "name": "Suzanne", | |
| "type": "Mesh", |
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "Plane", | |
| "type": "Object", | |
| "version": 4.4 | |
| }, | |
| "object": { | |
| "uuid": "99685005-92eb-5f74-b441-5e5d3366fa9d", | |
| "name": "Plane", | |
| "type": "Mesh", |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| {"metadata":{"name":"Human Scene","type":"Object","version":4.4},"object":{"name":"Human_Scene","type":"Scene","background":4144959,"fog":{"type":"Fog","color":4144959,"near":5,"far":30},"children":[{"name":"SkyBox","type":"Mesh","geometry":"9e162647","material":"c43b2dcd","castShadow":false,"receiveShadow":false,"visible":false},{"name":"Spot","type":"SpotLight","color":16773603,"intensity":0.5,"distance":25,"angle":0.3622,"penumbra":0.4833,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,-2.1699,3.7721,6.4856,1]},{"name":"Ground","type":"Mesh","geometry":"1a37f5b9","material":"1fe84c1b","castShadow":false,"receiveShadow":true},{"name":"DirectorCamera","type":"PerspectiveCamera","aspect":1.7778,"fov":28.8415,"near":0.1,"far":100,"matrix":[0.6022,-0.0119,0.7982,0,0.1125,0.9912,-0.1321,0,-0.7904,0.0701,0.5982,0,-6.8622,1.9626,4.7532,1]},{"name":"Hemi","type":"HemisphereLight","color":13170687,"groundColor":5132800,"intensity":0.75,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,-4.2919,7.964,-2.466,1]},{"name":"Human","type":"Group","user |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "Human Scene", | |
| "type": "Object", | |
| "version": 4.4 | |
| }, | |
| "object": { | |
| "uuid": "1e1a56f6-c7e7-5793-b50f-cb5bcce219a1", | |
| "name": "Human_Scene", | |
| "type": "Scene", |
This file contains hidden or 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
| if ( group.userData.bones !== undefined ) { | |
| armature = group | |
| var bones = createBones( armature, group.userData.bones ) | |
| armature.updateMatrixWorld() | |
| armature.userData.skeleton = new THREE.Skeleton( bones, undefined, true ) | |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| (function (global, factory) { | |
| typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | |
| typeof define === 'function' && define.amd ? define(['exports'], factory) : | |
| (factory((global.THREE = global.THREE || {}))); | |
| }(this, (function (exports) { 'use strict'; | |
| // Polyfills | |
| if ( Number.EPSILON === undefined ) { |
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "Scene A", | |
| "type": "Object", | |
| "version": 4.4 | |
| }, | |
| "object": { | |
| }, | |
| "materials": [ |
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "Scene", | |
| "type": "Object", | |
| "version": 4.4 | |
| }, | |
| "object": { | |
| "uuid": "d39bc990-9ccd-5e37-aa40-de2cff47cedb", | |
| "name": "Scene", | |
| "type": "Scene", |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "Default MakeHuman Mesh", | |
| "type": "Object", | |
| "version": 4.4, | |
| "description": "This is a MakeHuman mesh, animated in Blender, and rendered with Three.js", | |
| "_objects": 25, | |
| "_skeletons": 1, | |
| "_geometries": 20, | |
| "_materials": 10, |