Comments (5)
You must specify the grid-size : --gs 256
for example
from filetovox.
I get a voxel model but very tiny. Take a look at the "rainbow 2.ply" output on my machine:
I'm missing something, but i don't know what
from filetovox.
Alright it works, but i still get an error with colors, i read that i may need to install libgdiplus ? i did, but seems it's not working :(
[INFO] FileToVox v1.14.0.0
[INFO] Author: @Zarbuz. Contact : https://twitter.com/Zarbuz
[INFO] Specified input path: /Users/sylvainfiloni/Downloads/rainbow 2.ply
[INFO] Specified output path: testvoxwithgs
[INFO] Specified grid size: 256
[INFO] Specified output path: /Users/sylvainfiloni/Downloads/FileToVox-v1.14-osx/testvoxwithgs
[INFO] Start reading PLY data...
[INFO] Done.
[INFO] Max X: 9,7875805, Y: 7,557913, 6,8279366
[INFO] Min X: 3,1533642, Y: 5,5825043, 0
[INFO] Size X: 6,6342163, Y: 1,9754086, 6,8279366
[INFO] Started to voxelize data...
[INFO] Done.
[INFO] Started quantization of all colors ...
System.TypeInitializationException: The type initializer for 'Gdip' threw an exception.
---> System.PlatformNotSupportedException: System.Drawing.Common is not supported on non-Windows platforms. See https://aka.ms/systemdrawingnonwindows for more information.
at System.Drawing.LibraryResolver.EnsureRegistered()
at System.Drawing.SafeNativeMethods.Gdip.PlatformInitialize()
at System.Drawing.SafeNativeMethods.Gdip..cctor()
--- End of inner exception stack trace ---
at System.Drawing.SafeNativeMethods.Gdip.GdipCreateBitmapFromScan0(Int32 width, Int32 height, Int32 stride, Int32 format, IntPtr scan0, IntPtr& bitmap)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at FileToVox.Extensions.Quantization.CreateBitmapFromColors(List`1 blocks)
at FileToVox.Extensions.Quantization.ApplyQuantization(List`1 blocks, Int32 colorLimit)
[INFO] Vox Width: 249
[INFO] Vox Length: 257
[INFO] Vox Height: 75
[INFO] Total blocks: 85990
[INFO] Started to write chunks ...
[INFO] Done.
[INFO] Check total blocks after conversion: 85990
[INFO] Done.
from filetovox.
Yes this is a known issue for Mac, someone seems to made a fix here : #46
from filetovox.
Thanks Nicolas, i close this thread, as you solved the initial issue, and will open a new one if i can't handle the color related one ;)
from filetovox.
Related Issues (20)
- textures are gonna be broken after voxelization process in mesh sampler HOT 5
- scale flag not working HOT 1
- PLY 2 VOXEL | For people having trouble with colors on macOS, this is how to solve the issue HOT 5
- Useless
- Feature request: Multiple pngs as input HOT 4
- Problem converting files with MeshSampler HOT 5
- Support frame animation for MV v0.99.7
- System.UnauthorizedAccessException HOT 3
- GUI version doesn't have FBX compatibility HOT 1
- schematics/config.txt - what should be in it? HOT 2
- Problem displaying material in MeshToVox HOT 2
- converting files with MeshToVox HOT 2
- "no voxels to quantize - skipping this part" When I try to convert a ply model HOT 1
- Empty Model HOT 1
- Problem converting files with MeshToVox HOT 3
- MeshToVox: Support of SkinnedMeshRenderer HOT 3
- When I load the .fbx model this happens. HOT 1
- MeshToVox voxelization error HOT 2
- Consider BPM textures black as an alpha channel to generate transparency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filetovox.