kapellan Posted February 27, 2020 Share Posted February 27, 2020 Hello everyone!! It a posible to compute normal inside Attribute vop? In Wrangle, i use code like this: int prims[] = pointprims(0, @ptnum); vector sumN = 0; foreach (int prim; prims) sumN += prim_normal(0, prim, .5, .5); v@N = normalize(sumN / len(prims) ); But i can't repeet this inside Attribute vop THANKS IN ADVANCE! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.