Jump to content

objLoader javascript file missing and old one seems broken


Recommended Posts

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.

Link to comment
Share on other sites

49 minutes ago, Temechon said:

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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...