I am able now to render the mesh. I still haven't setup the animation but I imagine it will be easier since now I have the mesh shows up correctly. Well, almost correctly. For some reason, on my game application, the mesh appears to have small glitch, but on my editor side there is no such thing (left from game application, right from editor):
As can be seen, on the application side some polygons are drawn in black or they might be missing. I suspect most likely it's due to CEGUI setup again, or it could be some unknown minor setup differences between the application and the editor. I will have to investigate this more.
The problem before was I didn't actually call the update bone matrix function, which I thought was called in rendering function. Now the problem is I have to update the animation, which I don't have a clear idea how yet.
Although I didn't spend a lot of time with it, it's a good progress now that I have gotten an animated mesh to show up. Again I should spend more time with it to speed up the development. Definitely in the up coming holiday I will do that. Sometimes though it's not just the time, but the energy. During the weekend I have time but sometimes I just find myself exhausted already. But again it's probably just human natural laziness kicks in.
15 Dec 2008
Mesh Shows Up, Almost Properly
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment