this looks awesome.
being mostly computer illiterate though, i cannot get the cmd to work. when i try to go to my binvox folder
C:\Users\Aaron\Desktop\Binvox, it comes back with a " Desktop\Binvox is not a recognized folder, batch, executable"....etc etc. anyone willing to help with that?
Maybe just put in the full path? You should just need to type:
If there are spaces in the name of the path, like if the folder was off of "My Documents", you need to put quotes:
cd "C:\Users\Eric\My Documents\minecraft\vox_package"
Hmm... my actual binvox file is in a folder on my desktop called "Binvox"...so c:\Users\Aaron\Desktop\Binvox is the full path to where i put the program....or am i missing something here?
I've considered it, just haven't had a chance to sit down and actually think it out and do it lol.
I was originally going to place it on a large cliff, hence why I scaled it down so far. It's only 40-50 blocks high.
It's completely hollow, and getting the two different materials right was a nightmare :biggrin.gif:
You, good sir, are a god. Any chance of an option similar to the one you get when you press N (Show above and below layers), but instead just show the layer below? Probably a lot easier for building from the ground up like I do :smile.gif:
Perhaps Patrick could consider making counting a bit easier in these cases? Perhaps, like Photoshop, having a grid you can turn on and off, with thick lines every 10 blocks and thin lines every 1 block. I'm imagining an empty 3D grid across the whole selected slice, 100% wide and 1 block high.
I put that in just now, thick lines every 5 blocks (in the flat grid).
Note that you can switch the grid between being at the bottom or at
slice height by pressing 'g'.
I managed to figure out why it wasn't working for me. I had to edit the .bat file and replace 'java' with the path to my proper java.exe. It all works perfectly now. I've made quite a few models but I've only got pics of the first one so far.
I completely imported it as it was my test model. I'm going to start building my next model by hand today. Amazing stuff you've done here. Keep up the incredible work :smile.gif:
I like how this makes models and images easier to build by making them into a form that transfers to the game. I was wondering if there wasa way to rotate an image though. I am wanting to build a Liberty Ship in my game, but the program always render's it sideways. I tried the rotation command but it either remains the same, or the image completely disappears.
Also interested in knowing what the largest item one could render is? I have a fortress I'd like to build, but it's a bit large. . . If it scales with the ship's size (It's 625,000 cubes) then this will easily crest 10,000,000. . .
"-d 64" says how many blocks high you'd like the scan. HOWEVER, on Windows machines there's a GLUT bug that the window cannot be smaller than around 120 voxels (Linux doesn't have this problem). So I recommend this:
binvox gipshand2-3k.obj -down -down
What each "-down" does is halve the resolution. We start at 256 by default, so divide by 2, and 2 again, i.e. 4, gives 64.
Uh yeah, So far I've gotten some models working great. No pics yet but maybe I will later. Only one problem I've encountered so far. I only get this problem when I try using "Dragbinvoxfilehere" on larger models. I have used the -down -down and -c. Im not sure if its safe to add another down at the risk of the model derping. The error I get is:
unknown word: translate, skipping line
unknown word: scale, skipping line
Reading block data
Press any key to continue . . .
The larger models thing I said above was a guess. After taking a closer look (re-creating it to paste here) I realized its possibly a translation error XD Any ideas?
Alright, I understand what you are saying but.... I still have a binvox file. How do I convert it "Straight" into a schematic? Also I ran into another problem. This one only happens with one specific obj file so its not as important to me.
reading group [group_MursDep2]
reading group [group_murs_dependances]
reading group [group_boiseries]
reading group [group_MursDep1]
reading group [group_murs_dependances]
78498 lines read
Read 28653 faces, 14835 vertices.
bounding box: [-40.4458, -0.319867, -9.06464, 1] - [28.0283, 21.7948, 48.2356,
(1) translate [40.4458, 0.319867, 9.06464, 1], (2) scale 0.0138739, (3) transl
ate [0.025, 0.025, 0.025]
As soon as it gets to the last line Binvox stops working. As in, the message pops up, "Binvox.exe has stopped working, close program."
Yes, it's a massive fail when someone tries to use a chainsaw without reading the instructions, too. Since you don't realize it, pro tip: one of the worst ways in the world to get help from people who like a program is to start your post with "MASSIVE FAIL". Lucky for you I'm a nice guy.
You can't use a size less than like "-d 120" on Windows, because Windows doesn't let the OpenGL window be any smaller than that, which is why "-down" is so important. The tutorial talks about this - read it.
I have no idea if this will work, but it will get around your Windows size problem. Me, I've added an "exact" voxelization mode that works pretty well, no need for most of those command line options, just "-e -d 64", as it doesn't need OpenGL. Patrick will fold this into his code base someday (but he also does stuff like earn a living, and more importantly, admin our server, so it'll be a while).