Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect format of glTF model of recently added sample #10526

Closed
3 of 12 tasks
cx20 opened this issue Jan 8, 2017 · 0 comments
Closed
3 of 12 tasks

Incorrect format of glTF model of recently added sample #10526

cx20 opened this issue Jan 8, 2017 · 0 comments

Comments

@cx20
Copy link
Contributor

cx20 commented Jan 8, 2017

Description of the problem

Recently the following glTF model has been added to the sample.
https://github.com/mrdoob/three.js/tree/dev/examples/models/gltf/snowflake
https://github.com/mrdoob/three.js/tree/dev/examples/models/gltf/snowflakes

However, the format seems to be incorrect.

"techniques": {
  "meshTechnique": {
    "parameters": {
      "color": {
        "type": 35665,
        "semantic": "color" // "COLOR" is correct
      }
    },
    "attributes": {},       // empty is incorrect
    "program": "meshProgram",
    "uniforms": {},         // empty is incorrect
    "states": {
      "enable": [
        3042,
        2929
      ]
    },
    "name": "meshTechnique"
  }
},

@bdysvik please check, and see javagl/JglTF#11

Three.js version
  • Dev
  • r82
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • Linux
  • Android
  • IOS
Hardware Requirements (graphics card, VR Device, ...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants