Tong Le Posted May 9, 2010 Share Posted May 9, 2010 I wanna give the motion to the img which comes from a photo (so is not a perfect img, such it has some noise,etc) The question is: I have to generate geos from the pic, so I have to fetch img or pixel color. Then extrude the geo based on the color Another prob is, each piece should have separate ID, then I can give them a little random secondary motion. One way I think about is copying box to POPs which will be scat from grid by color, then I can use rand() control the scale of each box or maybe VOPs? I know VOPs can do it, but I dont know how. Any idea or suggestion? Quote Link to comment Share on other sites More sharing options...
ben Posted May 9, 2010 Share Posted May 9, 2010 Maybe you can try this, it seems to work well. I had to tweak your image to make it perfectly black&white, to have one pixel per unit, and square. (Watch out, in my sample your pattern has change a little, so do it clean) With this solution each pixel is a primitive so it should be easy to make random extrude or whatever you need. Another solution could be to use trace SOP. hope to help ben PixelColorToGeo.zip Quote Link to comment Share on other sites More sharing options...
Tong Le Posted May 10, 2010 Author Share Posted May 10, 2010 (edited) Maybe you can try this, it seems to work well. I had to tweak your image to make it perfectly black&white, to have one pixel per unit, and square. (Watch out, in my sample your pattern has change a little, so do it clean) With this solution each pixel is a primitive so it should be easy to make random extrude or whatever you need. Another solution could be to use trace SOP. hope to help ben Thanks, Ben! It is great! Edited May 10, 2010 by Tong Le 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.