normal transfer from another object (help)

   18783   7   3
User Avatar
Member
61 posts
Joined: Dec. 2005
Offline
Captured points from a grid using a sphere.
Sphere is animated and I'd like to transfer the sphere's normal (a single point) to all the points being captured.

Thus emitting particles with an animated normal from a second object.

See attached file.

Not sure if I should transfer the normal to the group in SOPs or grab the normal in POPs.

Thanks,
~Shawn

Attachments:
normalTransfer_H9_v01.hipnc (69.1 KB)

Touch Designer User
User Avatar
Member
61 posts
Joined: Dec. 2005
Offline
Thinking I need to take a good look at the Attribute Transfer SOP.
Touch Designer User
User Avatar
Member
696 posts
Joined: March 2006
Offline
You can use the point sop!

Attachments:
normals.hip (48.1 KB)

Stephen Tucker
VFXTD
User Avatar
Member
61 posts
Joined: Dec. 2005
Offline
Hey Allegro,

Thanks for the help. Your example works even if I change one sphere to a grid.

When I try your method with my animation, I get nothing. Take a look (attachment).

I think the problem lies with changing input of points from the group1.
I need the point sop to cook every frame or something.

Thanks again,
~S

Attachments:
normalTransfer_H9_v02.hipnc (82.8 KB)

Touch Designer User
User Avatar
Member
1390 posts
Joined: July 2005
Offline
Yellow/black zebra on node means warning! PointSOP requires two inputs to have the same number of points (or even be identical?). You need here Attribute Transfer SOP or some magic VEX if you need greater control on this process. I modified your scene. Hope this is what you're after.

cheers,
sy.

Attachments:
normaltransfer_h9_skk.hipnc (109.6 KB)

User Avatar
Member
11 posts
Joined: March 2008
Offline
So what you're trying to do is use an animated sphere's normal to dictate the grid's normal direction within the sphere's bounds, then, use these new grid normals to change the direction of particles generated from the grid right? If you want to use the normals of each point on the sphere then SYmek's got it. (I cleaned it up for myself to see it in action so I'll post it here.)

But if you are looking to use a single normal for the whole sphere (which seems to be the case from from your first post), you could use a primitive sphere (single point) instead.

Attachments:
normal transfer_g.hipnc (87.0 KB)

User Avatar
Member
61 posts
Joined: Dec. 2005
Offline
geneome and SYmek, you rock!

This is exactly what I was shooting for. I looked into using a primitive sphere but I couldn't add a Normal to it (not with Point SOP or Primitive SOP).

Anyway, it was just easier to group/delete so I could select any point I want to use for a normal transfer.

You can see inside my file what I was aiming for under the second particle sop.

Thanks!!!
~Shawn

Attachments:
normalTransfer_H9_v03.hipnc (98.8 KB)

Touch Designer User
User Avatar
Member
11 posts
Joined: March 2008
Offline
This is such a great example of the procedural workflow… definitely video tutorial worthy. Thanks to SYmek for pointing to the right answer!

massta
I looked into using a primitive sphere but I couldn't add a Normal to it (not with Point SOP or Primitive SOP).

I noticed this too; that adding a normal using $NX,$NY,$NZ didn't give me anything. What I have been able to do is use a point SOP to define a normal with an expression or define it (like 0,0,1) and then just animate it to where I want it to go. I like your group/delete method better though .
  • Quick Links