mirror of https://github.com/mosra/magnum.git
Browse Source
It's done by addSupportedImporterContents() only if they aren't processed explicitly and passed directly.pull/594/head
8 changed files with 208 additions and 6 deletions
|
After Width: | Height: | Size: 84 B |
@ -0,0 +1,19 @@
|
||||
type = "6H 3f3f3f 3f3f3f" |
||||
input = [ |
||||
# 2 3--5 |
||||
# |\ \ | |
||||
# | \ \| |
||||
# 0--1 4 |
||||
|
||||
0, 1, 2, 3, 4, 5, |
||||
|
||||
-1, -1, 0, |
||||
1, -1, 0, |
||||
-1, 1, 0, |
||||
|
||||
-1, 1, 0, |
||||
1, -1, 0, |
||||
1, 1, 0, |
||||
] |
||||
|
||||
# kate: hl python |
||||
@ -0,0 +1,50 @@
|
||||
{ |
||||
"asset": { |
||||
"version": "2.0" |
||||
}, |
||||
"buffers": [ |
||||
{ |
||||
"uri": "quad-name-custom-attributes-duplicates.bin", |
||||
"byteLength": 72 |
||||
} |
||||
], |
||||
"bufferViews": [ |
||||
{ |
||||
"buffer": 0, |
||||
"byteOffset": 0, |
||||
"byteLength": 12 |
||||
}, |
||||
{ |
||||
"buffer": 0, |
||||
"byteOffset": 12, |
||||
"byteLength": 72 |
||||
} |
||||
], |
||||
"accessors": [ |
||||
{ |
||||
"bufferView": 0, |
||||
"componentType": 5123, |
||||
"count": 6, |
||||
"type": "SCALAR" |
||||
}, |
||||
{ |
||||
"bufferView": 1, |
||||
"componentType": 5126, |
||||
"count": 6, |
||||
"type": "VEC3" |
||||
} |
||||
], |
||||
"meshes": [ |
||||
{ |
||||
"primitives": [ |
||||
{ |
||||
"indices": 0, |
||||
"attributes": { |
||||
"_CUSTOM_ATTRIBUTE": 1 |
||||
} |
||||
} |
||||
], |
||||
"name": "A mesh where POSITION is _CUSTOM_ATTRIBUTE for some reason" |
||||
} |
||||
] |
||||
} |
||||
|
After Width: | Height: | Size: 60 B |
@ -0,0 +1,50 @@
|
||||
{ |
||||
"asset": { |
||||
"version": "2.0" |
||||
}, |
||||
"buffers": [ |
||||
{ |
||||
"uri": "quad-name-custom-attributes.bin", |
||||
"byteLength": 60 |
||||
} |
||||
], |
||||
"bufferViews": [ |
||||
{ |
||||
"buffer": 0, |
||||
"byteOffset": 0, |
||||
"byteLength": 12 |
||||
}, |
||||
{ |
||||
"buffer": 0, |
||||
"byteOffset": 12, |
||||
"byteLength": 48 |
||||
} |
||||
], |
||||
"accessors": [ |
||||
{ |
||||
"bufferView": 0, |
||||
"componentType": 5123, |
||||
"count": 6, |
||||
"type": "SCALAR" |
||||
}, |
||||
{ |
||||
"bufferView": 1, |
||||
"componentType": 5126, |
||||
"count": 4, |
||||
"type": "VEC3" |
||||
} |
||||
], |
||||
"meshes": [ |
||||
{ |
||||
"primitives": [ |
||||
{ |
||||
"indices": 0, |
||||
"attributes": { |
||||
"_CUSTOM_ATTRIBUTE": 1 |
||||
} |
||||
} |
||||
], |
||||
"name": "A mesh where POSITION is _CUSTOM_ATTRIBUTE for some reason" |
||||
} |
||||
] |
||||
} |
||||
Loading…
Reference in new issue