I would appreciate if you could post a list of things this wrapper should be able to do apart from removing, creating boxes and spheres.
EXPLOSION
NOTE: MOTION BLuR is ON!!!
ORIGINAL POST
getting ready for the intel i9 and using the opportunity of physics simulation with many cpu cores...
3 for quad cores + 1 helper thread + irrlicht thread
5 for hexocore
Code: Select all
//sceneDesc.flags |= NX_SF_SIMULATE_SEPARATE_THREAD; //I'm gonna make your quad core scream for mercy
sceneDesc.flags |= NX_SF_ENABLE_MULTITHREAD;
sceneDesc.backgroundThreadCount = 1;
#ifdef INTELi9
sceneDesc.internalThreadCount = 5;
#else
sceneDesc.internalThreadCount = number_of_threads;
#endif
i'm going to make a sudo wrapper, with some helper classes for specific nodes.
this will be to help to start people off with physX like me!
there will be a class for force fields (explosions, tornadoes etc.), rigid bodies, dynamic meshes (characters), softbodies (cloth), and "jetstreams" (water, bullets etc.) that will cause particles to form at the point of collision (sparks, water spray) AND paged meshes for large stuff.
The reason I call this a sudo wrapper:
-You can have direct access to physX core via pointers that you can get from my daddy class
-You can work the insides of physX directly because the main include file for your project will include physX libs and headers
-This is because someone told me that wrappers kill flexibility
P.S. any model donations would be good.