Does anyone know where I can find a library or some code which converts a mesh model of some format such as 3DS max to a voxel model?

Grateful if you could help

I don’t know but go to Novalogic and try to convince them to help you (to give you some URL’s with documentation). Anyway it is pretty difficult because 3DS models are made with vertexes and you’ll have to transfers them into voxwls.