Jump to content

[SOLVED] Animated textures help!


photo

Recommended Posts

Posted

Hi

 

I am creating a environment where I have a large crowd. I have rendered the crowd into a tga image sequence

There are two many frames to split this up onto and atlas page

 

Does Unigine support playback of image sequences? If so how do I go about it

 

If not, what suggestions are there to get this kind of effect?

 

Many thanks

 

Regards

T

Posted

Hello there, Terry!

 

Long time no see! How's the things are going in Veros Digital?

 

We don't have built-in support for image sequence playback, so you have to merge all the images into one long image and then just animate texture coordinates in the widget.

Posted

Hi

 

Im good thanks and things are going well, apologies but I dont recognise the picture and name "unclebob" :) have we worked together?

 

Thanks for the reply, ok that doesnt sound like a feasable option, for the example the width of the image is 512, and has 40 frames so the texture would be huge.

 

Is video support with alpha an option? if so how would I go about doing this

 

Thanks for your time

Regards

Posted

Terry,

 

I helped your colleague Angus, he's working at Veros too or at least he worked there when I was helping him.

 

Unfortunately, we don't have alpha support for video, so in your case I recommend you to render all the crowd with the background to one video and use bunch of WidgetSprite for any static foreground images. I'll be able to suggest more if you tell me details about your project.

  • 2 months later...
Posted

Terry,

 

I helped your colleague Angus, he's working at Veros too or at least he worked there when I was helping him.

 

Unfortunately, we don't have alpha support for video, so in your case I recommend you to render all the crowd with the background to one video and use bunch of WidgetSprite for any static foreground images. I'll be able to suggest more if you tell me details about your project.

can i use WidgetSprite  to render a video? i want to decode video and put every frame to a WidgetSprite . can this be implemented?

many thanks!

Posted

Hi Wenxin,

 

WidgetSprite was created in order to load single or layered image once and render it in an optimal way. Why don't you want to use WidgetSpriteVideo and pass your video file to that widget?

×
×
  • Create New...