Procházet zdrojové kódy

updating honeycomb

Justin Gilman před 1 týdnem
rodič
revize
b0146a93f8
24 změnil soubory, kde provedl 629 přidání a 3 odebrání
  1. 0 0
      htdocs/threejs/honeycomb/assets/index-DXR6_Uc2.js
  2. 0 0
      htdocs/threejs/honeycomb/assets/index-DXR6_Uc2.js.map
  3. binární
      htdocs/threejs/honeycomb/beehive/scene.bin
  4. 339 0
      htdocs/threejs/honeycomb/beehive/scene.gltf
  5. binární
      htdocs/threejs/honeycomb/beehive/textures/BB_066_001_baseColor.png
  6. binární
      htdocs/threejs/honeycomb/beehive/textures/BB_066_001_normal.png
  7. binární
      htdocs/threejs/honeycomb/cubemap/negx.jpg
  8. binární
      htdocs/threejs/honeycomb/cubemap/negy.jpg
  9. binární
      htdocs/threejs/honeycomb/cubemap/negz.jpg
  10. binární
      htdocs/threejs/honeycomb/cubemap/posx.jpg
  11. binární
      htdocs/threejs/honeycomb/cubemap/posy.jpg
  12. binární
      htdocs/threejs/honeycomb/cubemap/posz.jpg
  13. 13 0
      htdocs/threejs/honeycomb/cubemap/readme.txt
  14. binární
      htdocs/threejs/honeycomb/cubemapsimple/negx.png
  15. binární
      htdocs/threejs/honeycomb/cubemapsimple/negy.png
  16. binární
      htdocs/threejs/honeycomb/cubemapsimple/negz.png
  17. binární
      htdocs/threejs/honeycomb/cubemapsimple/posx.png
  18. binární
      htdocs/threejs/honeycomb/cubemapsimple/posy.png
  19. binární
      htdocs/threejs/honeycomb/cubemapsimple/posz.png
  20. binární
      htdocs/threejs/honeycomb/flowers/scene.bin
  21. 275 0
      htdocs/threejs/honeycomb/flowers/scene.gltf
  22. binární
      htdocs/threejs/honeycomb/flowers/textures/Material.002_baseColor.png
  23. 2 3
      htdocs/threejs/honeycomb/index.html
  24. binární
      htdocs/threejs/honeycomb/textures/lawn.jpg

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
htdocs/threejs/honeycomb/assets/index-DXR6_Uc2.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
htdocs/threejs/honeycomb/assets/index-DXR6_Uc2.js.map


binární
htdocs/threejs/honeycomb/beehive/scene.bin


+ 339 - 0
htdocs/threejs/honeycomb/beehive/scene.gltf

