Just a follow-up post.
I know PhysX has methods like:
[code:1:a6aaa59792]
NXU::NxuPhysicsCollection *c = NXU::extractCollectionScene(gScenes[gCurrentScene]);
[/code:1:a6aaa59792]
to extract the scene data to a physics collection, and then use something like:
[code:1:a6aaa59792]
NXU::instantiateCollection( c, *gPhysicsSDK, 0, 0, &gUserNotify );
NXU::releaseCollection(c);
[/code:1:a6aaa59792]
to take that cached scene from disk, (collada, or nxstream).
I just wanted to ask would there be much of a performance hit in saving this collection in system memory as opposed to writing out to NxStream or equivalent. I suppose this would be dependent on the number of actors in the physics scene, (which I will profile).
Any input welcome…
B.