Physx Plug-in Version 3.02.01024.04200 for 3dStudio Max 2015 issue

PhysX Plug-in Version 3.02.01024.04200 for 3dStudio Max 2015

the exported repX file from this plugin doesn’t match with the default extention

ExtDefaultSimulationFilterShader.cpp

the max plugin regularly exports filter data like this 131072 14 0 0

or this 65537 2 0 0

with a group size of 32 inside ExtDefaultSimulationFilterShader.cpp

you will try to access data outside the array PxCollisionBitMap gCollisionTable[GROUP_SIZE][GROUP_SIZE];
defined on line 58.

one workaround is modify ExtDefaultSimulationFilterShader and compile your own extention library

or make sure all your filtershader nodes use numbers < 32

i.e 6 14 0 0
2 2 0 0

instead.

Hello coz540,

thank you very much for your post - I think I have the same problem:

If I take a 3ds Max RepX-File in my physX programm I get the error:
anonymous namespace’::PxCollisionBitMap::operator()() Zeile 51 + 0xa Bytes
physx::PxDefaultSimulationFilterShader()
physx::Ext::DefaultCpuDispatcher::runTask()
physX::Ext::CpuWorkerThread::execute()

If I just change in the RepX-File “4294967295 4294967295 4294967295 4294967295” to “0 0 0 0” it works fine - but I want to use the RepX-File from 3ds Max without any manual change.

You wrote two solutions to solve the problem
a.) modify ExtDefaultSimulationFilterShader and compile your own extention library
b.) make sure all your filtershader nodes use numbers < 32

I think a.) is a workaround in visual studio using PhysX SDK and b.) in 3ds max.
Can you write a little bit more about the two solutions? I am a beginner and don’t know how to solve the problem…
What does “SimulationFilterData” stands for?

Thank you!

I

the data is used to manage the collisions between rigid bodies in different simulation sets. Only those under a same set will collide to each other. You have to write your own filter codes to handle them.