This asset allow you to import Magica Voxel models (.vox) in your projects!
Attention! This is only load the models! Without any collision data!
Import Magica Voxel (.vox) models
Models can be stored in one vertex buffer for better perfomance
Support frame based animation (you must use Magica Voxel 0.98.2)
Simple texture support
Support to set scale, when model is loading
Support to set origin, when model is loading (nine points of origin)
Easy to use
If you load many models through a loop, it can take a lot of memory (make small loops)
Large levels can take a long time to load
Maximal size of model is 256x256x256 voxels
Models is not optimazed when is loaded. Each voxel have external sides. (2 triangle for each side) But inner sides not be generated.
List of functions:
VI_init() VI_model_load(fname, scale, origin) VI_model_unload(model) VI_model_complex_start(frames) VI_model_complex_load(model, fname, scale, origin, x, y, z) VI_model_complex_end(model) VI_model_draw(model, frame, texture, x, y, z) VI_model_draw_ext(model, frame, texture, x, y, z, xscale, yscale, zscale, xrot, yrot, zrot) VI_model_get_frames(fname) VI_model_get_palette(fname)
You also can try compiled demo!
Highly recommend compile project with YYC.
Version 1.0.1. Published June 7, 2018
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
No reviews have been left for this asset - be the first!