gromgull / py-vox-io

Python module for parsing and writing MagicaVoxel vox file
MIT License
102 stars 26 forks source link

Question regarding RGB and Material Index #1

Open enzyme69 opened 6 years ago

enzyme69 commented 6 years ago

Thanks for this awesome module, currently I am really trying to understand how this module. Your examples are helpful, but a little bit complex.

I am wondering what is the easiest way to think about the RGB and the materials for Vox?

Let say if I just want an array of 10 x 10 with random RGB and random Material (glass, emission, metal) for, how to make it?

Thanks!

alexhunsley commented 6 years ago

Hi, I might be able to help with some examples shortly. I'm starting to use this lib and finding a few quirks, e.g. see my issue #1.