Jump to content

Attribute Create> Unable to evaluate expression $NX, $NY, NZ


Recommended Posts

Thanks, missed that memo...does @N.x now replace $NX ?

Anyways am following this tutorial, starting exactly at around 5:30(screenshot attached).  The only way I can make the error go away is if I enable the Add SOP and change my class from Point to Vertex in attribute create, which has me puzzled since in my Geo Spreadsheet if I enable Vertices I see nothing in my spreadsheet. Missing something very fundamental! I think the error may be happening 'upstream' in my Point VOP and I'm not correctly generating normals since if I select the Transform SOP and the Attributes drop down, I see nothing though in the tutorial there are both Point and Normal attributes.

 

I've attached my .hip in progress...if anyone could have a look and tell me wtf I am doing wrong would be GREATLY appreciated!

 

 

 

 

attribute_create.png

edge_displacement_shader_vimeo_5:32.hiplc

Link to comment
Share on other sites

well it seems to be a bug, but when I create a new attribcreate with @N.x, @N.y and @N.z it works... try delete your node and create a new one. If the error is still there, well, just put it in a point wrangle as Yon said : v@dir = @N;

Link to comment
Share on other sites

not bug...you just need eagle eyes...

look at next to the gear icon...it's got 'funny' colors....

click on it and change it back (from python) to Hscript

Now $NX/Y/Z will work

(if you already have something in the fields and after you've changed it back to hscript and still didn't work...just 'delete' all channels and retype in $NX/Y/Z)

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