A-frame with lottie json - aframe

i'm exploring with AR environment and would like to animate my animation in lottie json instead of gltf, is it possible to map a lottie json to an a-frame environment? I saw someone did it successfully in three.js, but i couldn't seem to get the json to load.

Related

Pico4 device`s browser don´t show any controller on VR mode

When you try to enjoy an aframe experience on the Pico4`s web browser the controllers don´t appear.
¿is there any aframe component to manage them?
I am using the laser-controls on the aframe experience but doesn´t show any component to interact with.

Aframe, is aframe-extras navmesh still the way to go?

I'm trying to make an Aframe scene using a landscape that the user can navigate, but I have had a lot of issues with the aframe-extras nav mesh. Even downloading the aframe-extras repo and installing, building the bundle and then trying to run http://localhost:8000/examples/castle I get the same error as in my scene.
Uncaught TypeError: this.zones[t] is undefined
getClosestNode bundle.js:8722
getNode bundle.js:57166
tick bundle.js:55425
Aframe 57
I've looked into other posts like Uncaught TypeError using A-Frame 1.0.4 + A-Frame Extras nav-mesh and movement-controls, but their error is different than mine.
Before I go on the journey to solve this issue, can anyone weigh in on whether I'd just be better off using a different program/approach to constrain my camera to a 3D surface that is a landscape model?
If it is just a landscape you are better of using physics-systems like Ammo.js
ref:
https://github.com/n5ro/aframe-physics-system/blob/master/AmmoDriver.md
https://www.youtube.com/watch?v=SKYfYd3pk4I
For your use case as for the landscape is concerned, you can try adding ammo-body property of kinematic to the third-person camera while the landscape and 3D models have property of static.
Try finding more about physics-system there are lot of tutorials and documentation available.

How to make glTF and primitive materials work in A-Frame

We've created a simple ruby-coloured cube in Blender 2.8 beta to test glTF material exports.
When looking at it in Don Mccurdy's glTF viewer it looks fine:
It also looks fine in Windows 10's explorer preview pane.
However, when loading in aframe 0.8.2 it appears black.
To test there wasn't a problem with our scene, we created a primitive cube with a similar material in aframe. This also appears black, until we open the aframe inspector, after which it looks like this:
Here's the github repo: https://github.com/edsilv/aframe-pbr-test/blob/master/index.html
Any thoughts on how to make primitive and glTF object materials appear correctly in aframe are most welcome!

Sending animated GIFs with sendPhoto (Telegram bot)

I'm trying to send an animated GIF with sendPhoto (Telegram's Bot API) with this request:
https://api.telegram.org/bot<token>/sendPhoto?chat_id=<chat_id>&photo=http://i.giphy.com/13IC4LVeP5NGNi.gif
That method works, as in, I get ok:true back, but the image in the chat window is a still snapshot of the moving GIF.
How can I get the animated GIF to show? Is there another method I should use?
You should use the sendAnimation method for sending a GIF or H.264/MPEG-4 AVC video without sound. Just use the animation parameter for your GIF file.
sendPhoto is only used for static images.
use sendVideo method!
https://api.telegram.org/bot<token>/sendVideo?chat_id=<chat_id>&video=http://i.giphy.com/13IC4LVeP5NGNi.gif
this will work

What's the best way to display a small embedded animated image with Flex?

I need to display a small (15x15 pixel) animation in a Flex app. I have it FLV format, but it could be converted to somthing else. I'd prefer to have the file embedded in the app (it's only 8k in size). I've seen posts about displaying animated GIFs using third-party code which would be OK, but is there a way to do this with the native Flex libs. I also realize that FLVs can be displayed in Video objects but only if they are external files.
It is a lot easier converting it into a SWF and displaying it in an Image control. SWFTools can convert animated GIF into SWF file, small enough to be embedded in your app.
Or alternatively you could convert it into a good old animated GIF file and use this package to embed and play it back:
http://www.bytearray.org/?p=95
I guess you have a blank frame in SWF either in the beginning or the end.

Resources