## Maya Training

Introduction to Hard Surface Modeling

## Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

## Maya Training

Shading, Lighting and Rendering the Bedroom in MR

## Maya Training

Robot volume one - Modeling with animation in mind

## Maya Training

Spach-Alspaugh House the complete courseware

## Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

## New Maya Training

Batman by Jason Edwards
You are here > Home > SimplyMaya Community Forums

# Welcome to Simply Maya

 Simply Maya User Community - Maya Tutorials Image sequence speed?
 Register FAQ Members List Calendar Mark Forums Read

 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 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.
 05-06-2010, 06:02 PM #2 NextDesign Technical Director     Join Date: Feb 2004 Posts: 2,982 Thanks: 33 Thanked 532 Times in 471 Posts 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.
 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 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.
 09-06-2010, 05:03 AM #4 NextDesign Technical Director     Join Date: Feb 2004 Posts: 2,982 Thanks: 33 Thanked 532 Times in 471 Posts I'm not sure what the problem is. It plays back just fine on my machine. __________________ Imagination is more important than knowledge.
 09-06-2010, 06:54 AM #5 gster123 Moderator     Join Date: May 2005 Location: Manchester Uk Posts: 6,300 Thanks: 1 Thanked 51 Times in 45 Posts 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
 11-06-2010, 12:37 AM #6 NextDesign Technical Director     Join Date: Feb 2004 Posts: 2,982 Thanks: 33 Thanked 532 Times in 471 Posts 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.
 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 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
 21-06-2010, 07:07 PM #8 NextDesign Technical Director     Join Date: Feb 2004 Posts: 2,982 Thanks: 33 Thanked 532 Times in 471 Posts Plays back just fine on my machine. What are your machine's specs? __________________ Imagination is more important than knowledge.
 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 AMD athlon 64 x2 dual Core Processor 2.01 Ghz 2gb ram 64bit OS NVIDIA G3Force 7900 GTX
 25-06-2010, 07:03 PM #10 NextDesign Technical Director     Join Date: Feb 2004 Posts: 2,982 Thanks: 33 Thanked 532 Times in 471 Posts Hmmm... Oh. Make sure that your playback speed is set to "Play every frame" __________________ Imagination is more important than knowledge.
 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 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.
 29-06-2010, 01:16 AM #12 NextDesign Technical Director     Join Date: Feb 2004 Posts: 2,982 Thanks: 33 Thanked 532 Times in 471 Posts 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.

 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

A little bit about who we are