blender2ogre
blender2ogre copied to clipboard
Mesh Without Material
Hello, I was wondering if Blender2Ogre could export a mesh without a material attached to it. For example, we want to have *.mesh with no predefined material so we can assign our own.
Thanks you!
https://github.com/OGRECave/blender2ogre#external-ogre-materials ?
Hello paroj,
Thank you for the response. I am sorry I did not see this. But I also want to clarify a few things ...
We are new to Ogre and just want to get the basics done correctly. After getting meshes loaded and with their material and textures, I can only assume the internal workings of the function automatically load and apply materials/textures that are predefined in the *.mesh itself.
If this is correct, I would like to know of a way that does not do this, so that in our editors we can assign our own materials, and textures (basically like HLMS PBR).
Thank you for your time.
the mesh file merely stores a material name that is resolved on loading from the supplied *.material scripts and the programmatically created materials.
So if you would like to use a material from the HLMS sample (1.10) you would call the material extern.PBS_X_Y_Z
and make sure that the according material is created before the mesh is loaded.
Okay! So there is no way we can leave this section blank, and supply the Material in our own tools? If so, I assume we can use some basic Generic Material, and then we can change that later, correct?
Thanks!
yes, this would be the most straighforward approach. Note that Ogre requires that some material is specified on loading - otherwise we would not know how to render the mesh.