I’ve a face.obj and face.mtl file. But libgdx doesn’t allow me to render face.mtl it just takes face.mtl that’s why I’m not able show texture on it. So how should I load face.mtl in directly face.obj file.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Indeed, LibGDX was not loading .MTL files before, and you were expected to manually load texture assets for your .OBJ model.
Now (Oct. 2012) it does. (As seen here https://github.com/libgdx/libgdx/pull/71)