Skip to content

Commit 532e565

Browse files
authored
Merge pull request #14 from StefanoCecere/master
removed unitypackage and corrected readme
2 parents 3315b64 + fdf59ab commit 532e565

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

MagicaVoxel.unitypackage

-1.13 MB
Binary file not shown.

readme.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Unity3D plugin for MagicaVoxel's "vox" format
1414
* Voxels can be combined into a single GameObject, so you can cut the voxel model into several GameObjects (meshes) for animation purposes
1515

1616
#### How To
17-
* Use __MagicaVoxel/Load__ on the menubar to load and create a GameObject with a voxel model directly
17+
* Use __Tools/MagicaVoxel/Load__ on the menubar to load and create a GameObject with a voxel model directly
1818

19-
* Add __MVVoxelModel__ script to your component
19+
* Add __MVVoxelModel__ script to your component
2020
* Use editor controls to load "vox" files onto the object
2121

2222
* Or use MVVoxelModel's member methods
@@ -25,33 +25,33 @@ Unity3D plugin for MagicaVoxel's "vox" format
2525
LoadVOXData(data, importAsIndividualVoxels)
2626

2727
MVVoxelModel.sizePerVoxel, MVVoxelModel.voxMaterial and MVVoxelModel.meshOrigin can be configured before loading the file/data
28-
28+
2929
* When imported as separate voxels, selecting multiple voxels in the editor will give you a control to combine the selected voxels into a single mesh
3030
* The mesh can be divided into separate voxels again
31-
31+
3232
* Use static methods in __MVImporter__
3333

3434
Load main chunk:
35-
35+
3636
LoadVOX(file)
3737
LoadVOXFromData(data)
38-
38+
3939
Create meshes from main chunk:
40-
40+
4141
CreateMeshes(mainChunk, sizePerVox)
42-
42+
4343
Or create meshes and GameObjects from main chunk:
44-
44+
4545
CreateVoxelGameObjects(mainChunk, parentTransform, material, sizePerVox)
4646
CreateIndividualVoxelGameObjects(mainChunk, parentTransform, material, sizePerVox)
47-
47+
4848

4949
#### Todo
5050

5151
* T-junction problems (intersections)
5252
* Optional palatte texture mode (instead of using vertex color)
53-
* Optional disable face combining
54-
53+
* Optional disable face combining
54+
5555
#### License
5656

5757
MIT

0 commit comments

Comments
 (0)