Linked data not shared after export
See original GitHub issueI am trying to export two objects which are supposed to share mesh data (NORMAL
, POSITION
, indices
etc.). I also want the objects’ materials not being shared.
In order to achieve this I linked the objects’ meshes via Link Data
. I also linked the materials to objects instead of linking them to data.
When I export to gltf it seems like according primitives are still pointing to different accessors. I would have expected them to share buffer data.
{
"name" : "pawn_1.002",
"primitives" : [
{
"attributes" : {
"NORMAL" : 6,
"POSITION" : 4,
"TEXCOORD_0" : 5
},
"indices" : 7,
"material" : 1
}
]
},
{
"name" : "pawn_1.002",
"primitives" : [
{
"attributes" : {
"NORMAL" : 10,
"POSITION" : 8,
"TEXCOORD_0" : 9
},
"indices" : 11,
"material" : 0
}
]
}
The according accessors (NORMAL
in this case) are also pointing to different bufferView
elements:
{
"bufferView" : 7,
"componentType" : 5126,
"count" : 5504,
"type" : "VEC3"
},
{
"bufferView" : 12,
"componentType" : 5126,
"count" : 5504,
"type" : "VEC3"
}
How can I make primitives in exported gltf files share buffer information? According to Blender’s Add-On screen I am using Import-Export: glTF 2.0 format, 0.0.1
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
Fix broken links to data - Microsoft Support
The following procedure will not fix broken hyperlinks. To learn more about hyperlinks, see Create or edit a hyperlink. Fix a broken link....
Read more >Export and share reports - Analytics Help - Google Support
Export a report To export a report: Open the report you'd like to export. Analytics exports the report as it is currently displayed...
Read more >Share your data in Health on iPhone - Apple Support
You can export all of your health and fitness data from Health in XML format, which is a common format for sharing data...
Read more >Data Linking in Lucidchart
You can import data sets from Google Sheets, Excel spreadsheets, and CSVs into Lucidchart and use them to create powerful, data-driven visualizations.
Read more >Introduction to export a map or layout—ArcGIS Pro
After you've created a map or layout, you can export it as one of several file formats to share with others.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s leave this open as a feature request rather than a bug. I agree that reusing accessor data would be a good solution.
We could re-use accessors though. That would be preferable to duplicated mesh data.