Author Topic: 2d animations on Android  (Read 412 times)

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
2d animations on Android
« on: January 05, 2017, 05:30:41 pm »
Hi, is there anyway to load a 2d animation gif, video o whatever in a moving Texture?? I have read other questions but I am not clear about this........
Nada por ahora

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: 2d animations on Android
« Reply #1 on: January 05, 2017, 05:54:44 pm »
You can render videos into an external texture. See this thread: http://www.jpct.net/forum2/index.php/topic,3788.msg27175.html

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
Re: 2d animations on Android
« Reply #2 on: January 05, 2017, 07:47:34 pm »
nice Thanks
Nada por ahora

Offline Melssj5

  • double
  • *****
  • Posts: 715
    • View Profile
Re: 2d animations on Android
« Reply #3 on: January 07, 2017, 06:14:28 pm »
Egon... I have been reading about this SurfaceTexture and loading them from the media player, before using time on it, the question is: will this SurfaceTextures be able to  be loaded as animated Textures...

What I am trying to do is not streaming or show cinematics on background. I am tring to load a gif or video as a Object3D texture.
Nada por ahora

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: 2d animations on Android
« Reply #4 on: January 07, 2017, 11:16:22 pm »
They should somehow...I guess, it's all about what you stream (not in the meaning of downloading while playing) into it. However, I can't really tell. I've never used this myself. I only looked at raft's demo for this and made some changes to the engine to make it work better, but that's about it.