How would I add multiple .x meshes to 1 mesh buffer so I can add it to a single SceneNode at runtime?
I have done a search and couldn't find an answer.
________
Medical marijuana card
Adding Multiple meshes to a single mesh?
Adding Multiple meshes to a single mesh?
Last edited by roguelike on Tue Feb 22, 2011 10:49 pm, edited 1 time in total.
I was thinking of creating a random maze made up of boxes, instead of adding one box per sceneNode or even TestSceneNodes, creating the whole mesh in one go, then having only 1 sceneNode.
It's purely for performance.
________
JAILBROKEN
It's purely for performance.
________
JAILBROKEN
Last edited by roguelike on Tue Feb 22, 2011 10:49 pm, edited 1 time in total.
Thanks for the speedy response.
I can see how you can getVertices() and getIndices() from a mesh buffer, but how do you set them?
Are there any functions, routines that you know of that will achieve something similar?
Maybe I need to go away and have a play, then come back again?
________
HERBALAIRE
I can see how you can getVertices() and getIndices() from a mesh buffer, but how do you set them?
Are there any functions, routines that you know of that will achieve something similar?
Maybe I need to go away and have a play, then come back again?
________
HERBALAIRE
Last edited by roguelike on Tue Feb 22, 2011 10:49 pm, edited 1 time in total.