magneto Posted March 8, 2012 Share Posted March 8, 2012 I noticed the ForEach SOP deletes my point groups after itself, but preserves primitive groups. Is there a way to preserve point groups as well? Thanks Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 9, 2012 Share Posted March 9, 2012 Yea, it does that. You have to do a Group Copy from before the foreach to after. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted March 9, 2012 Author Share Posted March 9, 2012 Thanks man, I will use your trick. Any reason why it doesn't preserve point groups but primitive groups? Just curious Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 9, 2012 Share Posted March 9, 2012 I don't know why. I've had this problem before, and it cause me some issues cause I changed the structure of the geometry in the foreach. So I couldn't copy the groups back. I can't remember, but if you create a point group inside the ForEach that might still work. I've found it often better to use VOP or Point SOP if you are working on just points. I don't find ForEach adds any flexibility that those SOPs can do at the point level. Quote Link to comment Share on other sites More sharing options...
magneto Posted March 9, 2012 Author Share Posted March 9, 2012 Thanks, I used foreach to promote attributes per group. Can I do the same using VOPs? I imagine I can't do this with the Point SOP. Quote Link to comment Share on other sites More sharing options...
nord3d Posted March 9, 2012 Share Posted March 9, 2012 Thanks, I used foreach to promote attributes per group. Can I do the same using VOPs? I imagine I can't do this with the Point SOP. You surely can do it in VOP-SOP. There are: Add Attribute Import Attribute Create Point Group Point In Group (?) Add Point To Group Quote Link to comment Share on other sites More sharing options...
magneto Posted March 9, 2012 Author Share Posted March 9, 2012 Thanks but can I iterate on those groups independently? Because I am promoting from a point to a detail attribute and then from detail to primitives. So the detail attribute should be stored temporarily per group, not for the whole geometry. Quote Link to comment Share on other sites More sharing options...
nord3d Posted March 9, 2012 Share Posted March 9, 2012 (edited) Thanks but can I iterate on those groups independently? Because I am promoting from a point to a detail attribute and then from detail to primitives. So the detail attribute should be stored temporarily per group, not for the whole geometry. So, perhaps it would be more convenient to first store your groups in some attributes (with VOP SOP) and then use Attrib Promote SOP(s) to promote them to desired type(s)? Edited March 9, 2012 by nord3d 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.