
Welcome to Delta3D | Login Monday, September 06 2010 @ 03:45 AM EDT

| |
|
 |
 |
|
|
|
 |
|
|
| issues with HLA stealth util crashing |
Views: 653 |
|
Dan
Registered: 01/06/05
Posts: 1
|
Thursday, January 06 2005 @ 10:07 AM EST |
|
Hello,
I have just been started playing with Delta3D over the last few days, so far I'm pretty impressed.
I seem to be having a problem with the example stealth viewer application.
I have my rti set up (MAK) and when I run the stealth viewer I can see entities from vr forces (and from the testHLA app). Unfortunatly when an entity is destroyed (or removed from the simulation) the stealth view crashes. (for reference I'm using the standard VR-Link.fed file)
VC7 is claiming that the problem is with:
_updateCallback:: operator()(...) in the Object.cpp file, specifiacally
mObject->GetTransform($xform);
Do you have any idea what might be going on here? or where I could look to find the problem? I suspect it might be somthing to do with the removal of entities not been handled fully (Or I've missed something obvious).
Cheers,
Dan.
|
|
|
|
|
osb
Registered: 11/29/04
Posts: 1243
|
Thursday, January 06 2005 @ 11:30 AM EST |
|
Hi Dan,
I have run into the exact same problem when testing our utility hlaStealthViewer with our testHLA example. It is listed on our SF bug page here: http://sourceforge.net/tracker/index.php?func=detail&aid=1068186&group_id=113203&atid=664424
I also suspect there are problems removing entities from a federation and I have tried a number of approaches to do this more cleanly. In the utility/example case the GetTransform is crashing on the icon displayed in the stealthViewr after the entity has beeen removed. However, I haven't found a fix yet so it will remain a bug until we can dedicate more time to HLA support.
If you make any progress, PLEASE post it here! 
-osb |
|
|
|
|
osb
Registered: 11/29/04
Posts: 1243
|
Thursday, January 06 2005 @ 12:29 PM EST |
|
| Good news! The bug has been fixed. It seems we neglected to do a call to mScene->RemoveDrawable on entities as they are removed from the federation (inside of the removeObjectInstance, which is called by RTI). |
|
|
|
|
|
|
 |
 |
|
|
 |
|
|