davidyannick Posted October 30, 2019 Share Posted October 30, 2019 I need to reverse order of my points on prim 1 only any idea please ? Thanks for your help puits.hipnc Quote Link to comment Share on other sites More sharing options...
rayman Posted October 30, 2019 Share Posted October 30, 2019 attribute wrangle in details mode: int prim = 1; int pts[] = primpoints(0,prim); setprimvertex(0,prim,0,pts[1]); setprimvertex(0,prim,1,pts[0]); 1 Quote Link to comment Share on other sites More sharing options...
Sepu Posted October 30, 2019 Share Posted October 30, 2019 or just use a reverse node and in "source group" add your prim 1 Quote Link to comment Share on other sites More sharing options...
davidyannick Posted October 30, 2019 Author Share Posted October 30, 2019 I've tried both but points 2 and 3 on prim 1 not reverse Quote Link to comment Share on other sites More sharing options...
Sepu Posted October 30, 2019 Share Posted October 30, 2019 are you trying to reverse because of the skinning sop not working correctly right? if so both options should work. 1 Quote Link to comment Share on other sites More sharing options...
davidyannick Posted October 30, 2019 Author Share Posted October 30, 2019 9 minutes ago, Sepu said: are you trying to reverse because of the skinning sop not working correctly right? if so both options should work. yes indeed Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted October 30, 2019 Share Posted October 30, 2019 Your vex solution doesnt work as intended. But a reverse sop should do the trick or you could use this. //run over primitives and just add the primitives you need to reverse to a group int primpts[] = primpoints(0,@primnum); primpts = reverse(primpts); foreach(int index;int i;primpts){ setprimvertex(0,@primnum,index,i); } Quote Link to comment Share on other sites More sharing options...
Noobini Posted October 30, 2019 Share Posted October 30, 2019 (edited) from mem, I had similar problem with the order being whacky...try adding a polypath... Edited October 30, 2019 by Noobini Quote Link to comment Share on other sites More sharing options...
davidyannick Posted October 30, 2019 Author Share Posted October 30, 2019 ok thanks for your help 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.