Closed perkinslr closed 1 year ago
Ah I will fix it, but I can't commit at the moment since I am moving that functionality to it own file, since it has become more complex.
The is part of the change to the scene manager for gpu. Basically the build has to be what they call embarrass parallel, essentially lock and atomic free, and linear scaling.
At first I thought that the gpu will not need it but in practice there are object that are just to hard to do in gpu, stuff like find joint, raycast, convex case, and so on, you can offload to gpu because the gou sence is few frame behind.
So this imply that the cpu need to keep a spatial scene fir the client app doing queries.
So I start from there. But is has been quite challenging to make and incremental bvh tree, that is embarrassing parallel. Hourly I think I have now.
Any way, I will check the double build.
On Sun, Jul 10, 2022, 11:59 AM Logan Perkins @.***> wrote:
Starting with that commit, building with double precision results in
/tmp/newton-dynamics/newton-4.00/sdk/dCollision/ndScene.cpp:2816:13: error: no matching function for call to 'ndMax' max_x = ndMax(intPosit.m_ix, max_x);
(and the same on the next 2 lines)
And as of commit a5f11c2 https://github.com/MADEAPPS/newton-dynamics/commit/a5f11c2feec9383e4c04dde2a855c309371a2eee it also has the following error
/tmp/newton-dynamics/newton-4.00/sdk/dCollision/ndScene.cpp:96:5: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] m_keyCode[3] = 2; ^ ~ /tmp/newton-dynamics/newton-4.00/sdk/dCollision/ndScene.cpp:105:4: note: array 'm_keyCode' declared here ndUnsigned32 m_keyCode[3];
— Reply to this email directly, view it on GitHub https://github.com/MADEAPPS/newton-dynamics/issues/287, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6EPJHOJKIVVMJR53KAAVLVTMMQRANCNFSM53FNWTGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
ok the double precision problem is fixed now.
Starting with that commit, building with double precision results in
(and the same on the next 2 lines)
And as of commit a5f11c2feec9383e4c04dde2a855c309371a2eee it also has the following error