Jump to content

help with a normals expression


Recommended Posts

Anybody know the proper expression in order to keep the normals pointing in one direction while the object itself rotates?

Are the normals those from a first frame? If so, add a PointSOP, connect rotating geometry with normals to its first input, append NullSOP as a separate branch after transformed geo, and press Lock Flag while being in first frame. Then connect it to the second input of PointSOP.

In Normal field of PointSOP add: $NX2, $NY2, $NZ2 respectively. Done.

PointSOP simply copies normals from a second input onto the first one. The second is your geometry baked in first frame. Does it help?

cheers,

sy.

Edited by SYmek
Link to comment
Share on other sites

You can just put your point SOP > Add Normals before your Xform SOP, therefore your network calculates the normals before it translates/rotates your geometry.

...but the translation/rotation considers normal attribute also, so transforms it accordingly... is that what was the question about? :blink:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...