8
$\begingroup$

Once you see the image of the problem I'm having, it makes it much more sense what my problem is.

My problem

How do I make it so the ocean doesn't render outside of the cup object? You can see it towards the bottom left of the image

$\endgroup$
2
  • $\begingroup$ Why don't you just delete it? $\endgroup$
    – ruckus
    Dec 8, 2014 at 21:50
  • $\begingroup$ @VinceScalia What if the ocean is animated? $\endgroup$
    – gandalf3
    Dec 8, 2014 at 22:05

2 Answers 2

12
$\begingroup$

Try using a boolean modifier:

  1. Create a cylinder the same size of the inside of your cup:

    enter image description here

  2. Add a boolean modifier and an edge-split modifier to the ocean object, with the cylinder object set as the target:

    enter image description here

Make sure the cylinder is set to be hidden in the render, so it doesn't get in the way:

enter image description here

$\endgroup$
9
  • 1
    $\begingroup$ @RolandiXor Not too sure what you mean.. But it does sound like an interesting question ;) $\endgroup$
    – gandalf3
    Dec 8, 2014 at 22:32
  • 1
    $\begingroup$ Could be a problem with the normals. Is it possible you could upload your .blend for closer inspection? I don't think dynamic paint or the render engine would interfere.. $\endgroup$
    – gandalf3
    Dec 9, 2014 at 0:35
  • 1
    $\begingroup$ It's here. If there is a lot of stuff wrong, that is probably because I am new to blender. $\endgroup$ Dec 9, 2014 at 1:16
  • 1
    $\begingroup$ It looks like it's working here.. The cylinder is obscuring the ocean, but that can be fixed by hiding it with H. To hide it in the render you'll have to click the camera icon in the outlinder. (See the last screenshot in the answer) $\endgroup$
    – gandalf3
    Dec 9, 2014 at 2:04
  • 1
    $\begingroup$ Hrmmmm... I opened it up again, and the problem was resolved. Huh. Thanks for the help!!! $\endgroup$ Dec 9, 2014 at 2:25
0
$\begingroup$

I would create a circular mask texture, and apply it to the alpha of the ocean object. That should allow you to still animate it.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .