Actions

Difference between revisions of "0.99.1a (config)"

From MagicaVoxel Community Wiki

(Created page with "<ul class="large-block-grid-2"> <li><pre>// [EPHTRACY 2/10/2019] workspace : { // 1. use '$' for current directory, otherwise use actual full path // 2. use single '/' or '...")
 
m (PatrikRoy moved page 0.99.4.2 (config) to 0.99.1a (config) without leaving a redirect: no new thing in 0.99.4x)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<ul class="large-block-grid-2">
 
<ul class="large-block-grid-2">
<li><pre>// [EPHTRACY 2/10/2019]
+
<li><pre>// [EPHTRACY 3/11/2018]
  
workspace :
+
workspace
{
+
(
 +
// notice :
 
// 1. use '$' for current directory, otherwise use actual full path
 
// 1. use '$' for current directory, otherwise use actual full path
 
// 2. use single '/' or '\' in the path
 
// 2. use single '/' or '\' in the path
 
// 3. don't have empty space at ends of path
 
// 3. don't have empty space at ends of path
  
dir_model : [[$/vox]]
+
dir_model = [[$/vox]]
dir_pattern : [[$/vox]]
+
dir_pattern = [[$/vox]]
dir_palette : [[$/palette]]
+
dir_palette = [[$/palette]]
dir_export : [[$/export]]
+
dir_export = [[$/export]]
dir_snapshot : [[$/export]]
+
dir_snapshot = [[$/export]]
dir_xs_shader : [[$/shader]]
+
)
}
 
  
view :
+
view
{
+
(
// 0.5 ~ 3.0
+
// 0.5 ~ 3.0 : scale ui for high dpi screen
ui_scale : '1.0'
+
ui_scale = '1.0'
  
 
// 0 ~ 255
 
// 0 ~ 255
ground_color : '60 60 60 150'
+
edge_color = '17 17 17'//'255 51 102'
 
 
// 0 ~ 255
 
edge_color : '17 17 17'//'255 51 102'
 
 
 
// 0 ~ 255
 
bg_color : '38 38 38'
 
  
 
// 0.0 ~ 1.0
 
// 0.0 ~ 1.0
bg_fade : '0.5'
+
ambient_color = '0.19 0.18 0.26'
 
+
)
// 0.0 ~ 1.0
 
ambient_color : '0.19 0.18 0.26'
 
}
 
 
 
io_iso :
 
{
 
size : '2' // voxel size : [1 - 8]
 
height : '4' // height : size * 2 : [1 - 24]
 
 
 
view : '4' // num of views : [1 - 4]
 
outline : '1' // outline and highlight : [0, 1]
 
 
 
top : '1.17 1.15 1.25' // top lighting [0.0 - 1.0]
 
left : '0.37 0.35 0.55' // left lighting
 
right : '0.87 0.85 0.95' // right lighting
 
bevel : '0.13 0.13 0.13' // bevel highlight
 
}
 
  
io_2d :
+
bake
{
+
(
size : '16' // voxel size : [1 - 32]
+
perface = '0' // per face or per vertex [0, 1]
shadow : '1' // enable shadow : [0, 1]
+
ambient = '0.1' // constant ambient [0.0 - 1.0]
outline : '0' // enable outline : [0, 1]
+
gamma = '1.0' // gamma [1.0, 2.2]
}
+
 +
scale = '1 1 1'
 +
pivot = '0.5 0.5 0.0'
 +
tc_offset = '0.5 0.5'
 +
cw = '0'
 +
axis = 'XYZ'
 +
)
  
io_obj :
+
file_iso
{
+
(
scale : '0.1'
+
size = '2' // voxel size : [1 - 8]
axis : 'XZ-Y' // axis : { 'XYZ' : Z up; 'XZ-Y' Y up }
+
height = '4' // height = size * 2 : [1 - 24]
cw : '0' // { 0 : counter clockwise; 1 : clockwise }
 
  
merge : '1' // merge voxel faces with same color
+
view = '1' // num of views : [1 - 4]
}
+
outline = '1' // outline and highlight : [0, 1]
  
io_ply :
+
top = '1.17 1.15 1.25' // top lighting [0.0 - 1.0]
{
+
left = '0.37 0.35 0.55' // left lighting
scale : '0.1'
+
right = '0.87 0.85 0.95' // right lighting
axis : 'XYZ'
+
bevel = '0.13 0.13 0.13' // bevel highlight
cw : '0'
+
)
}
 
  
io_mc :
+
file_2d
{
+
(
scale : '0.1'
+
size = '16' // voxel size : [1 - 32]
axis : 'XYZ'
+
shadow = '1' // enable shadow : [0, 1]
cw : '0'
+
outline = '0' // enable outline : [0, 1]
}
+
)
  
