dangerweenie
Hi guys!

This is my first post, but I've been following the forum for some time now, very impressed with all the participation.

I'm posting in regards to an effect that I've seen in some of the example files (the one where one character punches another in the chest, and creates "bruises" on the target mesh)

Right now, I need to create a similar effect.  I have an object that is surfacing out of a body of water in maya.  The object is just a simple alembic cache, and the water is a polygon plane with ocean displacement applied.  

I have a nice foam map that I want to use (pretty much just a few procedural noise shaders layered on top of each other), but the part I can't seem to grasp is how to create a "field" around the object, where it intersects with the water.  If I had that, I could use it as a mask to render the foam texture, and I'd be all set.

I feel like the answer is right under my nose in that example file, but I've spent some time investigating it and I can't quite seem to figure it out.

Thanks very much for your advice, and thank you Peter for an absolutely fantastic set of free tools!

Best,

Matt
Reply 0 0
pshipkov

Welcome and thank you for the kind words.

- Take the example scene arrayDataContainer_1.ma.
- Connect ourWaterMeshShape.worldMesh to pPlane1.inMesh.
- Animate the boundingObject or place it where your alembic cache is. You can add more bounding objects to closely mimic the shape of your alembic cached geo. Or you can use that alembic cached geo as bounding object (check some of the attributeTransfer example scenes to see how to use arbitrary geo as bounding objects).
- Use the vertexColorsToTexture tool under the "wrench" shelf button. Alternatively you can procedurally pipe the vertex colors to your shader, but for starter bake them to image sequence and use that to mask your "ocean foam" noise textures.

Let me know if something is unclear.

Reply 0 0
dangerweenie
Peter,

Thanks for the super-quick reply - no idea how you manage how to stay on top of everything!

I'll take a look at the scene now and let you know how it works out.

Best,

Matt

pshipkov wrote:

Welcome and thank you for the kind words.

- Take the example scene arrayDataContainer_1.ma.
- Connect ourWaterMeshShape.worldMesh to pPlane1.inMesh.
- Animate the boundingObject or place it where your alembic cache is. You can add more bounding objects to closely mimic the shape of your alembic cached geo. Or you can use that alembic cached geo as bounding object (check some of the attributeTransfer example scenes to see how to use arbitrary geo as bounding objects).
- Use the vertexColorsToTexture tool under the "wrench" shelf button. Alternatively you can procedurally pipe the vertex colors to your shader, but for starter bake them to image sequence and use that to mask your "ocean foam" noise textures.

Let me know if something is unclear.

Reply 0 0
sheffdog
Hi Matt,

Please check out this video example that uses a toon outline to get a surface intersection, perhaps it will help, even though it generates pfx and not a map!



Reply 0 0
Reply