忍者ブログ
MASTER →  ADMIN / NEW ENTRY / COMMENT
現代魔法(nearly equal 情報技術)を勉強中な人のメモ(チラシの裏)
/ 2017/10/21 (Sat) / 編集
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

/ 2009/12/16 (Wed) / 編集
とりあえず、Bulletのまとめページ作ってみるテスト

ちなみに、以下はMacOSXにFrameworkとしてインストールした場合のメモです。(ほかはシラネ)

Demoのコンパイル

ソースコードの修正

「#include "btBulletDynamicsCommon.h"」を 「#include "BulletDynamics/btBulletDynamicsCommon.h"」に修正。

それでも大量のwarningが出る、気になる人は修正してね。

Makefile

Demo/OpenGL内のファイルもコンパイルすることに注意!(以下はBasicDemoの例)
PROGNAME = BasicDemo

SUPPORTFILES = ../OpenGL/*.cpp
incSUPPORT = -I../OpenGL

SRCFILES = $(PROGNAME).cpp main.cpp $(SUPPORTFILES)

CXX = g++ -O2 -Wall

libGL = -framework OpenGL -framework GLUT -framework Foundation
libBULLET =  -framework BulletCollision -framework BulletDynamics -framework BulletSoftBody -framework LinearMath

INCLUDES = $(incSUPPORT) 
LIBS = $(libGL) $(libBULLET)

all:
	$(CXX)  $(SRCFILES) $(LIBS) $(INCLUDES) -o App$(PROGNAME)
	
clean:
	rm -rf App$(PROGNAME)
これでもコンパイルできないモノも有る、失敗確認済み「Benchmarks」

Framework内ヘッダファイルまとめ

LinearMath.framework

 +-- btAabbUtil2.h
 +-- btAlignedAllocator.h
 +-- btAlignedObjectArray.h
 +-- btConvexHull.h
 +-- btDefaultMotionState.h
 +-- btGeometryUtil.h
 +-- btHashMap.h
 +-- btIDebugDraw.h
 +-- btList.h
 +-- btMatrix3x3.h
 +-- btMinMax.h
 +-- btMotionState.h
 +-- btPoolAllocator.h
 +-- btQuadWord.h
 +-- btQuaternion.h
 +-- btQuickprof.h
 +-- btRandom.h
 +-- btScalar.h
 +-- btStackAlloc.h
 +-- btTransform.h
 +-- btTransformUtil.h
 +-- btVector3.h

LinearMath.framework

 +-- BroadphaseCollision/
 |    +-- btAxisSweep3.h
 |    +-- btBroadphaseInterface.h
 |    +-- btBroadphaseProxy.h
 |    +-- btCollisionAlgorithm.h
 |    +-- btDbvt.h
 |    +-- btDbvtBroadphase.h
 |    +-- btDispatcher.h
 |    +-- btMultiSapBroadphase.h
 |    +-- btOverlappingPairCache.h
 |    +-- btOverlappingPairCallback.h
 |    +-- btQuantizedBvh.h
 |    +-- btSimpleBroadphase.h
 +-- CollisionDispatch/
 |    +-- SphereTriangleDetector.h
 |    +-- btActivatingCollisionAlgorithm.h
 |    +-- btBox2dBox2dCollisionAlgorithm.h
 |    +-- btBoxBoxCollisionAlgorithm.h
 |    +-- btBoxBoxDetector.h
 |    +-- btCollisionConfiguration.h
 |    +-- btCollisionCreateFunc.h
 |    +-- btCollisionDispatcher.h
 |    +-- btCollisionObject.h
 |    +-- btCollisionWorld.h
 |    +-- btCompoundCollisionAlgorithm.h
 |    +-- btConvex2dConvex2dAlgorithm.h
 |    +-- btConvexConcaveCollisionAlgorithm.h
 |    +-- btConvexConvexAlgorithm.h
 |    +-- btConvexPlaneCollisionAlgorithm.h
 |    +-- btDefaultCollisionConfiguration.h
 |    +-- btEmptyCollisionAlgorithm.h
 |    +-- btGhostObject.h
 |    +-- btManifoldResult.h
 |    +-- btSimulationIslandManager.h
 |    +-- btSphereBoxCollisionAlgorithm.h
 |    +-- btSphereSphereCollisionAlgorithm.h
 |    +-- btSphereTriangleCollisionAlgorithm.h
 |    +-- btUnionFind.h
 +-- CollisionShapes/
 |    +-- btBox2dShape.h
 |    +-- btBoxShape.h
 |    +-- btBvhTriangleMeshShape.h
 |    +-- btCapsuleShape.h
 |    +-- btCollisionMargin.h
 |    +-- btCollisionShape.h
 |    +-- btCompoundShape.h
 |    +-- btConcaveShape.h
 |    +-- btConeShape.h
 |    +-- btConvex2dShape.h
 |    +-- btConvexHullShape.h
 |    +-- btConvexInternalShape.h
 |    +-- btConvexPointCloudShape.h
 |    +-- btConvexShape.h
 |    +-- btConvexTriangleMeshShape.h
 |    +-- btCylinderShape.h
 |    +-- btEmptyShape.h
 |    +-- btHeightfieldTerrainShape.h
 |    +-- btMaterial.h
 |    +-- btMinkowskiSumShape.h
 |    +-- btMultiSphereShape.h
 |    +-- btMultimaterialTriangleMeshShape.h
 |    +-- btOptimizedBvh.h
 |    +-- btPolyhedralConvexShape.h
 |    +-- btScaledBvhTriangleMeshShape.h
 |    +-- btShapeHull.h
 |    +-- btSphereShape.h
 |    +-- btStaticPlaneShape.h
 |    +-- btStridingMeshInterface.h
 |    +-- btTetrahedronShape.h
 |    +-- btTriangleBuffer.h
 |    +-- btTriangleCallback.h
 |    +-- btTriangleIndexVertexArray.h
 |    +-- btTriangleIndexVertexMaterialArray.h
 |    +-- btTriangleMesh.h
 |    +-- btTriangleMeshShape.h
 |    +-- btTriangleShape.h
 |    +-- btUniformScalingShape.h
+-- Gimpact/
 |    +-- btBoxCollision.h
 |    +-- btClipPolygon.h
 |    +-- btContactProcessing.h
 |    +-- btGImpactBvh.h
 |    +-- btGImpactCollisionAlgorithm.h
 |    +-- btGImpactMassUtil.h
 |    +-- btGImpactQuantizedBvh.h
 |    +-- btGImpactShape.h
 |    +-- btGenericPoolAllocator.h
 |    +-- btGeometryOperations.h
 |    +-- btQuantization.h
 |    +-- btTriangleShapeEx.h
 |    +-- gim_array.h
 |    +-- gim_basic_geometry_operations.h
 |    +-- gim_bitset.h
 |    +-- gim_box_collision.h
 |    +-- gim_box_set.h
 |    +-- gim_clip_polygon.h
 |    +-- gim_contact.h
 |    +-- gim_geom_types.h
 |    +-- gim_geometry.h
 |    +-- gim_hash_table.h
 |    +-- gim_linear_math.h
 |    +-- gim_math.h
 |    +-- gim_memory.h
 |    +-- gim_radixsort.h
 |    +-- gim_tri_collision.h
 +-- NarrowPhaseCollision/
 |    +-- btContinuousConvexCollision.h
 |    +-- btConvexCast.h
 |    +-- btConvexPenetrationDepthSolver.h
 |    +-- btDiscreteCollisionDetectorInterface.h
 |    +-- btGjkConvexCast.h
 |    +-- btGjkEpa2.h
 |    +-- btGjkEpaPenetrationDepthSolver.h
 |    +-- btGjkPairDetector.h
 |    +-- btManifoldPoint.h
 |    +-- btMinkowskiPenetrationDepthSolver.h
 |    +-- btPersistentManifold.h
 |    +-- btPointCollector.h
 |    +-- btRaycastCallback.h
 |    +-- btSimplexSolverInterface.h
 |    +-- btSubSimplexConvexCast.h
 |    +-- btVoronoiSimplexSolver.h
 +-- btBulletCollisionCommon.h

BulletSoftBody.framework

 +-- btSoftBody.h
 +-- btSoftBodyConcaveCollisionAlgorithm.h
 +-- btSoftBodyHelpers.h
 +-- btSoftBodyRigidBodyCollisionConfiguration.h
 +-- btSoftRigidCollisionAlgorithm.h
 +-- btSoftRigidDynamicsWorld.h
 +-- btSoftSoftCollisionAlgorithm.h
 +-- btSparseSDF.h

BulletDynamics.framework

 +-- Character/
 |    +-- btCharacterControllerInterface.h
 |    +-- btKinematicCharacterController.h
 +-- ConstraintSolver/
 |    +-- btConeTwistConstraint.h
 |    +-- btConstraintSolver.h
 |    +-- btContactConstraint.h
 |    +-- btContactSolverInfo.h
 |    +-- btGeneric6DofConstraint.h
 |    +-- btGeneric6DofSpringConstraint.h
 |    +-- btHinge2Constraint.h
 |    +-- btHingeConstraint.h
 |    +-- btJacobianEntry.h
 |    +-- btPoint2PointConstraint.h
 |    +-- btSequentialImpulseConstraintSolver.h
 |    +-- btSliderConstraint.h
 |    +-- btSolve2LinearConstraint.h
 |    +-- btSolverBody.h
 |    +-- btSolverConstraint.h
 |    +-- btTypedConstraint.h
 |    +-- btUniversalConstraint.h
 +-- Dynamics/
 |    +-- btActionInterface.h
 |    +-- btContinuousDynamicsWorld.h
 |    +-- btDiscreteDynamicsWorld.h
 |    +-- btDynamicsWorld.h
 |    +-- btRigidBody.h
 |    +-- btSimpleDynamicsWorld.h
 +-- Vehicle/
 |    +-- btRaycastVehicle.h
 |    +-- btVehicleRaycaster.h
 |    +-- btWheelInfo.h
 +-- btBulletCollisionCommon.h
 +-- btBulletDynamicsCommon.h

拍手[0回]

PR
忍者ブログ [PR]