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

instances from geometry nodes are not exported #1537

Closed
lictex opened this issue Jan 16, 2022 · 8 comments
Closed

instances from geometry nodes are not exported #1537

lictex opened this issue Jan 16, 2022 · 8 comments
Labels
Blender exporter This involves or affects the export process

Comments

@lictex
Copy link

lictex commented Jan 16, 2022

Describe the bug

  • as title

To Reproduce

  1. create an empty scene and make some instances with gn
  2. export the scene to gltf with Apply Modifiers
  3. got an empty gltf file

Expected behavior

  • all instances are exported

Screenshots
スクリーンショット 2022-01-16 205019

.blend file/ .gltf
If applicable, a zipped folder containing a .blend file for exporter issues and a .gltf file for importer issues. Please take care to include all resources, such as textures in the .zip file.

Version

  • OS: windows
  • Blender Version: 3.0.0

Additional context

  • seems that none of the exporters in blender can handle this well... link
@julienduroure
Copy link
Collaborator

I confirm that current API can't evaluate depsgraph for GN.
Settings "Blender label", until this is solved in Blender

@julienduroure julienduroure added Blender exporter This involves or affects the export process labels Jan 16, 2022
@julienduroure
Copy link
Collaborator

I created this task on blender tracker:
https://developer.blender.org/T94953

@scurest
Copy link
Contributor

scurest commented Jan 16, 2022

You probably know this already, but I'll point out that a Realize Instances node will turn instances into regular geometry that gets exported correctly (though inefficiently) in any exporter.

@julienduroure
Copy link
Collaborator

@scurest
Yes, sure. But I hope that current work on geometry node (core blender), made it possible without this node.
But thanks, this is always great to say it again. Maybe this is something @xyning didn't know

@lictex
Copy link
Author

lictex commented Jan 16, 2022

yes that should work.. but actually not. another blender bug makes the Realize Instances node removing all UVs, which is unacceptable for exporting
currently the only(?) way to export them is to manually breakdown instances into thousands of objects by the Make Instances Real operator, then join them.. weird and laggy workflow
this is not really related to the exporter tho, thanks anyway

@takahirox
Copy link

FYI: I'm writing an addon that allows to export instanced geometries created with geometry nodes as glTF + EXT_mesh_gpu_instancing extension https://github.com/takahirox/glTF-Blender-IO-EXT-mesh-gpu-instancing It started to work.

@feuerste
Copy link

feuerste commented Jul 15, 2023

Looking forward to having #1786 landed, which will address the issue here.

@julienduroure
Copy link
Collaborator

Closing this ticket, as we can now export GN Instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blender exporter This involves or affects the export process
Projects
None yet
Development

No branches or pull requests

5 participants