Accessing Submesh In Mogre C#

hitman_47

10-07-2014 14:02:40

Hello Developers !!!

I Have Separated Single Mesh(Base) Into Multiple Submeshes and Now I Want Access These Submeshes In My Program. How Can I Do This - I Am Using C# For This Purpose. Any Rough Ideas Will Be Appreciated :)

Beauty

17-10-2014 00:55:31

Hi Hitman,

sorry for my late answer.

It's possible to get the data.
Here I published code how you can extract vertex data from ManualObjects:
www.ogre3d.org/tikiwiki/Read+raw+data+from+ManualObject+-+MOGRE

For Meshes it's very similar. Have a look to my re-written Raycasting to the polygon level code.
Code: http://www.ogre3d.org/forums/viewtopic. ... 83#p446083
Notes for my code: http://www.ogre3d.org/forums/viewtopic. ... 51#p448551