OK so maybe it could use some improving for now, but who really cares? The files export out of Blender as text files and I'm used to text hacking scene files anyway however . . . .
When it comes to the materials.vrsecene file, I can't find any reference on what parameters I can add. Here's a chunk of material.vrscene code.
////////////////////////////////////////
//
// Material: Saucer
//
BitmapBuffer BitmapBuffer_metal5_jpg {
file= "..\textures\metal5.jpg";
filter_type= 1;
filter_blur= 1.000;
gamma= 1.000000;
}
UVWGenChannel UVWGenChannel_metal5_jpg {
uvw_channel= 1;
uvw_transform= Transform(
Matrix(
Vector(1.0,0.0,0.0)*1,
Vector(0.0,1.0,0.0)*1,
Vector(0.0,0.0,1.0)
),
Vector(0.0,0.0,0.0)
);
}
TexBitmap TexBitmap_Tex {
bitmap= BitmapBuffer_metal5_jpg;
uvwgen= UVWGenChannel_metal5_jpg;
nouvw_color= AColor(0,0,0,0);
}
BRDFBlinn BRDFGlossy_Material_Saucer {
color= Color(1.000, 1.000, 1.000)*0.55;
subdivs= 8;
transparency= Color(1,1,1)*0.1;
reflectionGlossiness= 10000000000; //meant to be a joke
hilightGlossiness= 1;
back_side= 1;
trace_reflections= 1;
trace_depth= 2;
anisotropy= 0;
cutoff= 0.010000;
}
BRDFDiffuse BRDFDiffuse_Material_Saucer {
color= Color(1,1,1);
color_tex= TexBitmap_Tex;
color_tex_mult= 1.000;
transparency= Color(0,0,0);
}
BRDFLayered BRDFLayered_Material_Saucer {
brdfs= List(
BRDFGlossy_Material_Saucer,
BRDFDiffuse_Material_Saucer
);
}
MtlSingleBRDF Material_Saucer {
brdf= BRDFLayered_Material_Saucer;
double_sided= 1;
}
/////////////////////
Under the BRDFGlossy_Material section, I could add phong or blinn or whatever but does it work and if it doesn't what does? It seems Maya or Max to Vray is built all around the GUI but there's no reference to the specifics of text editing the files. I see Blender put out Glossy_Material but also Mirror_Material. I think users would be stunned and pleased once they got the hang of powerfully editing text instead of playing with sliders. Any reference would be helpful and I did Google the crap out of it and came up . . . . Empty.
When it comes to the materials.vrsecene file, I can't find any reference on what parameters I can add. Here's a chunk of material.vrscene code.
////////////////////////////////////////
//
// Material: Saucer
//
BitmapBuffer BitmapBuffer_metal5_jpg {
file= "..\textures\metal5.jpg";
filter_type= 1;
filter_blur= 1.000;
gamma= 1.000000;
}
UVWGenChannel UVWGenChannel_metal5_jpg {
uvw_channel= 1;
uvw_transform= Transform(
Matrix(
Vector(1.0,0.0,0.0)*1,
Vector(0.0,1.0,0.0)*1,
Vector(0.0,0.0,1.0)
),
Vector(0.0,0.0,0.0)
);
}
TexBitmap TexBitmap_Tex {
bitmap= BitmapBuffer_metal5_jpg;
uvwgen= UVWGenChannel_metal5_jpg;
nouvw_color= AColor(0,0,0,0);
}
BRDFBlinn BRDFGlossy_Material_Saucer {
color= Color(1.000, 1.000, 1.000)*0.55;
subdivs= 8;
transparency= Color(1,1,1)*0.1;
reflectionGlossiness= 10000000000; //meant to be a joke
hilightGlossiness= 1;
back_side= 1;
trace_reflections= 1;
trace_depth= 2;
anisotropy= 0;
cutoff= 0.010000;
}
BRDFDiffuse BRDFDiffuse_Material_Saucer {
color= Color(1,1,1);
color_tex= TexBitmap_Tex;
color_tex_mult= 1.000;
transparency= Color(0,0,0);
}
BRDFLayered BRDFLayered_Material_Saucer {
brdfs= List(
BRDFGlossy_Material_Saucer,
BRDFDiffuse_Material_Saucer
);
}
MtlSingleBRDF Material_Saucer {
brdf= BRDFLayered_Material_Saucer;
double_sided= 1;
}
/////////////////////
Under the BRDFGlossy_Material section, I could add phong or blinn or whatever but does it work and if it doesn't what does? It seems Maya or Max to Vray is built all around the GUI but there's no reference to the specifics of text editing the files. I see Blender put out Glossy_Material but also Mirror_Material. I think users would be stunned and pleased once they got the hang of powerfully editing text instead of playing with sliders. Any reference would be helpful and I did Google the crap out of it and came up . . . . Empty.
Comment