PDA

View Full Version : offset image sequence per object


akewt
09-15-2005, 08:31 AM
hello you good people. i'm creating a waterfall effect and the basis of it is a set of duplicaterd waterefall poly shapes that drop off the edge of a cliff. they have an animated texture that flows down the geometry which is used to drive most of my shader ie disp spec and trans etc. at the moment they all start on the same frame which inevitable makes repetition.

what i would like to achieve, rather than having multiple image sequences, is to offset each of these objects 'start frame' so they all have a different look when rendered. i'm sure this is probably an easy expression or something but if you dont know its not that easy!!

cheerse for any help!

Kev

Mikademius
09-15-2005, 08:59 AM
There is an option in the image- and the movie-node that's called "frame offset" Just below
"image number". Have you tried these settings?

akewt
09-15-2005, 09:50 AM
hi thanks for your reply. i have seen this attribute but havent tried it. i automatically thought it would only work on a shader level not on an object level. would this give every polyShape the shader is attached to a different frame offset?

kev

Mikademius
09-15-2005, 10:48 AM
Err. Shading is not my strong side, but let's give it a try. It will probably not give the shapes different offset if you aply the same shader.
Create two shaders. You just leave the settings on default for shader1 and for shader2 you set the offset to 25 or simular. Apply the two different shaders to two different planes and see if it works. Can't open Maya and try it myself at the moment so I'm talking theory :lightbulb :)

Maybe this could be fixed by using a double- or trippleswitch on a single shader?

akewt
09-15-2005, 11:13 AM
hi Mikademius, yeah using a few duplicate shaders with different offsets would be exactly the ticket. my main aim is not to use more than 1 animated texture so this solution is fine as i can plug the smae texture in to each shader and just use the noraml offset. i'll give it go, but unfortunatley i can't post the result ;)

thanks for your help.

Mikademius
09-15-2005, 11:35 AM
At least tell me if it worked.

akewt
09-15-2005, 12:19 PM
HA! of course i will

akewt
09-15-2005, 03:42 PM
well i'm on this now and was tring to use duped shaders but of course that dosent give you extra offset attributes. so i had to just duplicate the file node and have 4 of them. sure there would be a way with a custom attribute and expression but don't have the time now.

cheers dude

CGTalk Moderation
09-15-2005, 03:42 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.