Sparkle

09-29-2006, 10:56 AM

Hi everyone,

I'm having a problem in expresso right now, that is a real bummer. Right now I'm in a situation where I have to time multiple animated Textures and I quickly wanted to setup an xpresso node to take care of the in and out points.

The mathematical opreations involved in this are rather simple for I only need a beginning, an end, an offset and an index for the texture in order to calculate the times needed.

The tricky part is to actually do this in xpresso. I decided to skip all the wiering and just crate a coffee node to do all the calculations. It seems however that simple adds and multiplys dont work with time values and I constantly got weird numbers (or errors) that I coldn't figure out at all. The only thing I understood, is that times are not handled as numbers but as some type of more complex object, that obviously needs more complicated ways to be manipulated.

Is there a way to calculate the frame numers and feed them directly back into the texture? In my opinion it has to involve some kind of frame to integer conversion and then the other way round.

Would be great if somebody could help me out here.

Greets,

Sparkle

I'm having a problem in expresso right now, that is a real bummer. Right now I'm in a situation where I have to time multiple animated Textures and I quickly wanted to setup an xpresso node to take care of the in and out points.

The mathematical opreations involved in this are rather simple for I only need a beginning, an end, an offset and an index for the texture in order to calculate the times needed.

The tricky part is to actually do this in xpresso. I decided to skip all the wiering and just crate a coffee node to do all the calculations. It seems however that simple adds and multiplys dont work with time values and I constantly got weird numbers (or errors) that I coldn't figure out at all. The only thing I understood, is that times are not handled as numbers but as some type of more complex object, that obviously needs more complicated ways to be manipulated.

Is there a way to calculate the frame numers and feed them directly back into the texture? In my opinion it has to involve some kind of frame to integer conversion and then the other way round.

Would be great if somebody could help me out here.

Greets,

Sparkle