ShimShamSam Posted November 19, 2013 Share Posted November 19, 2013 I'm guessing it is for caching purposes, but I don't see anything obvious happening with the source code. Can anyone clarify this? Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 19, 2013 Share Posted November 19, 2013 Hi Knotix, the mesh name is used in the scene hierarchy. It represents the ID of the object in the scene.Thus, you can retrieve a mesh by its name. For example : scene.getMeshByName("sphere")It works with materials too scene.getMaterialByName("ground") Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 19, 2013 Share Posted November 19, 2013 It is good to know.How far along are you at this point with the documentation that you were talking about do Temechon? Thank you in advance. Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 19, 2013 Share Posted November 19, 2013 Not so far I'm afraid !I started something, but I don't have a lot of time to work on it as I do it on my free time. I will create a new post in few days/weeks Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 19, 2013 Share Posted November 19, 2013 Ok, thanksThe documentation will be a great advantage for this engine. Quote Link to comment Share on other sites More sharing options...
ShimShamSam Posted November 20, 2013 Author Share Posted November 20, 2013 Why can I create two meshes with the same name and it still works? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 20, 2013 Share Posted November 20, 2013 This is normal, but if you have to retrieve the models by the name, it does not walk as you want.It is up to you to take care of giving names different has your models. 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.