Making Voxels Without Slab6?

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
User avatar
Trusty McLegit
Posts: 264
Joined: Sun Feb 07, 2016 8:42 pm

Making Voxels Without Slab6?

Post by Trusty McLegit »

I've been following a couple older tutorials on making voxels for GZDoom, and they all say I need to use slab6 to set the pivot point and export it to KVX. Is there no better way to do this by now? Some plugin for Magicavoxel or something? Why doesn't GZDoom support .vox or something by now otherwise? It just seems like such a clunky process, especially when iterating on voxel artwork and wanting to see how it'll look in game. Any advice would be appreciated
User avatar
Cherno
Posts: 1325
Joined: Tue Dec 06, 2016 11:25 am

Re: Making Voxels Without Slab6?

Post by Cherno »

If you use a source port that supprots models, like GZDoom does, then the way to go is to export your voxel model to an OBJ file, import that one into your favourite 3D Modeling program, adjust the pivot, and export it as MD3 via plugin (or as FBX and then convert to MD3 via Noesis), or as obj again. In essence, don't use voxels (no VOXELDEF); use models (MODELDEF). The reason? More import options. You can even use your OBJ file directly from MagicaVoxel or whatever you use for editing voxels, by using the Offset and Rotation properties of MODELDEF. Using models also allows you to use shaders and easily swap textures/skins in a MODELDEF entry.
User avatar
Trusty McLegit
Posts: 264
Joined: Sun Feb 07, 2016 8:42 pm

Re: Making Voxels Without Slab6?

Post by Trusty McLegit »

Oh okay, cool. Thanks! :D

Return to “Assets (and other stuff)”