Ocelote Posted September 8, 2015 Share Posted September 8, 2015 Hi everybody, I’m currently spending a lot of time studying Houdini. Feels great! I would really appreciate if you guys could help me with this. I’m to trying to generate some geometry with VEX. For some reason my Attribute Wrangle works "Over Points" but not "Over Detail”. Why is that? Thanks a lot in advance... odforce_question.hipnc Quote Link to comment Share on other sites More sharing options...
anim Posted September 8, 2015 Share Posted September 8, 2015 variables like @ptnum or @P don't exist in Detail mode, so you would need to change this: for (int i = 0; i < @ptnum+1; ++i){ new_segment(@P, 15, 0.25); } into something like this: for (int i = 0; i < 10; ++i){ new_segment(set(0, 0, i), 15, 0.25); } or simply this (to just add one strip): new_segment({0,0,0}, 15, 0.25); Quote Link to comment Share on other sites More sharing options...
Ocelote Posted September 9, 2015 Author Share Posted September 9, 2015 Well I definitely didn't know that!. Thank you very much for your answer, anim. I'll see how to avoid those variables. 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.