Home
last modified time | relevance | path

Searched refs:terrainShape (Results 1 – 7 of 7) sorted by relevance

/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/gym/pybullet_examples/
H A Dheightfield.py34terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.05,.05,1], heigh… variable
35 terrain = p.createMultiBody(0, terrainShape)
39terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.5,.5,2.5],fileNa… variable
40 terrain = p.createMultiBody(0, terrainShape)
44terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.1,.1,24],fileNam… variable
46 terrain = p.createMultiBody(0, terrainShape)
132 …ightfieldRows, numHeightfieldColumns=numHeightfieldColumns, replaceHeightfieldIndex = terrainShape)
/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/examples/
H A Dheightfield.py34terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.05,.05,1], heigh… variable
35 terrain = p.createMultiBody(0, terrainShape)
39terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.5,.5,2.5],fileNa… variable
40 terrain = p.createMultiBody(0, terrainShape)
44terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.1,.1,24],fileNam… variable
46 terrain = p.createMultiBody(0, terrainShape)
132 …ightfieldRows, numHeightfieldColumns=numHeightfieldColumns, replaceHeightfieldIndex = terrainShape)
H A Dtestrender.py62terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[0.05,0.05,1], hei… variable
64 terrain = p.createMultiBody(0, terrainShape)
68terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.5,.5,2.5],fileNa… variable
69 terrain = p.createMultiBody(0, terrainShape)
73terrainShape = p.createCollisionShape(shapeType = p.GEOM_HEIGHTFIELD, meshScale=[.1,.1,24],fileNam… variable
75 terrain = p.createMultiBody(0, terrainShape)
115 …ightfieldRows, numHeightfieldColumns=numHeightfieldColumns, replaceHeightfieldIndex = terrainShape)
/dports/misc/dartsim/dart-6.11.1/examples/heightmap/
H A Dmain.cpp67 auto terrainShape = std::make_shared<HeightmapShape<S>>(); in createHeightmapShape() local
68 terrainShape->setScale(scale); in createHeightmapShape()
69 terrainShape->setHeightField(data); in createHeightmapShape()
71 return terrainShape; in createHeightmapShape()
92 auto terrainShape = createHeightmapShape( in createHeightmapFrame() local
94 terrainFrame->setShape(terrainShape); in createHeightmapFrame()
/dports/misc/dartsim/dart-6.11.1/unittests/comprehensive/
H A Dtest_Collision.cpp1032 auto terrainShape = std::make_shared<HeightmapShape<S>>(); in testHeightmapBox() local
1038 terrainShape->setHeightField(2u, 2u, heights); in testHeightmapBox()
1041 terrainShape->setScale(Vector3(terrainScale, terrainScale, zScale)); in testHeightmapBox()
1042 EXPECT_EQ(terrainShape->getHeightField().size(), heights.size()); in testHeightmapBox()
1044 terrainFrame->setShape(terrainShape); in testHeightmapBox()
/dports/devel/bullet/bullet3-3.21/examples/SharedMemory/
H A DPhysicsServerCommandProcessor.cpp4946 … btHeightfieldTerrainShape* terrainShape = (btHeightfieldTerrainShape*)handle->m_collisionShape; in processCreateCollisionShapeCommand() local
4947 btScalar* heightfieldDest = (btScalar*)terrainShape->getHeightfieldRawData(); in processCreateCollisionShapeCommand()
4965 terrainShape->getAabb(tr, aabbMin, aabbMax); in processCreateCollisionShapeCommand()
4970 terrainShape->processAllTriangles(&col, aabbMin, aabbMax); in processCreateCollisionShapeCommand()
4973 …m_data->m_guiHelper->updateShape(terrainShape->getUserIndex(), &gfxVertices[0].xyzw[0], gfxVertice… in processCreateCollisionShapeCommand()
4987 …m_data->m_pluginManager.getRenderInterface()->updateShape(terrainShape->getUserIndex2(), &vts[0], … in processCreateCollisionShapeCommand()
4990 terrainShape->clearAccelerator(); in processCreateCollisionShapeCommand()
4991 terrainShape->buildAccelerator(); in processCreateCollisionShapeCommand()
4993 btTriangleInfoMap* oldTriangleInfoMap = terrainShape->getTriangleInfoMap(); in processCreateCollisionShapeCommand()
4995 terrainShape->setTriangleInfoMap(0); in processCreateCollisionShapeCommand()
[all …]
/dports/devel/py-bullet3/bullet3-3.21/examples/SharedMemory/
H A DPhysicsServerCommandProcessor.cpp4946 … btHeightfieldTerrainShape* terrainShape = (btHeightfieldTerrainShape*)handle->m_collisionShape; in processCreateCollisionShapeCommand() local
4947 btScalar* heightfieldDest = (btScalar*)terrainShape->getHeightfieldRawData(); in processCreateCollisionShapeCommand()
4965 terrainShape->getAabb(tr, aabbMin, aabbMax); in processCreateCollisionShapeCommand()
4970 terrainShape->processAllTriangles(&col, aabbMin, aabbMax); in processCreateCollisionShapeCommand()
4973 …m_data->m_guiHelper->updateShape(terrainShape->getUserIndex(), &gfxVertices[0].xyzw[0], gfxVertice… in processCreateCollisionShapeCommand()
4987 …m_data->m_pluginManager.getRenderInterface()->updateShape(terrainShape->getUserIndex2(), &vts[0], … in processCreateCollisionShapeCommand()
4990 terrainShape->clearAccelerator(); in processCreateCollisionShapeCommand()
4991 terrainShape->buildAccelerator(); in processCreateCollisionShapeCommand()
4993 btTriangleInfoMap* oldTriangleInfoMap = terrainShape->getTriangleInfoMap(); in processCreateCollisionShapeCommand()
4995 terrainShape->setTriangleInfoMap(0); in processCreateCollisionShapeCommand()
[all …]