Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Dec 13, 2024 11:34 am
All times are UTC + 0
Using MagicaVoxel + VXLSE to create voxels
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Kerbiter
Cyborg Soldier


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  Mark this post and the followings unread

UPDATE: The patch is now in beta VXLSE, thanks Banshee! And the new update of MagicaVoxel now allows for 256x256x256 voxels too, so have fun making your big voxels #Tongue

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

_________________

Using MagicaVoxel to create voxel models :: Phobos YR Engine Extension

[img]https://raster.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dkerbiter%26type%3Dpledges&style=flat[/img]

Last edited by Kerbiter on Wed Jul 15, 2020 6:15 pm; edited 2 times in total

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


Joined: 14 Jul 2015
Location: Egypt

PostPosted: Fri Feb 07, 2020 11:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sat Feb 08, 2020 6:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
Cyborg Soldier


Joined: 05 Jun 2018

PostPosted: Sat Feb 08, 2020 9:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

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...

_________________

Using MagicaVoxel to create voxel models :: Phobos YR Engine Extension

[img]https://raster.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dkerbiter%26type%3Dpledges&style=flat[/img]

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Tue Feb 25, 2020 9:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Just to point out, I've just integrated this feature to revision 579. So,at least, we have something in the official beta of VXLSE III now.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Kerbiter
Cyborg Soldier


Joined: 05 Jun 2018

PostPosted: Wed Jul 15, 2020 6:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Banshee!

The new update of MagicaVoxel now allows for 256x256x256 voxels too, so have fun making your big voxels #Tongue

_________________

Using MagicaVoxel to create voxel models :: Phobos YR Engine Extension

[img]https://raster.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dkerbiter%26type%3Dpledges&style=flat[/img]

Back to top
View user's profile Send private message Visit poster's website
NimoStar
Commander


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Thu Feb 04, 2021 7:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Whats the advantage of magicavoxel? In that screenshot seems to have less options than VXLSE

Is it just the work in 3D view?

_________________

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Feb 04, 2021 11:45 am    Post subject: Reply with quote  Mark this post and the followings unread

That screenshot is just the exporter section from Magicka's program. The whole program is far more complex than that.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Midian-P
Rocket Cyborg


Joined: 16 Mar 2018
Location: GB

PostPosted: Tue Sep 28, 2021 8:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Sorry for the bump and i just switch to the lastest version of MagicaVoxel and i have issue greeted with a black screen.

my PC is Windows 10 64bit and i been using MagicaVoxel for making Voxels and i need it to make larger vxls. any way to fix the issue?

Back to top
View user's profile Send private message Send e-mail YouTube User URL AIM Address
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
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

[ Time: 0.2730s ][ Queries: 11 (0.0100s) ][ Debug on ]