more work towards gpu split jacobi solver

This commit is contained in:
erwin coumans
2013-03-26 13:38:04 -07:00
parent 9c0ca25cf6
commit b8c32a99cb
9 changed files with 2101 additions and 83 deletions

View File

@@ -37,9 +37,9 @@ public:
:useOpenCL(true),
preferredOpenCLPlatformIndex(-1),
preferredOpenCLDeviceIndex(-1),
arraySizeX(30),
arraySizeY(30 ),
arraySizeZ(30),
arraySizeX(41),
arraySizeY(44),
arraySizeZ(41),
m_useConcaveMesh(false),
gapX(14.3),
gapY(14.0),

View File

@@ -66,6 +66,7 @@ void GpuConvexScene::setupScene(const ConstructionInfo& ci)
float mass = j==0? 0.f : 1.f;
btVector3 position((j&1)+i*2.2,2+j*2.,(j&1)+k*2.2);
btQuaternion orn(1,0,0,0);
btVector4 color = colors[curColor];