CubeSter


Version: 0.5

How To Use:
  • Install add-on
  • Access panel in View 3D > Tool Shelf > Tools > CubeSter
  • Either load image from computer or select image already loaded into Blender
  • Adjust settings to appropriate values
  • Click "Generate Mesh"
 Notes:
  • THIS CAN EASILY CAUSE BLENDER TO "QUIT RESPONDING", however just give the appropriate amount of time. 
  • If a valid image is selected, then an approximate final block count, time to generate, final number of vertices and faces will be displayed. 
Download
Wiki




Original Image (1080x1080):



Generated Mesh (Pixel Step = 4, Height Scale = 0.4, Time = 2.71 s, # Of Blocks = 46,656):


  • Version 0.1.1 3/19/2016
    • Added random and manual RGBA channel weighting, as well as fixed issue with trying to generate mesh when Blender Internal was the selected render engine.
  • Version 0.2 3/20/2016
    • Objects can now be composed of many blocks, or of a single plane.
  • Version 0.3 3/21/2016
    • The object can now either be colored by an image or using vertex colors. The mesh is also UV unwrapped now.
  • Version 0.4 3/25/2016
    • Image sequences can now be used to generate an animated mesh.
  • Version 0.5 4/30/2016
    • Audio files can now be used to create a mesh
    • Image sequences can now be used to create a mesh
    • Time estimations are available for all modes and more accurate
    • Animated vertex colors are now supported

3 comments:

  1. That's an interesting tool, but it doesn't support other format than jpg actually, i tested with png with blender 2.77 and he send me back an error

    Traceback (most recent call last):
    File "C:\Users\Raphael\AppData\Roaming\Blender Foundation\Blender\2.77\scripts\addons\cubester.py", line 457, in execute
    createUVMap(context, rows, int(len(faces) / 6 / rows))
    File "C:\Users\Raphael\AppData\Roaming\Blender Foundation\Blender\2.77\scripts\addons\cubester.py", line 84, in createUVMap
    x_scale = 1 / columns
    ZeroDivisionError: division by zero

    location: :-1

    ReplyDelete
    Replies
    1. I have personally tested with png and it was worked fine, so there is some other reason why this is messing up. Could you submit a bug report and attach the image that you were using. Because this error looks like the image has no size to it.

      Delete