SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Image sequence speed?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 02-06-2010, 04:48 AM   #1
pixel_poison
Registered User
 
Join Date: Oct 2008
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default Image sequence speed?

Hey all, basically ive got a simple image sequence with an repeating loop (using expressions)

file3.frameExtension += 1;
if (file3.frameExtension > 9)
file3.frameExtension =1;

I wanted to know how do i go about changing the speed of the loop? i found online an expression, but it doesnt quiet work.

file3.frameExtension= floor ((frame - 1) / 3) + 1;
if (file3.frameExtension > 9)
file3.frameExtension =1;

With this expression, it does slow down the loop but it just stops.

Any help would be great

Thanks.

Last edited by pixel_poison : 02-06-2010 at 05:26 AM.
pixel_poison is offline   Reply With Quote
Old 05-06-2010, 06:02 PM   #2
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

You can use a modulo operator to do this.

For example:

Code:
int $speed = 4;

if ((frame % $speed) == 0)
    file3.frameExtension++;

if (file3.frameExtension > 9)
    file3.frameExtension =1;
Hope this helps you out.

Edit: Just to explain. The higher the speed variable is, the slower it will be. For this, it will take 4 frames to increment once.
__________________
Imagination is more important than knowledge.

Last edited by NextDesign : 08-06-2010 at 01:26 AM.
NextDesign is offline   Reply With Quote
Old 08-06-2010, 02:40 AM   #3
pixel_poison
Registered User
 
Join Date: Oct 2008
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default

no dice, i can scroll through the time slider *which animates but play it or play through playblast the image stands still.

im using maya 2008.
pixel_poison is offline   Reply With Quote
Old 09-06-2010, 05:03 AM   #4
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

I'm not sure what the problem is. It plays back just fine on my machine.
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
Old 09-06-2010, 06:54 AM   #5
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

It could be the file numbering of the images. Check to see if they are compatable with Maya.

Thers is a thread on this in the members loungs (think the title has image sequence in it)
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 11-06-2010, 12:37 AM   #6
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

I don't know... It may be that the images are just too big for Maya to cache into memory at once. What are the resolutions of the images? I assume that your images are in the "name.####.ext" format.
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
Old 21-06-2010, 02:01 AM   #7
pixel_poison
Registered User
 
Join Date: Oct 2008
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default

Im pretty sure its not the file size (pretty low res), ive attached the images.check it out. It could be a naming problem. Im all out of ideas

















pixel_poison is offline   Reply With Quote
Old 21-06-2010, 07:07 PM   #8
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

Plays back just fine on my machine. What are your machine's specs?
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
Old 22-06-2010, 12:00 PM   #9
pixel_poison
Registered User
 
Join Date: Oct 2008
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default

AMD athlon 64 x2 dual Core Processor 2.01 Ghz
2gb ram
64bit OS
NVIDIA G3Force 7900 GTX
pixel_poison is offline   Reply With Quote
Old 25-06-2010, 07:03 PM   #10
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

Hmmm... Oh. Make sure that your playback speed is set to "Play every frame"
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
Old 26-06-2010, 04:09 AM   #11
pixel_poison
Registered User
 
Join Date: Oct 2008
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default

yep, play every frame selected. still no dice
could it be the amount of time on the animation?
the animation stops @ frame 27. so.....

file3.frameExtension= floor ((frame - 1) / 3) + 1;
if (file3.frameExtension > 9)
file3.frameExtension =1;

im guessing this expression is like make each image go for 3 frames.

3 frames x 9 images = 27 total frames.

I just want it to loop after 27 frames.
pixel_poison is offline   Reply With Quote
Old 29-06-2010, 01:16 AM   #12
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

No that isn't a problem. Also, my expression is faster to evaluate, as it doesn't do as much math as the floored one.

I think it has to do with your computer. Try making a plane in a new scene, and see if it plays back then. Otherwise, I think you're a bit sol here mate.
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakfast - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 4 19-04-2011 06:37 PM
Stratocaster - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 2 31-12-2010 09:30 AM
Fan - Original SM Gallery Image by Dreamtalks David Simply Maya Gallery 4 22-12-2010 04:46 AM
Rhinoman - Original SM Gallery Image by Septopus David Simply Maya Gallery 0 09-12-2010 01:42 PM
Physical Fitness Center Lounge - Original SM Gallery Image by Philip Miss_Nova Simply Maya Gallery 0 05-12-2010 11:32 AM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.