io_cube :
+
file_obj
{
+
(
scale : '0.1'
+
scale = '1 1 1' // scale size
axis : 'XYZ'
+
pivot = '0.5 0.5 0.0' // pivot point ( modelSize * 'pivot' )
cw : '0'
+
tc_offset = '0.5 0.5' // texture coordinate offset ( 0 : corner; 0.5 : center )
 +
cw = '0' // ( 0 : counter clockwise; 1 : clockwise )
 +
axis = 'XZ-Y' // axis ( 'XYZ' : Z up; 'XZ-Y' Y up )
  
margin : '0.1' // 0.0 ~ 1.0
+
optimize = '1' // merge voxel faces with same color
}
+
)
  
io_point :
+
file_ply
{
+
(
scale : '1'
+
scale = '1 1 1'
axis : 'XYZ'
+
pivot = '0.5 0.5 0.0'
 +
tc_offset = '0.5 0.5'
 +
cw = '0'
 +
axis = 'XYZ'
 +
)
  
sample_offset : '0 0 0' // 0.0 ~ 1.0
+
file_3ds
}</pre></li>
+
(
 +
scale = '1 1 1'
 +
pivot = '0.5 0.5 0.0'
 +
tc_offset = '0.5 0.5'
 +
cw = '0'
 +
axis = 'XYZ'
 +
)</pre></li>
 
<li></li>
 
<li></li>
 
</ul>
 
</ul>
<includeonly>{{NavbarSP|0.99.4.2 (config)|plain=1}}</includeonly>
+
<includeonly>{{NavbarSP|0.99.1a (config)|plain=1}}</includeonly>
 
<noinclude>[[Category:Documentation]]</noinclude>
 
<noinclude>[[Category:Documentation]]</noinclude>

Latest revision as of 06:28, 9 September 2019

  • // [EPHTRACY 3/11/2018]
    
    workspace
    (
    	// notice :
    	// 1. use '$' for current directory, otherwise use actual full path
    	// 2. use single '/' or '\' in the path
    	// 3. don't have empty space at ends of path
    
    	dir_model		= [[$/vox]]
    	dir_pattern		= [[$/vox]]
    	dir_palette		= [[$/palette]]
    	dir_export		= [[$/export]]
    	dir_snapshot		= [[$/export]]
    )
    
    view
    (
    	// 0.5 ~ 3.0 : scale ui for high dpi screen
    	ui_scale	= '1.0'
    
    	// 0 ~ 255
    	edge_color	= '17 17 17'//'255 51 102'
    
    	// 0.0 ~ 1.0
    	ambient_color	= '0.19 0.18 0.26'
    )
    
    bake
    (
    	perface			= '0'	// per face or per vertex [0, 1]
    	ambient			= '0.1'	// constant ambient [0.0 - 1.0]
    	gamma			= '1.0' // gamma [1.0, 2.2]
    	
    	scale			= '1 1 1'
    	pivot			= '0.5 0.5 0.0'
    	tc_offset		= '0.5 0.5'
    	cw				= '0'
    	axis			= 'XYZ'
    )
    
    file_iso
    (
    	size			= '2' // voxel size : [1 - 8]
    	height			= '4' // height = size * 2 : [1 - 24]
    
    	view			= '1' // num of views : [1 - 4]
    	outline			= '1' // outline and highlight : [0, 1]
    
    	top				= '1.17 1.15 1.25'		// top lighting [0.0 - 1.0]
    	left			= '0.37 0.35 0.55'		// left lighting
    	right			= '0.87 0.85 0.95'		// right lighting
    	bevel			= '0.13 0.13 0.13'		// bevel highlight
    )
    
    file_2d
    (
    	size			= '16' // voxel size : [1 - 32]
    	shadow			= '1'  // enable shadow : [0, 1]
    	outline			= '0'  // enable outline : [0, 1]
    )
    
    file_obj
    (
    	scale			= '1 1 1'		// scale size
    	pivot			= '0.5 0.5 0.0'	// pivot point ( modelSize * 'pivot' )
    	tc_offset		= '0.5 0.5'		// texture coordinate offset ( 0 : corner; 0.5 : center )
    	cw				= '0'			// ( 0 : counter clockwise; 1 : clockwise )
    	axis			= 'XZ-Y'		// axis ( 'XYZ' : Z up; 'XZ-Y' Y up )
    
    	optimize		= '1'			// merge voxel faces with same color
    )
    
    file_ply
    (
    	scale			= '1 1 1'
    	pivot			= '0.5 0.5 0.0'
    	tc_offset		= '0.5 0.5'
    	cw				= '0'
    	axis			= 'XYZ'
    )
    
    file_3ds
    (
    	scale			= '1 1 1'
    	pivot			= '0.5 0.5 0.0'
    	tc_offset		= '0.5 0.5'
    	cw				= '0'
    	axis			= 'XYZ'
    )
MediaWiki spam blocked by CleanTalk.