Debuger Messages

DevO
Posts: 95
Joined: Fri Mar 31, 2006 7:13 pm

Debuger Messages

Post by DevO »

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!
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Debuger Messages

Post by Erwin Coumans »

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!
Thanks for the useful feedback.

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