Adding Primitive Normals

   5839   3   1
User Avatar
Member
98 posts
Joined: 9月 2008
Offline
Hi,

I know that probably this has been asked a thousand times, but I cannot find the answer in the forums… I need to explicitly add the primitive normals (for later use) to every polygon in a scene. In the attached file, I can see the prim normals in the frozen null file, but the attribCreate node systematically gives me (0,0,0)… any idea what I am doing wrong?
Sorry for this newbie question!

dagush.-
————————-
* skylineEngine project coordinator
* buildingEngine module developer
http//ggg.udg.edu/skylineEngine
User Avatar
Member
98 posts
Joined: 9月 2008
Offline
Sorry! I forgot the sample file!
dagush.-

Attachments:
fitxerCongelat.hipnc (53.1 KB)

————————-
* skylineEngine project coordinator
* buildingEngine module developer
http//ggg.udg.edu/skylineEngine
User Avatar
Member
8838 posts
Joined: 7月 2007
Offline
primitive normal is not an attribute by default and cannot be overriden by creating one, that may be the reason why it's even not bound to $N? variables or N input in VOPs

however you can easily create one in Attribute VOP if you set it to Primitives and take normal using Primitive Normal VOP then just export as attribute

but again this attribute will serve you as a data you can store and use, but it will not affect the actual primitive normal

Attachments:
fitxercongelat_fix.hipnc (78.9 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
98 posts
Joined: 9月 2008
Offline
Hi,

Thank you VERY MUCH!!
Sorry for the delayed answer, but now I am on a trip…
best

dagush.-
————————-
* skylineEngine project coordinator
* buildingEngine module developer
http//ggg.udg.edu/skylineEngine
  • Quick Links