enzyme69 / blendersushi

Blender Sushi related scripts. Mostly about Sverchok, Geometry Nodes, Animation Nodes, and related Python scripts.
244 stars 33 forks source link

LIVENODING 753 / 2D Pixel Art to 3D Box Revisited #144

Open enzyme69 opened 7 years ago

enzyme69 commented 7 years ago

prtscr capture_6

pixel_sampling_averaging_008_2017_09_29_00_38.zip

enzyme69 commented 7 years ago

NOTE:

Watch the number of pixels you wanted to convert into objects.

With this setup you will end up with X x Y total numbers of Objects in Blender, if you are doing it this way. It can be pretty heavy. A better way is to combine it as a single mesh objects and assign vertex color or perhaps use some kind of UV tricks.

enzyme69 commented 7 years ago

This 64 by 64 pixel Pikachu pixel art equals = 4096 boxes.

prtscr capture_7

enzyme69 commented 7 years ago

PRACTICE: See if you can also use a bit of logic to "hide the object IF the alpha is equal to 0".

ANSWER: [Uploading pikachu_pixel_002_2017_09_29_00_57.zip…]()

enzyme69 commented 7 years ago

NEXT STEP: Simply by wiring nodes, you can generate a single mesh with vertex color to match the pixel color. See if you can do that yourself!