SFCBias
Member
|
Manually rendering Items
Me and the team i'm apart of have been working on creating weapons that inherit from class Game::Item. Instead of using the Game::World to render, we wanted to do so manually (both for debugging and possibly in game purposes). However, the item does not render when we call drawPrepare from within the RM_PREPARE case.
This is puzzling because we manually update and render our player class using the same method of calling drawPrepare and it works perfectly. Are we missing something? Or is it possible that the Item class has a rendering error inside drawPrepare that causes the mesh not to draw. (btw, if we manually call mesh->draw, it renders. We just feel this may not be the true solution to the problem).
Thanks in advance
|
|
04-23-2011 12:30 AM |
|
Esenthel
Administrator
|
RE: Manually rendering Items
you'd need Game::Item sources from personal license to know why
|
|
04-23-2011 05:33 PM |
|
SFCBias
Member
|
RE: Manually rendering Items
Or... I just need to know if the mesh->draw is called for items like it is for the others
|
|
04-23-2011 07:05 PM |
|