Mat Clark
Hi,

I'm very new to SOuP and am having a terrible time getting the point cloud field to work in a scene of my own.

I have tried to emulate the pointCloudField_1.ma (which works perfectly) but to no avail... I must be missing something but have no idea what it could be..... Could it be that I am using nParticles?

If someone could guide me through the proces of attaching a point cloud field to a piece of geometry so that I can affect nParticles I would be eternally grateful.

Thanks,

Mat :)

 
Reply 0 0
Mat Clark
I'm ready to give in here.... I've trying this for a few days now with no results.

All I want is to be able to understand how to use the pointCloudField, through a polygon object, to affect nParticles, I can't even replicate the scene to affect regular particles.

Please help :(
Reply 0 0
pshipkov
Ok, let's try that step by step:
you can use the points of any geometry (mesh, particles, surfaces, curves) or voxels to control the motion of dynamic objects.
The pcf (pointCloudField) node needs few things for each of the field points - position, velocity and radius. If you use mesh geometry as control object then vertex positions will be automatically "seen" and shared vertex normals will be assumed as force vectors. If you do not supply array with radius values to the pcf node it assumes radius of 1 for each point.

So let's stop here and you confirm that you can reliably connect mesh object to the pfc node and you can see that it influences your particles.
Reply 0 0
enzyme69
@Mat Clark

So you have setup the SOuP side of connection exactly as the example?

I think there is 2 connections that you need to do in Maya side:

1. GeoConnection
Select pointCloudField SOuP node, select the original mesh. 
Go to Field - Use Selected as Source of Field.

2. Field Affect Particle
Select pointCloudField SOuP node, select Particle or nParticle Shape node. Go to Field - Affect Selected Objects.

It will work :) Good luck
Reply 0 0
enzyme69
I attached an example which is really a replica of pointCloudField1.ma example.

In fact, if you use the pointCloudField1.ma and do "affect field to selected" to nParticles in the scene it will work right away.

It is always a good idea to understand first how Maya network set it up, and then "hack it" with SOuP network. You have more controls on a lot of things that Maya cannot do using SOuP.

The funny thing with the pointCloudField_1.ma example, I noticed if I delete the GeoConnector node, the example still works... weird.

Maybe Peter can explain what is really happening?
Reply 0 0
Mat Clark
Thanks for your help Peter and enzyme69,

I have got it to work :)

I changed the Point values for weight and radius to 1 and that did the trick.

I can't believe how frustrated I had become trying to get this to affect the particles but I now understand how to connect the field so that it works which is a great relief.

SOuP is quite a different workflow than I am used to but I can see the power of the toolset and the advantages of understanding and being able to use it however frustrating the learning process may be!!

I'm sure that I'll be posting pleas for help again as I learn your toolset Peter, but unil then, thanks again for your help.

Mat :)
Reply 0 0
pshipkov
good to hear you figured it out. in the future just post here and we will help.
Reply 0 0
Zeedorf
Is this effect can be achieved with nurbs surfaces or nurbs curves?

The problem is that nurbs transfer cv points to point node and those don't describe the surface as the mesh cv's do.

Is there a way to "sample" a curve or a nurbs surface for the pointCloudField?
Reply 0 0
pshipkov
I have partial support for nurbs objects in SOuP but nothing that will do what you are asking for.
The simplest thing to do is to convert the nurbs surface to polys and take it from there.
Or if you have a curve - extrude it and set the extrusion distance to be very small number, then use the SOuP tools to sample the polys.
Reply 0 0
Zeedorf
Yes, that was what I did. Thanks.
Reply 0 0
Reply