facebookarchive / react-360

Create amazing 360 and VR content using React
https://facebook.github.io/react-360
Other
8.73k stars 1.23k forks source link

Support for animate sprites ? #97

Closed ghost closed 7 years ago

ghost commented 7 years ago

Any way we can animate sprites ? I notice since px aren't being taken by images I can't exactly animate via CSS, I then tried to just render each image in a loop but the render function takes too long and causes the image to flicker instead

mikearmstrong001 commented 7 years ago

I hope you don't mind @TravisWu I alter the title and moved it into the content.

I understand what you are trying to do and it will be something we will look at after we are happy with core support

ghost commented 7 years ago

@mikearmstrong001 not at all! Thank you for the prompt response, wondering if ReactVR supports Gifs too, I can use that to circumvent my current problem as well

andrewimm commented 7 years ago

Just landed custom textures. If you can animate a canvas in the runtime, you can attach it to any or Mesh

ghost commented 7 years ago

Awesome! Thank you, this is great :)

andrewimm commented 7 years ago

Shipped in 1.2.0