glTF-Blender-Exporter | Moved to https : //github.com/KhronosGroup/glTF-Blender-IO | Addon library
kandi X-RAY | glTF-Blender-Exporter Summary
kandi X-RAY | glTF-Blender-Exporter Summary
Archived: Please use glTF-Blender-IO, included in Blender 2.80+. All future development will happen there, and this project is now archived. See ARCHIVED_README.md for the original documentation.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Export export settings
- Export a glTF2
- Print the output of the console
- Save all export properties
- Print output to console
- Print the current timestamp
glTF-Blender-Exporter Key Features
glTF-Blender-Exporter Examples and Code Snippets
Community Discussions
Trending Discussions on glTF-Blender-Exporter
QUESTION
I am trying to export a blender file (v2.79) to gltf 2.0 with material. I am using khronos gltf exporter for this purpose. I have also linked the gltf materials as indicated in the document here - https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/docs/user.md
Here is a screenshot of how the model looks like in Blender -
Here is how the .glb file looks like when I open it in a 3d viewer or in a-frame
I am not sure if this being exported with flat shading which causes it to not be affected by light when viewed outside blender. Could you kindly help figure this out?
...ANSWER
Answered 2019-May-13 at 16:10It looks like your main problem is MetallicFactor
is set to 1.0, try setting this to 0.0 instead. A doughnut is typically not metallic.
Also, RoughnessFactor
could come down as well. If this is a shiny glaze, it could come down to 0.0, or you could try 0.1 or 0.2 to see how it looks.
Also I should point out that the glTF Exporter you're using is obsolete now. Its replacement, glTF-Blender-IO works on both Blender 2.79 and Blender 2.80. The new project allows you to use Blender's Principled BSDF node directly, rather than a custom glTF node. But if you're fine using the custom glTF node, it doesn't hurt to stick with the old exporter for now.
QUESTION
I have a .OBJ model that I imported into Blender (2.79) and trying to export to .gtlf using the following exporter - https://github.com/KhronosGroup/glTF-Blender-Exporter.
Here is the model - Model
Here are my export settings in Blender
The model looks bright and has texture when I view it in the texture mode in Blender but the exported gltf model looks really dark in a-frame.
Here is how it looks in blender
and this is how it looks like in gltf after export in aframe
I have tried so many combinations of export settings and played around with lighting within a-frame but unable to get the model in aframe to look like the one in Blender.
I will be grateful if someone could please help.
...ANSWER
Answered 2018-May-25 at 00:45To get correct color output, you'll often want to set gammaOutput
on the renderer:
three.js
QUESTION
From the Kronos Github, I downloaded the A-Frame Exporter add-on and added it to Blender.
I then exported a simple starting cube from Blender and named it "test.gltf" (i have also tried "test.gbl") and placed it inside of my A-Frame scene.
I am using A-Frame Master (not 0.70)
Here's the code:
...ANSWER
Answered 2018-Feb-11 at 01:54As far as i remember a-frame 0.6.0 used glTF 1.0 in the gltf-model component. If You are reffering to the master build, make sure you're using
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install glTF-Blender-Exporter
You can use glTF-Blender-Exporter like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page