Jacobus - 2021-02-22

Hi! I hope someone can help. I have loaded an obj-file into a TFreeForm. I have the following code:

GLFreeForm.LoadFromFile('BishopWFinaalLowPoly.Obj');
GLFreeForm.Material.Texture.Disabled := False;
GLFreeForm.Material.Texture.TextureMode := TGLTextureMode.tmReplace;

There seems to be no texture. Must I load the mtl-file seperately for it to display texture? If so, what unit must I add? I know you must add GLS.FileOBJ to load obj-files?

Your help will be much appreciated?