matchboxninja Posted February 20, 2011 Share Posted February 20, 2011 Hey guys, I'm having a bit of an issue with using the ForEach node to extrude my model according to color. At each edge of the building either there is a gap where an extrusion should be, or (as can be seen on the front left edge) it deforms the edge completely. Is this something to do with the normals? Or the use of the paint SOP? I've attached 2 files: one with only the front plane painted, and the second with each edge painted too. I did this because when I realised the front left edge was deforming, I wanted to test the others. Any help would be much appreciated Thanks in advance. garage1_od.hipnc garage2_od.hipnc Quote Link to comment Share on other sites More sharing options...
Macha Posted February 21, 2011 Share Posted February 21, 2011 (edited) I think it is the groups themselves. Obviously you can't get the average position of two points if they are not in the same foreach cycle. Why do you need the foreach at all by the way? If you just polyextrude it looks fine. Perhaps an attribute based solution would be better. Edited February 21, 2011 by Macha Quote Link to comment Share on other sites More sharing options...
matchboxninja Posted February 22, 2011 Author Share Posted February 22, 2011 I'm using the foreach to extrude the geometry and keep the coloured groups. Is there a way to do this without a foreach so that when the simulation occurs and the building breaks up, it breaks up according to the colours? If I was to just use a polyextrude, how do I reference the colour groups? Thanks 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.