Giter VIP home page Giter VIP logo

Comments (6)

DRx3D avatar DRx3D commented on May 28, 2024 1

Thank you for your detailed response. That information helps a lot and I will be able to bring it to the Blender BOFs during SIGGRAPH. I see that knowing the target and how you are going to get there is still very important.

from gltf-blender-exporter.

UX3D-nopper avatar UX3D-nopper commented on May 28, 2024

Okay, I analyzed the model regarding geometry:
grafik
The screenshot is from the edit mode from the front roof. Also, I enabled face normal rendering. As you can see - the normals are not correct. The reason, why Blender renders this correct is, that the mesh is marked double sided.
I assume, the rest of the geometry artifacts are the same.
As described in the user documentation, the double sided flag comes from the material and not the mesh.
https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/docs/user.md
Thats the reason, why you have these artifacts.
How to solve this? Recalculate/set the normals at the errenous places.

Appearance:
Also mentioned in the docs, the Blender material is not a PBR glTF 2.0 material and so no materials are exported. This means, the default material is used. So all color, texture information, alpha etc. gets lost.

To summarize:

  • It is not a viewer and/or exporter bug.
  • The scene needs some rework to render properly.

grafik

from gltf-blender-exporter.

UX3D-nopper avatar UX3D-nopper commented on May 28, 2024

Thanks a lot that you took so much time to investigate this. Sorry, that I cannot help u further.

There will be an extension to glTF 2.0, called KHR_materials_cmnBlinnPhong. With this extension, it will also be possbile to export these materials as well.

Meanwhile, you need to convert the materials to PBR ones.

from gltf-blender-exporter.

UX3D-nopper avatar UX3D-nopper commented on May 28, 2024

Maybe you have a look at this:
#53
We received a pull request, that as much PBR materials as possible are exported - without breaking the metallic roughness workflow.

from gltf-blender-exporter.

MiguelAlgaba avatar MiguelAlgaba commented on May 28, 2024

Hi, I'm experiencing a similar issue with transparent materials when exporting them to .glb format. I tried exporting the sample polly scene to binary format and then loaded it with http://sandbox.babylonjs.com. Interestingly the transparent display doesn't appear transparent when I export the polly scene, however it does appear transparent when I load the glTF-Blender-Exporter/polly/project_polly.glb file. I installed the glTF exporter add-on corresponding to master (commit 504a525) and I was using Blender 2.79b 2018-03-22 for Mac. I was running macOS High Sierra 10.13.4. I checked the Export materials check-box is marked when doing the export and the other materials look apparently correct, should I enable other export settings maybe?

Thanks for all the great work!

from gltf-blender-exporter.

donmccurdy avatar donmccurdy commented on May 28, 2024

@MiguelAlgaba thanks for catching this — I've filed a new issue: #199

from gltf-blender-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.