aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 201 forks source link

"Export to GLTF" buttons not working #577

Closed thedart76 closed 1 year ago

thedart76 commented 5 years ago

Version: A-Frame Inspector 0.8.19

I cannot export the scene by clicking directly on the dedicated buttons (Export to glTF) the same way I could in v0.7.

Error in Chrome Console: inspector-export-gltf-chrome

Error in Firefox Console: inspector-export-gltf-firefox

I can only export to glb the camera and the lights once I select them in the left panel.

I created 2 boxes in the below scene as an example (one is a primitive, one is an entity with ECS syntax), but even if I select them I still can export neither of them.

Example: https://torpid-squid.glitch.me/

And even if exporting single entities would be possible, it wouldn't be so useful.

Ideally, it should be possible to export the whole scene when clicking on the "Export to glTF" buttons like in version 0.7.

kfarr commented 5 years ago

Possibly related https://github.com/fernandojsg/aframe-gltf-exporter-component/issues/5

karx commented 4 years ago

I am also facing this issue when attempting to export the entity I construct using aframe-svg-extruder.

The version Aframe, v0.8.0 A-frame inspector v0.8.19

Link to source: https://github.com/karx/karx.github.io/tree/master/kaaro/3d-extrude You can try exporting the object here to see the issue: Link to repro

rzr commented 3 years ago

Then what is the recommended version for exporter ?

kfarr commented 3 years ago

To reproduce success case:

joshi22amit commented 3 years ago
  • Export to gltf from inspector works with A-Frame Version: 1.1.0 (Date 2020-12-03, Commit #8aefd214)
  • I would vote to close this issue

To reproduce success case:

Thanks a lot buddy...I could export gltf with Version 1.1.0 :)

kfarr commented 1 year ago

@dmarcos this can be closed, fixed

dmarcos commented 1 year ago

Thanks!