Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

it is possible to export an a-frame project to a 360 ° image

I wanted to know if it is possible to export a project made in a-frame to a jpg / png image with the correct metadata to show them in flicker or facebook.

like image 505
dcyar Avatar asked Jan 29 '26 12:01

dcyar


2 Answers

You can make a 360° (equirectangular) screenshot by simply pressing:
<ctrl> + <alt> + <shift> + s

A-frame's simple scene: enter image description here

like image 64
Piotr Adam Milewski Avatar answered Jan 31 '26 03:01

Piotr Adam Milewski


You have to use three.js api for that - create a cubemap camera, capture a frame from it and then you can convert a cubemap to equirectangular. One of projects that does just this is https://github.com/imgntn/j360

like image 26
Krzysztof Bociurko Avatar answered Jan 31 '26 03:01

Krzysztof Bociurko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!