Playing an image sequence

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Playing an image sequence

Postby tachzusamm » Mon Apr 26, 2010 3:45 am

Is it possible to "play" an image sequence on a texture plane? (I've seen those flames, or burning fire in Jonnee's age - I assume he did this with images sequences on sprites, or maybe video sequences)
So if yes, how can this be done?

I have already tried to play with image maps (e.g. a 8x8 map) and to do the sequences with IPO curves and the offsets, say 1 image = 1 keyframe, but this does not come out well in URU, not as expected;
then I tried to setup playing the image map with the Real-time properties in UV Image editor (tiles and anim stuff); it played well in the Blender game engine, but does not export to URU. Or I may have missed some steps, no idea.

Any hints in the right direction would be great.
User avatar
tachzusamm
 
Posts: 575
Joined: Thu May 29, 2008 2:03 am
Location: Germany

Re: Playing an image sequence

Postby diafero » Tue Apr 27, 2010 11:06 am

It is possible to use a bik file as layer, but I doubt Jonnee did that for his fire. It is only used for animated linking panels.
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: Playing an image sequence

Postby Trylon » Tue Apr 27, 2010 1:06 pm

It might be possible by using a long texture, with a number of different sub-images of the sequence in it, and use layer animations to shift the image to the next sub-image in the sequence.
Needless to say that the texture has to be mapped to allow only one sub-image at a time
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: Playing an image sequence

Postby Lontahv » Tue Apr 27, 2010 4:23 pm

I would use a bink layer for something like fire. I've used it before and it works excellently. You can't currently add this in PyPRP but you can with libPlasma. If you know something about PRC this is fairly easy.

This is a link to a tutorial on it that I never quite finished. http://www.guildofwriters.com/wiki/Bink_Movie_Layers

Unfortunately PageEditor no longer exists. You'll have to use prcd and then prcc to change the plKey references. After creating new objects (po/uof's) and new versions of pre-exiting objects, you'll need to import them in with something like PlasmaShop or PrpExplorer.
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Playing an image sequence

Postby tachzusamm » Tue Apr 27, 2010 4:54 pm

Yeah, after some searching for BINK I found this old thread: viewtopic.php?p=27452#p27452

Lontahv wrote:If you know something about PRC this is fairly easy.

Umm - seems I still have to learn a lot. :D

Lontahv wrote:Unfortunately PageEditor no longer exists.

Yes - already searched for it without success.

Lontahv wrote:You'll have to use prcd and then prcc to change the plKey references. After creating new objects (po/uof's) and new versions of pre-exiting objects, you'll need to import them in with something like PlasmaShop or PrpExplorer.

PlasmaShop or PrpExplorer, okay, I already used them. But give me a hint: What do you mean with prcd, prcc and uof's ?
User avatar
tachzusamm
 
Posts: 575
Joined: Thu May 29, 2008 2:03 am
Location: Germany

Re: Playing an image sequence

Postby Aloys » Tue Apr 27, 2010 4:55 pm

Is it possible to change the blending mode of the material? For instance to have an additive blending more for a fire movie.
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Playing an image sequence

Postby tachzusamm » Tue Apr 27, 2010 5:24 pm

Trylon wrote:It might be possible by using a long texture, with a number of different sub-images of the sequence in it, and use layer animations to shift the image to the next sub-image in the sequence.
Needless to say that the texture has to be mapped to allow only one sub-image at a time

Hmm, ya, I tried that; but maybe it did not work because I tried to animate it too fast. Frames were lost or not played in the correct sequence.
I will give it a try again with a much lower framerate later.

Aloys wrote:Is it possible to change the blending mode of the material? For instance to have an additive blending more for a fire movie.

Blending mode? Not sure what you mean, but if you're talking about the Alpha thing, yes, this can be done with a layer animation for Material IPO, Alpha curve.
User avatar
tachzusamm
 
Posts: 575
Joined: Thu May 29, 2008 2:03 am
Location: Germany

Re: Playing an image sequence

Postby Lontahv » Tue Apr 27, 2010 10:50 pm

tachzusamm wrote:PlasmaShop or PrpExplorer, okay, I already used them. But give me a hint: What do you mean with prcd, prcc and uof's ?


Prcc is a command line tool that comes with the libPlasma tools zip. The "c" at the end stands for "compile". This will make prc XML (the stuff you can view in the alpha version of PlasmaShop 3.0) into a Uru Object File (uof) also known as Plasma Object (po) file. This object can be imported into your prp by write clicking on the page and selecting "import" in PlasmaShop. Prcd decompiles prps and uofs/po's. This can make the objects you export from PlasmaShop into prc XML.

Usually editing/adding stuff to a prp works something like this:
#1. export a certain Uru object from your prp
#2. use prcd to make it into xml
#3. edit the xml
#4. use prcc to make the xml back into an Uru object
#5. import the Uru object back into your prp after deleting old copy that's still inside the prp
#6. update the sum
If you want to put a completely new object in, start at step 3.
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Playing an image sequence

Postby Paradox » Tue Apr 27, 2010 10:56 pm

Aloys wrote:Is it possible to change the blending mode of the material? For instance to have an additive blending more for a fire movie.


I think a Bink layer has all the regular layer flags... you're opening a scary can of worms where we could have movies acting as lightmaps with multiplied alpha :shock:
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

Re: Playing an image sequence

Postby Lontahv » Tue Apr 27, 2010 11:22 pm

Paradox wrote:
Aloys wrote:Is it possible to change the blending mode of the material? For instance to have an additive blending more for a fire movie.


I think a Bink layer has all the regular layer flags... you're opening a scary can of worms where we could have movies acting as lightmaps with multiplied alpha :shock:


Disco!
;)
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 8 guests

cron