lachlanmcdonald / magicavoxel-shaders

A collection of shaders for MagicaVoxel to generate geometry, noise, patterns, and simplify common and repetitive tasks.
Other
623 stars 49 forks source link

FEAT - Any chance of a 'treemap' shader #22

Closed 7bitretro closed 3 years ago

7bitretro commented 3 years ago

I came across this some work by Dimitris Ladopoulos and thought a shader to generate Treemap style effects would be awesome and perfect for Magicavoxel.

Example renders from their site.

algorithm-2 algorithm-11 algorithm-4

lachlanmcdonald commented 3 years ago

I've played with a similar pattern recently, since this technique is useful for greebles. I'll put it on the wish-list for a future release.

lachlanmcdonald commented 3 years ago

Hi @7bitretro, turns out this was quite a challenge but I think I have a good implementation of a treemap like pattern. It is not merged yet and there is no documentation, but you can take a look at the pre-release:

https://github.com/lachlanmcdonald/magicavoxel-shaders/blob/feat/treemap/shader/brush/treemap.txt

Googyflip commented 3 years ago

Amazing job, thanks!

lachlanmcdonald commented 3 years ago

To be included in the 0.12.0 release.