I have a couple of problems:
1) 3D lines don't seem to be drawn properly. At the beginning they are, but when I move the camera their positions aren't correct. I think it's not something I've done wrong, because the positions where the lines should be drawn in are static.
2) I have a problem with meshes. I need to have a lot of small meshes for a map, but the perfomance is really poor. I've taken a look to the MeshCombiner, but I can't use it for my project. Therefore, the question is: can I have multiple meshes with the same mesh data (so the perfomance is good)? If so, if I wanted to change the color of a node, could I do the following?
Code: Select all
smgr->getMeshManipulator()->setVertexColors(...)
Thank you for any help you can provide.