Jump to content

Load .obj file with out .mtl


Recommended Posts

Hi N!


I show it being 71 bytes.   Only data inside is:

# This file uses centimeters as units for non-parametric coordinates.

FYI... @adam said something about working on a bug in objectLoader regarding material loading... something about needing to load .mtl FIRST, and then the model data.  But maybe that is not pertinent, here, yet.  :)  Two other threads about .obj loading... have happened recently.  Epidemic? 

Link to comment
Share on other sites


CORs hassles.   grrrr.   CORs ruined all the fun of the web, it did.  :(

Let's borrow some of Xander93's code for a moment.  Go here... http://urbanproductions.com/wingy/babylon/khaled/objload01.htm

Push gray box in lower right, and load aw2.obj from your local drive.  Works fine for me, but that doesn't mean anything important.  :)

Pardon the bad assetManager loading screen... I guess I broke it.

I have heard some talk (a rumor) about using Append() instead of Load()... but I don't know the status of that.  Xander93's app uses Append.  (see its source)  I changed it to be Append, not Xander93.

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...