Problem with Geometry Channel node.

   1687   1   1
User Avatar
Member
2 posts
Joined: April 2017
Offline
Hello guys, I am unable to access the normal attribute in the Geometry channel. Not sure why, as according to the documentation, the parameter N exists. I have attached the error. Please help.

Thanks in advance.

Attachments:
Error.jpg (345.8 KB)

User Avatar
Member
1743 posts
Joined: March 2012
Offline
It's probably that there's no N attribute on the geometry. Try appending a Normal SOP with Add Normals To set to Points on the geometry itself, (in /obj/geo1).

I'm not sure what the documentation is meaning there, but it might just be giving an example of some attributes that people often use there, as opposed to listing attributes that will be automatically generated even if they don't exist on the geometry.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
  • Quick Links