kettek / staxie

Sprite/pixel editor for making sprite stacks and/or indexed sprites
GNU General Public License v3.0
2 stars 0 forks source link

Import from .mdl/.obj #4

Open kettek opened 4 months ago

kettek commented 4 months ago

If we used a library that can do simple raycasting, a 3D model (.obj/.mdl/whatever) could be read in, then a unit to pixel size conversion, we could then create a sprite stack by creating inwards facing raycasts from the center of each "voxel" on each side of a 3D box surrounding the model. From this, each slice could be made rather trivially.