question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jgltf-browser preview release 4 is not support glTF 1.1?

See original GitHub issue

It seems that it becomes an error when reading the following sample. https://cdn.rawgit.com/javagl/gltfTutorialModels/master/SimpleTexture/glTF/SimpleTexture.gltf

Errors (1)
  Message: The value is null when looking up key [exampleTexture]
  Context: glTF -> scenes[scene0] -> nodes[node0] -> meshes[mesh0] -> meshPrimitives[0] -> materials[textureMaterial] -> techniques[textureTechnique] -> uniform u_diffuse -> technique.parameters[diffuseParameter] -> textures[[exampleTexture]]
Warnings (1)
  Message: The value of techniqueParameters diffuseParameter is ArrayList, but should be String
  Context: glTF -> scenes[scene0] -> nodes[node0] -> meshes[mesh0] -> meshPrimitives[0] -> materials[textureMaterial] -> techniques[textureTechnique] -> uniform u_diffuse -> technique.parameters[diffuseParameter]

I want latest gltf-browser jar…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
javaglcommented, Jan 28, 2017

@cx20 The point about the texture being displayed upside down that you mentioned in https://github.com/javagl/JglTF/issues/10#issuecomment-269795305 has been “fixed”. Actually, there was nothing wrong. But it was considered to be potentially confusing in https://github.com/AnalyticalGraphicsInc/cesium/pull/4808#issuecomment-275660392 :

Originally, the texture coordinates had been a “unit square”

0,1---1,1
 |     |
 |     |
0,0---1,0

And now ( https://github.com/javagl/gltfTutorialModels/commit/3a2dbf403a25021e3156ba0390f4e8ee2a603d18 ) they are a vertically flipped unit square:

0,0---1,0
 |     |
 |     |
0,1---1,1

I have also updated the texture image to reflect this, and emphasized this in the README at https://github.com/javagl/gltfTutorialModels/tree/master/SimpleTexture .

Maybe it will help to reduce the confusion. Of course, this is not a reliable analysis, but searching GitHub for issues involving texture AND (flipped OR "upside down") at least gives a rough idea about how many hundreds of thousands of work hours have been wasted with this issue already. It’s a pity.


Note: This is just an information. The models here are still in the 1.1 state, and will be updated to 2.0 and added to the official Khronos repo when the dust around 2.0 has settled.

1reaction
javaglcommented, Jan 13, 2017

I have created a new (still: preview) release at https://github.com/javagl/JglTF/releases/tag/v0.0.0-alpha05

Read more comments on GitHub >

github_iconTop Results From Across the Web

javagl/JglTF: Java libraries related to glTF - GitHub
This mainly refers to rendering glTF 2.0 assets in the jgltf-viewer , particularly the support of PBR (physically based rendering) and certain animation ......
Read more >
gltf-model - A-Frame
glTF (GL Transmission Format) is an open project by Khronos providing a common, extensible format for 3D assets that is both efficient and...
Read more >
The new glTF import supported in 4.19 preview is awesome ...
Skeletal meshes and animations are not supported yet. Each of the objects in the scene will become a single static mesh in unreal....
Read more >
Manual: Piglet glTF Importer 1.3.7 - Awesomesauce Labs
This will cause a blank Animation Preview Area to appear in the Inspector window with the message No model is available for preview....
Read more >
Load 3D Models in glTF Format - Discover three.js!
For example, OBJ doesn't support animation, FBX is a closed format that ... Originally released in 2017, glTF is now the best format...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found