36
$\begingroup$

Is there a way animate the ocean modifier so it loops continuously?

I would like to make an animation where the last frame seamlessly goes into the first without the ocean "jumping":

enter image description here

How can I achieve this?

$\endgroup$
3
  • 1
    $\begingroup$ Could you please describe a little more what you tried and how the result doesn't match your expectations`? $\endgroup$
    – stacker
    Sep 12, 2013 at 20:23
  • $\begingroup$ @stacker How is it now? $\endgroup$
    – gandalf3
    Sep 12, 2013 at 20:58
  • 1
    $\begingroup$ That's strange, but a decent question! $\endgroup$
    – stacker
    Sep 12, 2013 at 21:52

1 Answer 1

39
$\begingroup$

From Haunt's trick bag:

OCEAN LOOP

  Instead of using one Ocean Modifier, use two identical ones. The following values are the ones used in this example.

Key Frames on frame 1 and frame 21. Since these frames will be identical, the loop will only include frames 1 to 20.

First Ocean Modifier:

  • Animate the time from 15 to 20
  • Animate the scale from 0.0 to 3.0

Second Ocean Modifier:

  • Animate the time from 20 to 25
  • Animate the scale from 3.0 to 0.0

  Since both Modifiers are identical, one starts exactly with the shape the other one ends with. And the scale is used to blend between them.

  • Set the interpolation in the F-graph Editor to Linear (T) to get a constant motion.

  • The Geometry of the second modifier must be set to Displace, to avoid overwriting the first.

enter image description here

$\endgroup$
8
  • 1
    $\begingroup$ Wow, great answer :) BTW, how did you displace only the top of your object in your example animation? $\endgroup$
    – gandalf3
    Sep 12, 2013 at 23:14
  • 2
    $\begingroup$ Ask the question, I'll provide the answer (: $\endgroup$ Sep 12, 2013 at 23:22
  • $\begingroup$ done! :) $\endgroup$
    – gandalf3
    Sep 12, 2013 at 23:51
  • 1
    $\begingroup$ @William You should be able to mix the outputted images with an image editor or the compositor. You might also consider asking this as a new question if you need can't figure it out. $\endgroup$
    – gandalf3
    Dec 16, 2013 at 2:04
  • 2
    $\begingroup$ Haven't got 50 Rep here so I cannot comment (properly). The baking issue of William is probably because in both modifiers, the same Cache path is provided. Use different paths for bakes. cheers. $\endgroup$
    – Florian
    Jun 4, 2015 at 20:14

Not the answer you're looking for? Browse other questions tagged or ask your own question.