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.

Making Voxels Without Slab6?

Postby Trusty McLegit » Sat Apr 30, 2022 5:24 pm

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
Trusty McLegit
 
Joined: 07 Feb 2016

Re: Making Voxels Without Slab6?

Postby Cherno » Sun May 01, 2022 9:11 am

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
Cherno
 
Joined: 06 Dec 2016

Re: Making Voxels Without Slab6?

Postby Trusty McLegit » Sun May 01, 2022 11:42 am

Oh okay, cool. Thanks! :D
User avatar
Trusty McLegit
 
Joined: 07 Feb 2016


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 0 guests