[Tool] DoomFlow v0.3 -batch Sprite, Voxel, and Decorate tool

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
exwizard
Posts: 46
Joined: Mon Jun 14, 2010 5:31 pm
Location: Vansterdam, BC

[Tool] DoomFlow v0.3 -batch Sprite, Voxel, and Decorate tool

Post by exwizard »

DoomFlow v0.3

Image

This used to be called 'poly2voxelbatch' but now it is just 'DoomFlow'. Why? It didn't make sense for me to rewrite or duplicate sections of my code in order to have a number of standalone utilities which perform the batch functions I need. So, I combined them in a single easy to use interface. The name comes from the idea of a 'WorkFlow' plus 'Doom'; tools to increase the efficiency of one's Doom WorkFlow.

http://www.megaupload.com/?d=EPW0R8A5

Create Sprite Tutorial
Coming soon!

Create Voxel Animation Tutorial (taken from my original post)
Spoiler:
Last edited by exwizard on Fri Jan 14, 2011 8:47 pm, edited 4 times in total.
User avatar
phi108
Posts: 976
Joined: Sat Dec 01, 2007 6:28 pm

Re: [Tool] poly2voxelbatch: Convert animated models to voxel

Post by phi108 »

Interesting, good work!

I don't have 3ds max, but I have used Poly2vox to convert a bunch of frames from a .md2 file, could it be possible for this tool to generate a batch file using the name of the .md2 and the frame number switch?

like these commands that generate voxels for frame 0, 1, and 2 of tris.md2, naming the results GUNAA.kvx, GUNAB.kvx, GUNAC.kvx:

@echo off

CALL poly2vox.exe tris.md2 GUNAA.kvx /s0.0720 /f0
CALL kvxoffset.exe GUNAA.kvx
MOVE GUNAA.kvx C:\GUN\VOXELS\GUNAA.kvx

CALL poly2vox.exe tris.md2 GUNAB.kvx /s0.0720 /f1
CALL kvxoffset.exe GUNAB.kvx
MOVE GUNAB.kvx C:\GUN\VOXELS\GUNAB.kvx

CALL poly2vox.exe tris.md2 GUNAC.kvx /s0.0720 /f2
CALL kvxoffset.exe GUNAC.kvx
MOVE GUNAC.kvx C:\GUN\VOXELS\GUNAC.kvx


etc...
User avatar
exwizard
Posts: 46
Joined: Mon Jun 14, 2010 5:31 pm
Location: Vansterdam, BC

Re: [Tool] poly2voxelbatch: Convert animated models to voxel

Post by exwizard »

Yup. That should be exceedingly simple to implement.

I'll implement it in the next revision; probably in about a days time.
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [Tool] poly2voxelbatch: Convert animated models to voxel

Post by Nash »

Very, VERY useful tools! As a 3ds Max user, I find modeling in Max and then exporting to voxels much more intuitive and less complicated than messing around with Slab6 or Paint 3D or whatever.

I'll give this a spin soon!
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: [Tool] poly2voxelbatch: Convert animated models to voxel

Post by Apothem »

:surprise:

Awesome. Now time to learn how to do this with more stuff. Are there voxel hud weapons yet?
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: [Tool] poly2voxelbatch: Convert animated models to voxel

Post by Amuscaria »

Very cool. :D
User avatar
Captain Awesome
Posts: 580
Joined: Sun Aug 09, 2009 2:17 pm
Location: U.S.A.
Contact:

Re: [Tool] poly2voxelbatch: Convert animated models to voxel

Post by Captain Awesome »

I think this could be useful for the eDuke32 community. I don't know exactly how this program works, and I don't really have the resources to tinker with it, but do you think it's readily available for use in this way, or would it need some work? Either way, let me know, because I could include something like this in a tool pack I am curating, if you will.
User avatar
exwizard
Posts: 46
Joined: Mon Jun 14, 2010 5:31 pm
Location: Vansterdam, BC

Re: [Tool] poly2voxelbatch: Convert animated models to voxel

Post by exwizard »

Yup, it would be useful in any engine that can read/use voxels. It currently only outputs to build format voxels (kvx; which I think eDuke32 uses) but other poly2vox formats will be an option in a future release.

I've delayed releasing a new version (with the features phi108 suggested) as a lot of the code in this can be used for other functions that I am building into it (namely a sprite generator [which would be useful for eDuke32 folks although I will have to investigate what the file naming conventions are] and a DECORATE template generator [which would not be useful for eDuke32, of course]; I'd also like to add Blender support since it is free, but that will be probably be at a later date). Realistically, I can probably release the improved tool (sans Blender and eDuke32 naming schema) this Friday. Work has been getting in the way of further work on this but I have a LAN/coding thingy for the mod some people I know in person are working on this weekend (which gives me a hard deadline for getting this stuff put together). When it is done, feel free to include it with whatever bundle of tools you'd like to put together.

Also, I will include some documentation, tutorials, and a sample model when I'm comfortable with the utility's stability and, uh, error-freeness.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: [Tool] poly2voxelbatch: Convert animated models to voxel

Post by NeuralStunner »

I bet it would be worthwhile to support Blender as well.
User avatar
Captain Awesome
Posts: 580
Joined: Sun Aug 09, 2009 2:17 pm
Location: U.S.A.
Contact:

Re: [Tool] DoomFlow v0.3 -batch Sprite, Voxel, and Decorate

Post by Captain Awesome »

Sounds good. If you could, shoot me off an email when you have an EDuke32 version ready, or need some help, I might not be able to help, but I can put you in contact with someone who can, surely.

blitznukem AT gmail DOT com
Locked

Return to “Editing (Archive)”