diff options
author | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
commit | f1fe73d1909a2448a004a88362a1a532d0d4f7c3 (patch) | |
tree | ab37ae3837e2f858de2932bcee9f26e69fab3db1 /libs/assimp/test/models/glTF/BoxTextured-glTF | |
parent | f567ea1e2798fd3156a416e61f083ea3e6b95719 (diff) |
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/assimp/test/models/glTF/BoxTextured-glTF')
-rw-r--r-- | libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured.bin | bin | 840 -> 0 bytes | |||
-rw-r--r-- | libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured.gltf | 339 | ||||
-rw-r--r-- | libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured0FS.glsl | 18 | ||||
-rw-r--r-- | libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured0VS.glsl | 15 | ||||
-rw-r--r-- | libs/assimp/test/models/glTF/BoxTextured-glTF/CesiumLogoFlat.png | bin | 22051 -> 0 bytes |
5 files changed, 0 insertions, 372 deletions
diff --git a/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured.bin b/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured.bin Binary files differdeleted file mode 100644 index 79f5db4..0000000 --- a/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured.bin +++ /dev/null diff --git a/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured.gltf b/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured.gltf deleted file mode 100644 index c804768..0000000 --- a/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured.gltf +++ /dev/null @@ -1,339 +0,0 @@ -{ - "accessors": { - "accessor_21": { - "bufferView": "bufferView_29", - "byteOffset": 0, - "byteStride": 0, - "componentType": 5123, - "count": 36, - "type": "SCALAR" - }, - "accessor_23": { - "bufferView": "bufferView_30", - "byteOffset": 0, - "byteStride": 12, - "componentType": 5126, - "count": 24, - "max": [ - 0.5, - 0.5, - 0.5 - ], - "min": [ - -0.5, - -0.5, - -0.5 - ], - "type": "VEC3" - }, - "accessor_25": { - "bufferView": "bufferView_30", - "byteOffset": 288, - "byteStride": 12, - "componentType": 5126, - "count": 24, - "max": [ - 1, - 1, - 1 - ], - "min": [ - -1, - -1, - -1 - ], - "type": "VEC3" - }, - "accessor_27": { - "bufferView": "bufferView_30", - "byteOffset": 576, - "byteStride": 8, - "componentType": 5126, - "count": 24, - "max": [ - 6, - 1 - ], - "min": [ - 0, - 0 - ], - "type": "VEC2" - } - }, - "animations": {}, - "asset": { - "generator": "collada2gltf@027f74366341d569dea42e9a68b7104cc3892054", - "premultipliedAlpha": true, - "profile": { - "api": "WebGL", - "version": "1.0.2" - }, - "version": "1.0" - }, - "bufferViews": { - "bufferView_29": { - "buffer": "BoxTextured", - "byteLength": 72, - "byteOffset": 0, - "target": 34963 - }, - "bufferView_30": { - "buffer": "BoxTextured", - "byteLength": 768, - "byteOffset": 72, - "target": 34962 - } - }, - "buffers": { - "BoxTextured": { - "byteLength": 840, - "type": "arraybuffer", - "uri": "BoxTextured.bin" - } - }, - "images": { - "Image0001": { - "name": "Image0001", - "uri": "CesiumLogoFlat.png" - } - }, - "materials": { - "Effect-Texture": { - "name": "Texture", - "technique": "technique0", - "values": { - "diffuse": "texture_Image0001", - "shininess": 256, - "specular": [ - 0.2, - 0.2, - 0.2, - 1 - ] - } - } - }, - "meshes": { - "Geometry-mesh002": { - "name": "Mesh", - "primitives": [ - { - "attributes": { - "NORMAL": "accessor_25", - "POSITION": "accessor_23", - "TEXCOORD_0": "accessor_27" - }, - "indices": "accessor_21", - "material": "Effect-Texture", - "mode": 4 - } - ] - } - }, - "nodes": { - "Geometry-mesh002Node": { - "children": [], - "matrix": [ - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1 - ], - "meshes": [ - "Geometry-mesh002" - ], - "name": "Mesh" - }, - "groupLocator030Node": { - "children": [ - "txtrLocator026Node" - ], - "matrix": [ - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1 - ], - "name": "Texture_Group" - }, - "node_3": { - "children": [ - "Geometry-mesh002Node", - "groupLocator030Node" - ], - "matrix": [ - 1, - 0, - 0, - 0, - 0, - 0, - -1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 1 - ], - "name": "Y_UP_Transform" - }, - "txtrLocator026Node": { - "children": [], - "matrix": [ - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1 - ], - "name": "Cesium_Logo_Flat__Image___Texture_" - } - }, - "programs": { - "program_0": { - "attributes": [ - "a_normal", - "a_position", - "a_texcoord0" - ], - "fragmentShader": "BoxTextured0FS", - "vertexShader": "BoxTextured0VS" - } - }, - "samplers": { - "sampler_0": { - "magFilter": 9729, - "minFilter": 9987, - "wrapS": 10497, - "wrapT": 10497 - } - }, - "scene": "defaultScene", - "scenes": { - "defaultScene": { - "nodes": [ - "node_3" - ] - } - }, - "shaders": { - "BoxTextured0FS": { - "type": 35632, - "uri": "BoxTextured0FS.glsl" - }, - "BoxTextured0VS": { - "type": 35633, - "uri": "BoxTextured0VS.glsl" - } - }, - "skins": {}, - "techniques": { - "technique0": { - "attributes": { - "a_normal": "normal", - "a_position": "position", - "a_texcoord0": "texcoord0" - }, - "parameters": { - "diffuse": { - "type": 35678 - }, - "modelViewMatrix": { - "semantic": "MODELVIEW", - "type": 35676 - }, - "normal": { - "semantic": "NORMAL", - "type": 35665 - }, - "normalMatrix": { - "semantic": "MODELVIEWINVERSETRANSPOSE", - "type": 35675 - }, - "position": { - "semantic": "POSITION", - "type": 35665 - }, - "projectionMatrix": { - "semantic": "PROJECTION", - "type": 35676 - }, - "shininess": { - "type": 5126 - }, - "specular": { - "type": 35666 - }, - "texcoord0": { - "semantic": "TEXCOORD_0", - "type": 35664 - } - }, - "program": "program_0", - "states": { - "enable": [ - 2929, - 2884 - ] - }, - "uniforms": { - "u_diffuse": "diffuse", - "u_modelViewMatrix": "modelViewMatrix", - "u_normalMatrix": "normalMatrix", - "u_projectionMatrix": "projectionMatrix", - "u_shininess": "shininess", - "u_specular": "specular" - } - } - }, - "textures": { - "texture_Image0001": { - "format": 6408, - "internalFormat": 6408, - "sampler": "sampler_0", - "source": "Image0001", - "target": 3553, - "type": 5121 - } - } -}
\ No newline at end of file diff --git a/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured0FS.glsl b/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured0FS.glsl deleted file mode 100644 index 782e1f4..0000000 --- a/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured0FS.glsl +++ /dev/null @@ -1,18 +0,0 @@ -precision highp float; -varying vec3 v_normal; -varying vec2 v_texcoord0; -uniform sampler2D u_diffuse; -uniform vec4 u_specular; -uniform float u_shininess; -void main(void) { -vec3 normal = normalize(v_normal); -vec4 color = vec4(0., 0., 0., 0.); -vec4 diffuse = vec4(0., 0., 0., 1.); -vec4 specular; -diffuse = texture2D(u_diffuse, v_texcoord0); -specular = u_specular; -diffuse.xyz *= max(dot(normal,vec3(0.,0.,1.)), 0.); -color.xyz += diffuse.xyz; -color = vec4(color.rgb * diffuse.a, diffuse.a); -gl_FragColor = color; -} diff --git a/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured0VS.glsl b/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured0VS.glsl deleted file mode 100644 index cacc9ed..0000000 --- a/libs/assimp/test/models/glTF/BoxTextured-glTF/BoxTextured0VS.glsl +++ /dev/null @@ -1,15 +0,0 @@ -precision highp float; -attribute vec3 a_position; -attribute vec3 a_normal; -varying vec3 v_normal; -uniform mat3 u_normalMatrix; -uniform mat4 u_modelViewMatrix; -uniform mat4 u_projectionMatrix; -attribute vec2 a_texcoord0; -varying vec2 v_texcoord0; -void main(void) { -vec4 pos = u_modelViewMatrix * vec4(a_position,1.0); -v_normal = u_normalMatrix * a_normal; -v_texcoord0 = a_texcoord0; -gl_Position = u_projectionMatrix * pos; -} diff --git a/libs/assimp/test/models/glTF/BoxTextured-glTF/CesiumLogoFlat.png b/libs/assimp/test/models/glTF/BoxTextured-glTF/CesiumLogoFlat.png Binary files differdeleted file mode 100644 index 88bada3..0000000 --- a/libs/assimp/test/models/glTF/BoxTextured-glTF/CesiumLogoFlat.png +++ /dev/null |