Jump to content

vop sop/ vop pop overwriting N


ranxerox

Recommended Posts

if I don't wire N from globals to output in either a vop sop or a vop pop, N gets recalculated.

is this a bug ?

I dont think its a bug.

By default behaviour is to recompute point normals after point transformation.

Atleast thats what happens in transform sop. I wonder the reason behind it ?

Link to comment
Share on other sites

This is correct behavior, it's only really noticeable when you're working with disconnected points/particles. You can either wire N through or use a Compute Normal vop to stop it.

Think about the reverse of this, if you had a mesh and you changed P and it didn't recompute N, that'd be weird, right? It only does it to N which is, after all, the surface normal. You can always store your vector under a different name if this behavior is bothersome. Without a surface there is no N, feel me?

Edited by tjeeds
Link to comment
Share on other sites

well, it is difficult to say if it's more logical that N changes automatically with P change or not, since in houdini you usually want the later

since if you want automatical normals you don't have to have any N attribute present, N is usually used for customised normals which you may want to have control over by yourself and don't want them to be overwritten just like that

anyway this behaviour is handled by Compute Normal VOP as it was mentioned and it defaults to Re-Compute N if P changes, so knowing that, it's not a bug, it's just how it's set to work as default

Link to comment
Share on other sites

good to know. I would prefer if it didn't do this because it adds a level of inconsistency to vops (vops is so low level I wouldn't expect anything to automatically be set for me if I didn't set it).

easy to work around, just caught me off guard.

-G

well, it is difficult to say if it's more logical that N changes automatically with P change or not, since in houdini you usually want the later

since if you want automatical normals you don't have to have any N attribute present, N is usually used for customised normals which you may want to have control over by yourself and don't want them to be overwritten just like that

anyway this behaviour is handled by Compute Normal VOP as it was mentioned and it defaults to Re-Compute N if P changes, so knowing that, it's not a bug, it's just how it's set to work as default

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...