Comments (10)
@Zarbuz works like a champ! I needed to manually attest that the executable and all of the dylibs that get loaded were safe since it doesn't look like you have signed them as a registered Apple developer, but otherwise it seems to work great.
https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac
edit: You can also just remove the quarantine attribute from the executable files:
$ xattr -d com.apple.quarantine *.dylib
$ xattr -d com.apple.quarantine FileToVox
I did notice an error message in my output, but it didn't seem to have any effect on the processing of my ply
file into vox
.
Here's the command and output:
./FileToVox --i ../land_use.ply --o land_use_50 --scale 50
[INFO] FileToVox v1.12.6.0
[INFO] Author: @Zarbuz. Contact : https://twitter.com/Zarbuz
[INFO] Specified input path: ../land_use.ply
[INFO] Specified output path: land_use_50
[INFO] Specified increase size: 50
[INFO] Specified output path: /Users/aaron/Downloads/FileToVox-v1/land_use_50
[INFO] Start reading PLY data...
[INFO] Done.
[INFO] Started to voxelize data...
[INFO] Done.
[INFO] Started quantization of all colors ...
Fontconfig error: Cannot load default config file
[INFO] Done.
[INFO] Vox Width: 220
[INFO] Vox Length: 297
[INFO] Vox Height: 175
[INFO] Total blocks: 142086
[INFO] Started to write chunks ...
[INFO] Done.
[INFO] Check total blocks after conversion: 142086
[INFO] Done.
from filetovox.
Thanks for the quick reply. @aaronbrethorst. I just got it to work in Terminal by doing these additional steps.
- Maybe obvious but I had to run
chmod +x FileToVox
. - I also had to remove the .dll files from the quarantine attribute you specified above:
xattr -d com.apple.quarantine *.dll
This solved it and now it's running fine in Terminal.
I'd still love to help and get the GUI working, feel free to contact me on this @Zarbuz. Also happy to write an updated documentation for macOS users so they don't run into the same issues and have an easier time with more documentation on hand.
from filetovox.
I am confused -- latest 1.12 seems to be needing dotnet 5 but cannot find the .dll for Mac
Older version 1.11 want dotnet 3 and .dll exist but I have the old issue of getting just 1 color on the voxel , because of the "Unable to load DLL 'libgdiplus': The specified module could not be found."
from filetovox.
It's related to my old problem:
#26
from filetovox.
Hi, can you test this unpublished version and tell me if it work on your Mac ? I don't have a mac so I can't test myself.
https://we.tl/t-d7ZK19OYX3
from filetovox.
@Zarbuz I have an M1 Mac and would like to test your unpublished version, but the WeTransfer link has expired. Can you re-up it?
from filetovox.
@aaronbrethorst I uploaded a version for OSX. You can found the download link in the release tab. Not tested however
from filetovox.
So I've been running into the same issue and it seems like the fix / solution doesn't work on an M1 mac with ARM the .NET 5.0 SDK is not supported, see here: https://docs.microsoft.com/en-us/dotnet/core/install/macos#whats-supported
I either get a command not found or .NET error.
This is the error I receive:
Failed to load /FileToVox-osx-x64/libhostpolicy.dylib, error: dlopen /FileToVox-osx-x64/libhostpolicy.dylib, 0x0001): tried: /FileToVox-osx-x64/libhostpolicy.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/libhostpolicy.dylib' (no such file), '/usr/lib/libhostpolicy.dylib' (no such file) An error occurred while loading required library libhostpolicy.dylib from /FileToVox-osx-x64/]
Also: the GUI for Mac from the latest release is unfortunately not usable, as it doesn't let me open the finder (explorer) when clicking "Browse", which means I can't select output and input path at all.
Any help on either issue would be much appreciated @Zarbuz @aaronbrethorst as I'd love to get this to work! Thank you.
I'd be happy to help on this to get it working on newer Macs with the new architecture!
from filetovox.
No clue offhand, sorry @captainscorch
from filetovox.
Cool, thanks for sharing, @captainscorch. I hope you get a chance to get the GUI working! I wish I had more time to help out right now :)
from filetovox.
Related Issues (20)
- textures are gonna be broken after voxelization process in mesh sampler HOT 5
- the generated blocks are very few and voxel is very tiny • SOLVED 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.