Patrick Härtl

Results 6 issues of Patrick Härtl

The spec specifically allows morphing of texcoord and color attributes. [Link](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#morph-targets) It is also supported by sample viewer. The description in [mesh.primitive.schema.json](https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/schema/mesh.primitive.schema.json) is misleading. I will also raise an issue...

https://github.com/KhronosGroup/glTF/blob/36f32a21242b25545cd7c142cb81be6cbc614233/specification/2.0/schema/mesh.primitive.schema.json#L80 > A plain JSON object specifying attributes displacements in a morph target, where each key corresponds to one of the three supported attribute semantic (`POSITION`, `NORMAL`, or `TANGENT`) and...

specification

occlusion strength is used in glTF with the following formula: `1.0f + occlusionStrength * (sampledValue - 1.0f)` Ref: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#_material_occlusiontextureinfo_strength. This can be restructed to `occlusionStrength * sampledValue + (1.0f-occlusionStrength)`, which...

I'm getting this build error, while trying to use ktxTexture2_GetImageOffset (even though my IDE can find the function in the source code). I'm now using `ktxTexture_GetImageOffset(ktxTexture(texture), 0, 0, 0, &offset);`...

Is there a specific reason why the inbuilt CMake variable BUILD_SHARED_LIBS is not used to control if KTX is build dynamic or static? Using a custom variable makes it harder...