Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--cm work for obj? #6

Closed
superfrantv opened this issue Mar 3, 2020 · 7 comments
Closed

--cm work for obj? #6

superfrantv opened this issue Mar 3, 2020 · 7 comments

Comments

@superfrantv
Copy link

Greetings,

is it possible to generate a colored vox file from a obj and a png/mtl file or something other??

thanks for this great project :)

@Zarbuz
Copy link
Owner

Zarbuz commented Mar 7, 2020

No you can't have colored obj. But I would suggest you to convert your OBJ file into a PLY with CloudCompare and then convert it to FileToVox. I made a tutorial about this process : https://www.youtube.com/watch?v=sg3z2GaMJzM

@superfrantv
Copy link
Author

Ok and if i import a ply File i can use --cm to add a texture map?
it's possible to import animated 3d model, so every frame it creates a vox file?

@Zarbuz
Copy link
Owner

Zarbuz commented Mar 8, 2020

Watch the video ;) PLY is a point cloud data. No texture but each points have a color.
And no you can't import animated 3d model.

@superfrantv
Copy link
Author

i love it, thats what i needed, thank you so much!!

@superfrantv
Copy link
Author

I have some trouble with it, first how can i scale the Chunks in FileToVox? if i set --s 80 it doesnt change anything. Next is in CloudCompare my Colors are sometimes not imported right, whats the best file format to import in cloudcompare and export as ply? is this possible using a batch ?

@superfrantv
Copy link
Author

And another Question, filetovox generates some empty chunks in magicavoxel, how can i change this?

@Zarbuz
Copy link
Owner

Zarbuz commented Mar 18, 2020

I have some trouble with it, first how can i scale the Chunks in FileToVox? if i set --s 80 it doesnt change anything. Next is in CloudCompare my Colors are sometimes not imported right, whats the best file format to import in cloudcompare and export as ply? is this possible using a batch ?

The scale depend on the size of your models. I don't know how big is the volume in voxels when you set a size of 80.

I import always in OBJ or sometimes in FBX, I haven't got any problem with colors and this is not a support of CloudCompare. Ask them in their forums.

And another Question, filetovox generates some empty chunks in magicavoxel, how can i change this?

You have to manually delete it, there is no way to change it.

@Zarbuz Zarbuz closed this as completed Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants