Jump to content

use img info to generate geo


Recommended Posts

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?

34nmd1f.jpg

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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! :D

Edited by Tong Le
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...