Hi,
i'm trying to load and display stl files in a modified sample.
i'm using the SVN version as I want to benefit the VBOs.
I have a problem with the material, I cannot find a way to display the stl model in gouraud shading, as I will have no textures associated with the models.
All I have a a full black model (or white)
Is that possible to use materials without textures with an imported STL file ?
if yes, how ?
thanks,
Stephane
gouraud shading display of a stl file
I think you should put this line
Code: Select all
node->setMaterialFlag(video::EMF_LIGHTING, false);