@@ -0,0 +1,339 @@
+{
+  "accessors": [
+    {
+      "bufferView": 2,
+      "componentType": 5126,
+      "count": 49944,
+      "max": [
+        0.38608300685882568,
+        0.59452098608016968,
+        1.2528660297393799
+      ],
+      "min": [
+        -0.39417499303817749,
+        -0.59964501857757568,
+        0.0037750001065433025
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 2,
+      "byteOffset": 599328,
+      "componentType": 5126,
+      "count": 49944,
+      "max": [
+        1,
+        1,
+        0.99999690055847168
+      ],
+      "min": [
+        -1,
+        -1,
+        -0.99999821186065674
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 3,
+      "componentType": 5126,
+      "count": 49944,
+      "max": [
+        0.99999982118606567,
+        0.99999988079071045,
+        1,
+        1
+      ],
+      "min": [
+        -1,
+        -1,
+        -0.9999997615814209,
+        -1
+      ],
+      "type": "VEC4"
+    },
+    {
+      "bufferView": 1,
+      "componentType": 5126,
+      "count": 49944,
+      "max": [
+        0.99102002382278442,
+        0.99458998441696167
+      ],
+      "min": [
+        0.0054100002162158489,
+        0.0054000001400709152
+      ],
+      "type": "VEC2"
+    },
+    {
+      "bufferView": 0,
+      "componentType": 5125,
+      "count": 283344,
+      "max": [
+        49943
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    },
+    {
+      "bufferView": 2,
+      "byteOffset": 1198656,
+      "componentType": 5126,
+      "count": 90,
+      "max": [
+        0.31502801179885864,
+        0.51844900846481323,
+        1.1313740015029907
+      ],
+      "min": [
+        -0.31571799516677856,
+        -0.54183000326156616,
+        1.0241199731826782
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 2,
+      "byteOffset": 1199736,
+      "componentType": 5126,
+      "count": 90,
+      "max": [
+        0.9976576566696167,
+        0.92174875736236572,
+        0.9847748875617981
+      ],
+      "min": [
+        -0.98357373476028442,
+        -0.9981953501701355,
+        -0.7804253101348877
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 3,
+      "byteOffset": 799104,
+      "componentType": 5126,
+      "count": 90,
+      "max": [
+        0.88542783260345459,
+        0.9799644947052002,
+        0.89194679260253906,
+        1
+      ],
+      "min": [
+        -0.99849671125411987,
+        -0.99969428777694702,
+        -0.85291802883148193,
+        -1
+      ],
+      "type": "VEC4"
+    },
+    {
+      "bufferView": 1,
+      "byteOffset": 399552,
+      "componentType": 5126,
+      "count": 90,
+      "max": [
+        0.99090999364852905,
+        0.19298000633716583
+      ],
+      "min": [
+        0.71615999937057495,
+        0.0054000001400709152
+      ],
+      "type": "VEC2"
+    },
+    {
+      "bufferView": 0,
+      "byteOffset": 1133376,
+      "componentType": 5125,
+      "count": 384,
+      "max": [
+        89
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    }
+  ],
+  "asset": {
+    "extras": {
+      "author": "blenderboom (https://sketchfab.com/blenderboom)",
+      "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
+      "source": "https://sketchfab.com/3d-models/beehive-box-79e7f4b1d2db4e72bb51c804683da6bd",
+      "title": "Beehive box"
+    },
+    "generator": "Sketchfab-5.50.0",
+    "version": "2.0"
+  },
+  "bufferViews": [
+    {
+      "buffer": 0,
+      "byteLength": 1134912,
+      "byteOffset": 0,
+      "name": "floatBufferViews",
+      "target": 34963
+    },
+    {
+      "buffer": 0,
+      "byteLength": 400272,
+      "byteOffset": 1134912,
+      "byteStride": 8,
+      "name": "floatBufferViews",
+      "target": 34962
+    },
+    {
+      "buffer": 0,
+      "byteLength": 1200816,
+      "byteOffset": 1535184,
+      "byteStride": 12,
+      "name": "floatBufferViews",
+      "target": 34962
+    },
+    {
+      "buffer": 0,
+      "byteLength": 800544,
+      "byteOffset": 2736000,
+      "byteStride": 16,
+      "name": "floatBufferViews",
+      "target": 34962
+    }
+  ],
+  "buffers": [
+    {
+      "byteLength": 3536544,
+      "uri": "scene.bin"
+    }
+  ],
+  "images": [
+    {
+      "uri": "textures/BB_066_001_baseColor.png"
+    },
+    {
+      "uri": "textures/BB_066_001_normal.png"
+    }
+  ],
+  "materials": [
+    {
+      "doubleSided": true,
+      "name": "BB_066_001",
+      "normalTexture": {
+        "index": 1,
+        "scale": 0.42802085880000001,
+        "texCoord": 0
+      },
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          1,
+          1,
+          1,
+          1
+        ],
+        "baseColorTexture": {
+          "index": 0,
+          "texCoord": 0
+        },
+        "metallicFactor": 0,
+        "roughnessFactor": 0.59999999999999998
+      }
+    }
+  ],
+  "meshes": [
+    {
+      "primitives": [
+        {
+          "attributes": {
+            "NORMAL": 1,
+            "POSITION": 0,
+            "TANGENT": 2,
+            "TEXCOORD_0": 3
+          },
+          "indices": 4,
+          "material": 0,
+          "mode": 4
+        }
+      ]
+    },
+    {
+      "primitives": [
+        {
+          "attributes": {
+            "NORMAL": 6,
+            "POSITION": 5,
+            "TANGENT": 7,
+            "TEXCOORD_0": 8
+          },
+          "indices": 9,
+          "material": 0,
+          "mode": 4
+        }
+      ]
+    }
+  ],
+  "nodes": [
+    {
+      "children": [
+        1
+      ],
+      "name": "RootNode (gltf orientation matrix)",
+      "rotation": [
+        -0.70710678118654746,
+        -0,
+        -0,
+        0.70710678118654757
+      ]
+    },
+    {
+      "children": [
+        2
+      ],
+      "name": "RootNode (model correction matrix)"
+    },
+    {
+      "children": [
+        3,
+        4
+      ],
+      "name": "BB_066_.obj.cleaner.materialmerger.gles"
+    },
+    {
+      "mesh": 0,
+      "name": ""
+    },
+    {
+      "mesh": 1,
+      "name": ""
+    }
+  ],
+  "samplers": [
+    {
+      "magFilter": 9729,
+      "minFilter": 9987,
+      "wrapS": 10497,
+      "wrapT": 10497
+    }
+  ],
+  "scene": 0,
+  "scenes": [
+    {
+      "name": "OSG_Scene",
+      "nodes": [
+        0
+      ]
+    }
+  ],
+  "textures": [
+    {
+      "sampler": 0,
+      "source": 0
+    },
+    {
+      "sampler": 0,
+      "source": 1
+    }
+  ]
+}
+

binární
htdocs/threejs/honeycomb/beehive/textures/BB_066_001_baseColor.png


binární
htdocs/threejs/honeycomb/beehive/textures/BB_066_001_normal.png


binární
htdocs/threejs/honeycomb/cubemap/negx.jpg


binární
htdocs/threejs/honeycomb/cubemap/negy.jpg


binární
htdocs/threejs/honeycomb/cubemap/negz.jpg


binární
htdocs/threejs/honeycomb/cubemap/posx.jpg


binární
htdocs/threejs/honeycomb/cubemap/posy.jpg


binární
htdocs/threejs/honeycomb/cubemap/posz.jpg


+ 13 - 0
htdocs/threejs/honeycomb/cubemap/readme.txt

@@ -0,0 +1,13 @@
+Author
+======
+
+This is the work of Emil Persson, aka Humus.
+http://www.humus.name
+
+
+
+License
+=======
+
+This work is licensed under a Creative Commons Attribution 3.0 Unported License.
+http://creativecommons.org/licenses/by/3.0/

binární
htdocs/threejs/honeycomb/cubemapsimple/negx.png


binární
htdocs/threejs/honeycomb/cubemapsimple/negy.png


binární
htdocs/threejs/honeycomb/cubemapsimple/negz.png


binární
htdocs/threejs/honeycomb/cubemapsimple/posx.png


binární
htdocs/threejs/honeycomb/cubemapsimple/posy.png


binární
htdocs/threejs/honeycomb/cubemapsimple/posz.png


binární
htdocs/threejs/honeycomb/flowers/scene.bin


+ 275 - 0
htdocs/threejs/honeycomb/flowers/scene.gltf

@@ -0,0 +1,275 @@
+{
+  "accessors": [
+    {
+      "bufferView": 2,
+      "componentType": 5126,
+      "count": 27332,
+      "max": [
+        0.49155551195144653,
+        0.48264610767364502,
+        0.49195221066474915
+      ],
+      "min": [
+        -0.45935499668121338,
+        -0.48648244142532349,
+        -0.002036483958363533
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 2,
+      "byteOffset": 327984,
+      "componentType": 5126,
+      "count": 27332,
+      "max": [
+        0.99998199939727783,
+        0.99995970726013184,
+        0.99997806549072266
+      ],
+      "min": [
+        -0.99998235702514648,
+        -0.99978852272033691,
+        -0.99965965747833252
+      ],
+      "type": "VEC3"
+    },
+    {
+      "bufferView": 3,
+      "componentType": 5126,
+      "count": 27332,
+      "max": [
+        0.99998074769973755,
+        0.99997621774673462,
+        0.99740010499954224,
+        1
+      ],
+      "min": [
+        -0.99996143579483032,
+        -0.9999004602432251,
+        -0.99795722961425781,
+        -1
+      ],
+      "type": "VEC4"
+    },
+    {
+      "bufferView": 1,
+      "componentType": 5126,
+      "count": 27332,
+      "max": [
+        0.98811382055282593,
+        0.96175456047058105
+      ],
+      "min": [
+        0.043307065963745117,
+        0.13728377223014832
+      ],
+      "type": "VEC2"
+    },
+    {
+      "bufferView": 0,
+      "componentType": 5125,
+      "count": 110316,
+      "max": [
+        27331
+      ],
+      "min": [
+        0
+      ],
+      "type": "SCALAR"
+    }
+  ],
+  "asset": {
+    "extras": {
+      "author": "Irina.Tuchna (https://sketchfab.com/Irina.Tuchna)",
+      "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
+      "source": "https://sketchfab.com/3d-models/wildflower-bouquet-6a1c3ed6920a4c1a81d1a995f62fc11b",
+      "title": "Wildflower bouquet"
+    },
+    "generator": "Sketchfab-6.43.0",
+    "version": "2.0"
+  },
+  "bufferViews": [
+    {
+      "buffer": 0,
+      "byteLength": 441264,
+      "byteOffset": 0,
+      "name": "floatBufferViews",
+      "target": 34963
+    },
+    {
+      "buffer": 0,
+      "byteLength": 218656,
+      "byteOffset": 441264,
+      "byteStride": 8,
+      "name": "floatBufferViews",
+      "target": 34962
+    },
+    {
+      "buffer": 0,
+      "byteLength": 655968,
+      "byteOffset": 659920,
+      "byteStride": 12,
+      "name": "floatBufferViews",
+      "target": 34962
+    },
+    {
+      "buffer": 0,
+      "byteLength": 437312,
+      "byteOffset": 1315888,
+      "byteStride": 16,
+      "name": "floatBufferViews",
+      "target": 34962
+    }
+  ],
+  "buffers": [
+    {
+      "byteLength": 1753200,
+      "uri": "scene.bin"
+    }
+  ],
+  "images": [
+    {
+      "uri": "textures/Material.002_baseColor.png"
+    }
+  ],
+  "materials": [
+    {
+      "doubleSided": true,
+      "name": "Material.002",
+      "pbrMetallicRoughness": {
+        "baseColorFactor": [
+          1,
+          1,
+          1,
+          1
+        ],
+        "baseColorTexture": {
+          "index": 0,
+          "texCoord": 0
+        },
+        "metallicFactor": 0,
+        "roughnessFactor": 0
+      }
+    }
+  ],
+  "meshes": [
+    {
+      "name": "flowers.001_Material.002_0",
+      "primitives": [
+        {
+          "attributes": {
+            "NORMAL": 1,
+            "POSITION": 0,
+            "TANGENT": 2,
+            "TEXCOORD_0": 3
+          },
+          "indices": 4,
+          "material": 0,
+          "mode": 4
+        }
+      ]
+    }
+  ],
+  "nodes": [
+    {
+      "children": [
+        1
+      ],
+      "name": "RootNode (gltf orientation matrix)",
+      "rotation": [
+        -0.70710678118654746,
+        -0,
+        -0,
+        0.70710678118654757
+      ]
+    },
+    {
+      "children": [
+        2
+      ],
+      "name": "RootNode (model correction matrix)"
+    },
+    {
+      "children": [
+        3
+      ],
+      "matrix": [
+        1,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0,
+        0,
+        -1,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1
+      ],
+      "name": "ae5e5a7353d34cfa94cb3b0f23257c9d.fbx"
+    },
+    {
+      "children": [
+        4
+      ],
+      "name": "RootNode"
+    },
+    {
+      "children": [
+        5
+      ],
+      "matrix": [
+        100,
+        0,
+        0,
+        0,
+        0,
+        -1.6292067939183141e-05,
+        -99.999999999998678,
+        0,
+        0,
+        99.999999999998678,
+        -1.6292067939183141e-05,
+        0,
+        0,
+        0,
+        0,
+        1
+      ],
+      "name": "flowers.001"
+    },
+    {
+      "mesh": 0,
+      "name": "flowers.001_Material.002_0"
+    }
+  ],
+  "samplers": [
+    {
+      "magFilter": 9729,
+      "minFilter": 9987,
+      "wrapS": 10497,
+      "wrapT": 10497
+    }
+  ],
+  "scene": 0,
+  "scenes": [
+    {
+      "name": "OSG_Scene",
+      "nodes": [
+        0
+      ]
+    }
+  ],
+  "textures": [
+    {
+      "sampler": 0,
+      "source": 0
+    }
+  ]
+}
+

binární
htdocs/threejs/honeycomb/flowers/textures/Material.002_baseColor.png


+ 2 - 3
htdocs/threejs/honeycomb/index.html

@@ -1,4 +1,4 @@
-<script type="module" crossorigin src="/assets/index-DXR6_Uc2.js"></script>
+<script type="module" crossorigin src="./assets/index-DXR6_Uc2.js"></script>
 <style type="text/css">
     html,
     body {
@@ -6,5 +6,4 @@
         padding: 0;
     }
 </style>
-<div id="container"></div>
-<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r121/three.module.js" integrity="sha512-zhgQMS7vG+f5CHv6IQ26VllGlG8KulkoNT44jKeYPtyYU0AhGBifWF3IiC7cIumzeVrerdvaw/McehsSGjC7Jw==" crossorigin="anonymous"></script> -->

+<div id="container"></div>


binární
htdocs/threejs/honeycomb/textures/lawn.jpg


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů