Jump to content

Loading mesh without "enabling" it


joshcamas
 Share

Recommended Posts

Hey guys!

 

I'm making a meshManager on my engine, but have fallen into a problem: When you load a mesh, it immediately gets added to the world!

 

What I would like to do is to load the mesh and to use it as a reference for other objects. This would be useful so then one does not need to load hundreds of the identical rock, and such. :)

 

Anyone know how to do this? :D

 

Basically I want a way to load a mesh in the background without a fancy loader, and then reference it.

 

EDIT: Even a better idea would be to have this "mother mesh" never be on the actual scene, while instances are!

 

EDIT2: I have managed to make this work in a very messy way - simply made the meshes invisible, then made instances of it. This seems like a very cheap way to do it. :(

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.

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

Loading...
 Share

  • Recently Browsing   0 members

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