renderyourworld

Hi there,

I've just started diving into the SOuP tools a few days ago.

I'm currently working on a project where I need to do a complicated set of animated booleans and I'm wondering if SOuP can make my life easier.

I'm still learning what all the nodes do so sorry if this is really easy to do:

I've got a sphere that has multiple cylinders intersecting into it from various directions and the ends of the cylinders are aimed at the sphere so that when the sphere moves around, the tips of the cylinders look like they are following with it. Simple enough.

What I need to do is make it look like all these objects are connected (because i'm gonna run a fluid simulation on it later) while still having them be separate objects.

Originally I was thinking animated booleans, and this is ideally what it needs to look like: (I used a script on Creative Crash for this one)needs_to_look_ike.png 

The only problem with this approach is that this is going into a rig so it will need to be animated.

What I'm really wondering is if there is a way for SOuP to take advantage of the verticies on the cylinders and use each cylinder as a collider of the other, (if that makes sense), so that when the verticies of the one cyclinder come in contact with the surface of the other cylinders it will push the verticies of the first cylinder back so they align on top of the surface of the other cylinders (basically just how it looks in the image above). 

Here's what the cylinders look like currently on my rig:

I would have just used normal booleans inside of Maya but they don't let you cut into a mesh that's got an open end on it :-(

rig_look.png 

 

The good news is that I was able to make use of SOuP using the group delete trick to temporarily delete the polygons that the cylinders intersect with on the sphere and it worked like a charm. So cool!

 

I hope someone with more experience than myself can guide me in the right direction.

If this is confusing anyone let me know and I will re-word it.

Thanks everyone.

Reply 0 0
pshipkov
Objects affecting each other  without breaking the DG/DAG rules is tricky. Check the attached file. You may not like the complexity of the setup.
Here is an example video: http://www.petershipkov.com/temp/rayProject_6.mov
Reply 0 0
pshipkov
Also, one thing i wanted to mention - using booleans  changes topology and that breaks motion blur, as result you will need even more SOuP nodes to supply per-point motion vectors to the renderer.
The example i provided keeps topology consistent.
Reply 0 0
Pizzaman

If you can, try using one mesh for your render, and one for fluid simulation... It will be a pain in the ass to make one geometry work for all the purposes.
You could create a simple cage for your fluid simulation by using nParticles meshing. Stick nParticles uniformly across your tubes (check the scene) and convert them to mesh.
Not so much SOuP inside, but hope this can help...


 

Reply 0 0
renderyourworld

Thank you guys for the replies.

Hey pshipkov, thanks alot for posting that maya file, it's been a big help. I'm still new to SOuP so I'm still figuring it out. For some reason when I opened the maya file it didnt seem to work quite like your demo shows. The cyclinders don't collide with all of the other ones so when they reach their final positions, you can see the geometry penetrating. Not sure whats causing it, but I'm actively trying to build the scene you gave me so I can understand it better.

Thanks again for the scene, what I'm trying to do is definitely over my head and i wouldn't have known where to start.

 

Hey Pizzaman, srry, I should have been more descriptive in my original post. What I'm planning on doing once I figure out the geometry collision problem is I'm going to export a geo cache or a .sd into Realflow and do the fluid sim in there.

Reply 0 0
Pizzaman
Ah ok, I figured it out the wrong way ! (the opposite way to be precise :)
Still, t'was a pretty funny scene to do :)
Reply 0 0
Pizzaman
Here is a better one : I could'nt open peter's scene, so this one may be usefull... or redundant.

Just rotate the yellow objects.
Reply 0 0
renderyourworld

That's an awesome setup Pizzaman.

That's pretty much exactly what I'm looking at doing. The only thing I need to add to that setup is a bounding object that will delete the polygons on the sphere that the cylinders would normally be intersecting with.

Could you elaborate more on how you managed to make this setup?

Reply 0 0
Pizzaman
First, you have a 3 sections cylinder. A spherical bounding object select the border loop through a group node. It projects it on a sphere (rayProject node), in a direction driven by a compass object (the compass is orient-constrained by the cylinder).
Second cylinder : It works the same way but instead of projecting the loop on a sphere, it does it on a new object resulting from a combine between the sphere and the first cylinder... so the two cylinders don't collide.
Third cylinder, etc.

Apart from that, I don't know how you'll get clean holes in the sphere... and even more why :)

Reply 0 0
Reply