ozRocker Posted April 16, 2017 Share Posted April 16, 2017 I can see the Typescript file only in the GIT repo. however I did have an older copy of the objLoader. Weird thing is that I cannot access materials from meshes loaded with the objLoader. I can see the materials property when I print the mesh to the console but when I try to access it in code it says its undefined. Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 16, 2017 Share Posted April 16, 2017 Can you try this one ? https://babylonjs.azurewebsites.net/lib/babylon.objFileLoader.js Quote Link to comment Share on other sites More sharing options...
ozRocker Posted April 16, 2017 Author Share Posted April 16, 2017 49 minutes ago, Temechon said: Can you try this one ? https://babylonjs.azurewebsites.net/lib/babylon.objFileLoader.js I still have problems with undefined material with that one. What I noticed is that the material eventually appears. I have to check for it in the render loop and once its no longer "undefined" I can use it. It appears after about 4 frames. Quote Link to comment Share on other sites More sharing options...
ozRocker Posted April 22, 2017 Author Share Posted April 22, 2017 We have resolved the "undefined materials" problem here in this thread: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.