26 Commits

Author SHA1 Message Date
alemuntoni
da5c3e6fc1 remove tinygltf source and download it using cmake 2022-10-31 16:20:26 +01:00
Thomas Schöps
ed1cb93b8f glTF plugin: Account for BufferView::byteStride when loading vertex attributes 2022-04-11 15:35:45 +02:00
Thomas Schöps
7441e282bd glTF plugin: When writing indices, do not try to access texcoords if the mesh does not have them 2022-04-11 15:28:44 +02:00
Thomas Schöps
0d379a67a1 glTF plugin: Enable texcoords if a TEXCOORD_0 attribute is present, even if there is no texture 2022-04-11 15:26:38 +02:00
luz paz
2b0ffa0a58 Fix various typos
Found via `codespell -q 3 -S ./src/external,./src/vcglib,./src/plugins_unsupported/external,./unsupported  -L ba,bre,childs,closests,coo,currenty,distorsion,ect,fle,fo,hist,linz,lod,nd,normall,normaly,pixelx,ot,ro,siz,strutture,vertexes`
2022-02-26 14:14:28 -05:00
alemuntoni
bec1c61d06 fix adding wedges 2022-02-03 13:00:49 +01:00
Mike Baran
518abb1590 Don't reassign textureImg, when the texture already exists 2022-01-20 16:53:39 -05:00
Mike Baran
4ed4d97295 Use wedge text coordinates to support multi texturing 2022-01-19 15:36:07 -05:00
Mike Baran
22bdd2b7a0 Don't allow empty URIs as two or more textures could stomp on eachother 2022-01-19 15:35:36 -05:00
alemuntoni
da624e32ee add support to glb format 2021-07-02 13:11:31 +02:00
alemuntoni
1d588e2aaa possibility to load gltf in a single layer 2021-07-01 11:24:03 +02:00
alemuntoni
b506d83422 io mask management 2021-06-30 18:28:10 +02:00
alemuntoni
3404f2f278 using callback progress when load gltf 2021-06-30 17:50:01 +02:00
alemuntoni
911459c832 cleanups 2021-06-30 16:39:31 +02:00
alemuntoni
2e3badbd7b recursive load of mesh nodes from scene 2021-06-30 15:49:55 +02:00
alemuntoni
2180b4311d move declarations in header file 2021-06-30 12:56:22 +02:00
alemuntoni
4178eaf019 fix loading textures 2021-06-30 12:34:24 +02:00
alemuntoni
3135c85a95 fix text image name with space 2021-06-29 22:21:01 +02:00
alemuntoni
e94bafde04 comment all the load functions 2021-06-29 22:13:12 +02:00
alemuntoni
1dc2cd57a5 support to vertex colors 2021-06-29 17:50:54 +02:00
alemuntoni
7da5e714af bugfix on reading textures 2021-06-29 17:22:08 +02:00
alemuntoni
9bbd078d5b load translation, rotation and scale properties 2021-06-29 16:48:28 +02:00
alemuntoni
a357335330 set rotation matrices 2021-06-29 15:53:42 +02:00
alemuntoni
a85be92692 load base vertex color 2021-06-29 14:30:28 +02:00
alemuntoni
f4c67d1353 load texture coords 2021-06-29 13:00:36 +02:00
alemuntoni
3bf8489550 tinygltf corrected to be included by multiple cpp units 2021-06-29 11:49:52 +02:00