Point SOP creates 0,0,0 Normals in H15

   4083   6   1
User Avatar
Member
345 posts
Joined: 6月 2008
Offline
In H15, using a Point SOP to add a normal attribute to a mesh creates normals with a 0,0,0 vector.
It works fine in H14.

To make it work I had to add a Normal SOP before the Point SOP.
Could someone explain this?
Is this a bug or new functionality?

Cheers
User Avatar
Member
345 posts
Joined: 6月 2008
Offline
The odd thing is that the normal view in the 3D view shows proper normalized normals.
in H14 they are 0,1,0 as expected
User Avatar
Member
345 posts
Joined: 6月 2008
Offline
at least could someone else confirm or deny this?
:-)

Thanks
User Avatar
Member
651 posts
Joined: 11月 2013
Offline
you can use $NX not @N.x and so on
User Avatar
Member
345 posts
Joined: 6月 2008
Offline
thank Jerry,
I did indeed try that and it worked.
I was wondering WHY did this change if it doesn't actually work properly.
Does the new @N.x format offer any advantage?

Cheers
User Avatar
Member
651 posts
Joined: 11月 2013
Offline
I guess it is by design. The doc indicate that SESI dose not suggest use Normal Parameter in Point sop, except modify existed N attribute.

http://www.sidefx.com/docs/houdini15.0/nodes/sop/point [sidefx.com]
Normal vector. If you just want to compute normals, please use the Normal node instead.
User Avatar
Member
345 posts
Joined: 6月 2008
Offline
thanks again for your time
  • Quick Links