chovasie
Hi everyone!
I dont have much experience with SOUP and im struggling to learn basics at the moment. I hope there is some of you who can help me with this.
Right now i'm working with "smooth" operator and it does what i need. But is there a way to make vertex group like in houdini so i can do "smooth" just on one part of my mesh?
Also is there possible to mix deformers?

Lets say i need to have skinCluster, smooth and ray projection on single object, but i need to paint influence, or select vertices where i need it?.

This is pretty easy to do in Houdini with group sops, paint and Cd attribute.
Examples for soup look great and im impressed what maya can do. But i just cant make nothing work atm! :)

Just point me in right direction if you know how to do it.

Thanx!

Chovasie
pshipkov

Hi there,

if you don't plan to change the "group" of points interactively then you don't need SOuP.
Just select the smooth node and use the "edit deformer membership" - select/unselect the points the way you want them.

What you you mean with "mix" deformers. If you are familiar with Houdini - go with its semantics, i can fallow ;)
Maya's DG works in a very similar way under the hood compared to Houdini.
You can apply multiple deformer or other topology modifiers to given geometry shape object.
If that's what you mean by "mixing" deformers - then yes. Otherwise, please clarify.

Painting skin cluster influences is a standard workflow and well supported in Maya.
Painting smooth or any other deformers (or better - in general - any array attributes that are registered as paintable - look at the makePaintable command) can be painted by using this workflow:
- select an object that has smooth deformer applied
- RMB over the object -> paint -> smooth -> smooth1-weights

Now with the rayProjection node. It is not a deformer node (more efficient), but the penalty is that when dealing with components and weights the user is on his/her own.
In order to control the components that the rayProjector will consider you will need the group node in the chain.

Let's do it step by step:
- create polySphere and polyCube, select the polyCube1 node and set the dimentions to 5 5 5 for example
- create rayProject node and connect things as listed below:
polySphere1.output -> rayProject1.inGeometry
rayProject1.outGeometry -> pSphereShape1.inMesh
pCubeShape1.worldMesh -> rayProject1.inCollisionMesh
from that point the rayProject node will do its thing
- create a group node, and connect things like this:
polySphere1.output -> group1.inGeometry
group1.outComponents -> rayProject1.inComponents
select the rayProject node and set the "use components" attribute to "input components list"
now the sphere does not shrink-wrap on the cube anymore
you will notice some similarities between the SOuP group node and things you are familiar in Houdini - do your thing there :)
- to control the rayProject's node per-point weights - here you have multiple options
    - register the rayProject.inWeights attribute as paintable and directly paint it
    - use another existing array attribute from another node, or just create new one on the mesh sphere (using the array attributes manager tool under the wrench SOuP shelf button) and connect it to the rayProject.inWeight one
    - use deformer weight map and convert it on the fly to array (using the multiToArray node) and then connect it to the rayProject.inWeight
    - use attributeTransfer node + bounding objects or point clouds to control the weights interactively

Let me know if you need more detailed help.

Reply 0 0
chovasie
Wow! :) That was fast and detailed! Thanx a lot Peter.
I'll try it soon i get back to work.
I think i will manage.

Thank you for fast replay and SOUP! :)

Vojislav
Reply 0 0
chovasie
I managed to paint weights for smooth and rayProject sop! Works as charm! Soup is really great, way beyond my expectations but learning curve is hard, and maya interface makes it hard to work with a bit. But im starting to love it! :)

By "Mixing" i thoat of layering sops one over another. smooth, ray project , skinCluster.. to work all together in some order and painted areas of influence for every Sop in chain... But now it's clear it's possible...

There is one more thing that i need to have all elements.
I need to have rayProject sop collide with 2 objects at same time. In this example, eyeball and tearduct which is part of head mesh. So eyeballMesh and headMesh.
In houdini i would convert those 2 meshes to vdb surfface to blendThem and than convert vdb to poly and have single collision mesh which is procedural and follows innput geometry. And use that for collision.

Question is, can i use 2 obejcts in ray for collision at the same time? Is there same workflow like i described above? TO convert meshes to maybe some iso surface, pointCloud.. mix them.. convert back to poly and use that as collision? But i need that object updating with animation.

Thanx for help!

Vojislav
Reply 0 0
pshipkov
To collide on multiple objects use the polyUnite node.
Connect 2 or more mesh objects to it's inputs. I suggest you do that in the node editor - it will automatically pre-allocate the multi-attribute inputs.
To see the result create a new mesh object (when in the node editor - press TAB and type mesh, then enter) and connect polyUnite to the meshShape.inMesh. You don't really need this mesh node, so delete it later on, it was just to show you how things work.

Now connect the polyUnite.output to rayProject.inCollisionMesh and that's it.
Reply 0 0
chovasie
Thanx Peter! :)

It works!!! :)

I'm starting to get around with SOUP thank to you. Start is a bit hard.

One more question which is a bit off topic for this thread. Im working on character where i need tension driven displacement. I used vertex color to texture to bake in image sequence and works great.
Thing that i want to ask you, is it possible to make connections somehow to go around writing images to hard drive? i need tension blend shape like you already made but i don't need to displace vertices on mesh. I want to drive displacement textures in rendertime.

I really love your smooth Soup node and works insanely fast. Is there a way to drive relaxation by tension as well?

Cheers!

Vojislav

Reply 0 0
pshipkov
Just for the record i have to say this:
Unlike Houdini, passing arbitrary data from the Maya scene to a given renderer of choice (except prman through renderman studio and as far as i know 3DLight) is a big pain in the bottom.
It is a terrible design on both sides - host app and renderers+translators.

If MantalRay use the mentalRayVertexColors node to read vertexColors and pipe it as texture in the shader. Multiply with it the displacement stuff you have.

If VRay use the vrayVertexColors node - it does the same ad the mental ray counterpart above.

If renderman studio use slim + primvars.
Reply 0 0
Reply