Jump to content

Stupid question about SubMesh


Recommended Posts

Hi Folks,

I have a really stupid question about SubMesh. When and where do we need to create SubMeshes instead of a Mesh? In other world, what is the advantage of SubMesh compared to Mesh? I saw that OBJ loader create just one SubMesh under a Mesh and the Material is attached to the SubMesh instead of the Mesh. So, I am a little bit confused.. But I am sure there must be a reason. ^_^

And what is the materialIndex stands for? It seems that its parent Mesh can only have one Material so that the index should always be zero? :rolleyes:


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