Kevin Gliewe
Kevin Gliewe
Fixes: https://github.com/NVIDIAGameWorks/NvCloth/issues/47 This PR also contains the changes from this PR: https://github.com/NVIDIAGameWorks/NvCloth/pull/49
This PR exposes the same CMake Arguments from the main NvCloth Project on the samples Project. `CmakeGenerateProjects.bat ` Fixes: https://github.com/NVIDIAGameWorks/NvCloth/issues/50
Fixes: https://github.com/NVIDIAGameWorks/NvCloth/issues/48
There are multible Compiler Errors when Setting USE_SELF_COLLISION_SORT to 0. https://github.com/NVIDIAGameWorks/NvCloth/blob/145cd88fcd3ab3e16862b90c932175a5b6e17636/NvCloth/src/dx/DxSolverKernel.hlsl#L1381 > undeclared identifier 'i' https://github.com/NVIDIAGameWorks/NvCloth/blob/145cd88fcd3ab3e16862b90c932175a5b6e17636/NvCloth/src/dx/DxSolverKernel.hlsl#L1566 > undeclared identifier 'cdistSq' https://github.com/NVIDIAGameWorks/NvCloth/blob/145cd88fcd3ab3e16862b90c932175a5b6e17636/NvCloth/src/dx/DxSolverKernel.hlsl#L1619 > undeclared identifier 'cellStartOffset' https://github.com/NVIDIAGameWorks/NvCloth/blob/145cd88fcd3ab3e16862b90c932175a5b6e17636/NvCloth/src/dx/DxSolverKernel.hlsl#L1672
The main NvCloth Project got the Options to disable the CUDA and DX Solver. It would make sense to expose the same Options for the samples Project. From the documentation:...
The reason for it is the default for `disposeElementWhenDone` in `UI.Publish` is `true` (see [here](https://github.com/praeclarum/Ooui/blob/master/Ooui/UI.cs#L98)). So the element get disposed on any disconnect and no new Element is instantiated for...