:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Thu Feb 20, 2020 3:07 am
All times are UTC + 0
 Forum index » Featured Tools » Voxel Section Editor III
Using MagicaVoxel + VXLSE to create voxels
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
Kerbiter
Vehicle Drone


Joined: 05 Jun 2018

PostPosted: Fri Feb 07, 2020 8:00 pm    Post subject:  Using MagicaVoxel + VXLSE to create voxels
Subject description: A small patch that allows importing MagicaVoxel voxels into VXLSE3
Reply with quote

DISCLAIMER: This patch is far from ideal and was made as a quick bandaid solution to allow myself to use a modern tool to create voxels. I wasn't originally going to post it here in an unfinished state (it is available on Mod Haven discord for some time), but since some people asked me about it - here you go.

Quote:
VXLSE 3 1.39 mod to import from MagicaVoxel
mod made by me, get the MV here https://ephtracy.github.io/

there are new menu entries in Edit and Section -> New menus, here's how to use them:

YR Temperate palettes with purple remap (so that palette colors won't replace simple red colors, be sure to check for mismatched colors after importing anyway)
https://cdn.discordapp.com/attachments/290905211344781312/606218776370872329/unittem_new.pal <-- use in VXLSE when importing
https://cdn.discordapp.com/attachments/290905211344781312/606219055245819914/unittem_new.pal.png <-- load that one in MagicaVoxel

Hit me up if you need your .pal to be converted to MagicaVoxel palette, since I didn't yet pack my tool to be redistributed. Also sadly MagicaVoxel is limited to 126^3 voxels, but it's still great for doing small voxels!


Quote:
also if you need backwards importing to MagicaVoxel - I didn't yet write anything for this, but https://blackflux.com/node/11 <-- this editor can import VXLs and export into MagicaVoxel format. though all unused colors are lost while doing this. this is fixable by manually arranging those colors that are left in MagicaVoxel's pallette according to WW's pallete (or the one you'd be using) and then loading the palette manually

bandaid but oh well



vxlse3src_import.zip
 Description:
Source included

Download
 Filename:  vxlse3src_import.zip
 Filesize:  3.99 MB
 Downloaded:  6 Time(s)


_________________

:: PPM + Discord = C&C Mod Haven :: Using MagicaVoxel to create voxel models ::

Back to top
View user's profile Send private message
PussyPus
Commander


Joined: 14 Jul 2015
Location: Underground Posts: N/A

PostPosted: Fri Feb 07, 2020 11:13 pm    Post subject: Reply with quote

For everyone who never expected Kerbiter would make a template for MagicaVoxel, you're all wrong Razz i wasn't surprised myself but excellent work btw!
_________________
If you are a MetalHead (Heavy Metal Fan) and don't want to be a metalhead, Just remove your metal ball from your head. �:p .

Back to top
View user's profile Send private message ModDB Profile ID Skype Account
G-E
General


Joined: 09 Feb 2015

PostPosted: Sat Feb 08, 2020 6:55 pm    Post subject: Reply with quote

I'm surprised no one has merged the java sources from voxelshop which can read both formats, and either turn it into a locally launched java app or hosted for a browser to upload and convert somewhere...

I already made a voxel slicer so I have a good bead on WW format, and aside from MV having odd cube sections of canvas as opposed to one unified canvas, the format doesn't look hard. The only difficult part as mentioned in the palette conversion, though there too a simple lookup table like a cscheme might work?
_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Kerbiter
Vehicle Drone


Joined: 05 Jun 2018

PostPosted: Sat Feb 08, 2020 9:45 pm    Post subject: Reply with quote

the best way to do it would be to integrate reading/writing of MagicaVoxel files into VXLSE3 itself, but damn, Delphi is just so uninviting to code with...
_________________

:: PPM + Discord = C&C Mod Haven :: Using MagicaVoxel to create voxel models ::

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
 Forum index » Featured Tools » Voxel Section Editor III
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.1351s ][ Queries: 12 (0.0036s) ][ Debug on ]