In Ageias PhysX user can set its own message channel and catch any message or error from library. (NxUserOutputStream)
Because my application has no console it would be really help full to have such system in Bullet too instate of printf.
Actually in my application STL is really rare and standard I/O is not allowed.
It is also very nice to have btAssert define so it can be easily replaced by my own assert system!
Debuger Messages
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Debuger Messages
Thanks for the useful feedback.DevO wrote:In Ageias PhysX user can set its own message channel and catch any message or error from library. (NxUserOutputStream)
Because my application has no console it would be really help full to have such system in Bullet too instate of printf.
Actually in my application STL is really rare and standard I/O is not allowed.
It is also very nice to have btAssert define so it can be easily replaced by my own assert system!
I like the idea of providing such mechanism, and actually it would be natural to go through the existing 'btIDebugDrawer' interface.
While working on SIMD, I needed to remove quite a few STL std::vector containers, due to alignment problems. So a custom memory allocator will be added too.
Good idea about the btAssert, I will consider some mechanism.
Erwin