AstrorEnales/blender_magicavoxel

Implement rendering properties

AstrorEnales opened this issue · 0 comments

The spec provides no details on this. The properties from an example file are the following:

[
   {
      "_type":"_bounce",
      "_diffuse":"2",
      "_specular":"5",
      "_scatter":"5",
      "_energy":"3"
   },
   {
      "_type":"_env",
      "_mode":"0"
   },
   {
      "_type":"_inf",
      "_i":"0.7",
      "_k":"255 255 255",
      "_angle":"50 50",
      "_area":"0.07",
      "_disk":"0"
   },
   {
      "_type":"_uni",
      "_i":"0.7",
      "_k":"255 255 255"
   },
   {
      "_type":"_ibl",
      "_path":"HDR_041_Path_Env.hdr",
      "_i":"1",
      "_rot":"0"
   },
   {
      "_type":"_atm",
      "_ray_d":"0.4",
      "_ray_k":"45 104 255",
      "_mie_d":"0.4",
      "_mie_k":"255 255 255",
      "_mie_g":"0.85",
      "_o3_d":"0",
      "_o3_k":"105 255 110"
   },
   {
      "_type":"_fog_uni",
      "_d":"0",
      "_k":"255 255 255",
      "_g":"0"
   },
   {
      "_type":"_lens",
      "_proj":"0",
      "_fov":"45",
      "_aperture":"0.25",
      "_blade_n":"0",
      "_blade_r":"0"
   },
   {
      "_type":"_film",
      "_expo":"1",
      "_vig":"0",
      "_aces":"1",
      "_gam":"2.2"
   },
   {
      "_type":"_bloom",
      "_mix":"0.5",
      "_scale":"0",
      "_aspect":"0",
      "_threshold":"1"
   },
   {
      "_type":"_ground",
      "_color":"80 80 80",
      "_hor":"0.1"
   },
   {
      "_type":"_bg",
      "_color":"0 0 0"
   },
   {
      "_type":"_edge",
      "_color":"0 0 0",
      "_width":"0.2"
   },
   {
      "_type":"_grid",
      "_color":"0 0 0",
      "_spacing":"1",
      "_width":"0.02",
      "_display":"0"
   },
   {
      "_type":"_setting",
      "_ground":"1",
      "_grid":"0",
      "_edge":"0",
      "_bg_c":"0",
      "_bg_a":"0",
      "_scale":"1 1 1",
      "_cell":"1"
   }
]