728x90

physx 4.1 4

PhysX 기본이론

PhysX 4.1 초기세팅 (InitPhysX) (tistory.com) PhysX 4.1 초기세팅 (InitPhysX) // Foundation을 생성하는데 필요한 변수 PxDefaultAllocator gAllocator; PxDefaultErrorCallback gErrorCallback; PxFoundation* m_pFoundation = NULL; // PxFoundation이 있어야 gPhysics를 생성할 수 있다. P.. hyukee.tistory.com 위의 피직스 초기세팅을 이어서 하기전에 피직스가 어떻게 동작하는지 알아보자. 일단 피직스는 비동기화 방식이다. 따라서 내가 만든 게임에 수동으로 동기화를 시켜주어야 한다. ____________________________________..

PhysX 2022.04.25

NvCloth 1.1.6 (4.1 버전과 함께 쓰기위한 버전)

피직스가 4.1버전에는 천 물리효과가 없다. 따라서 NvCloth 라는 라이브러리를 가져와서 써야한다. Guide Line: 사용자 가이드 — NvCloth 1.1.5 설명서 (nvidia.com) User Guide — NvCloth 1.1.5 documentation User Guide In this section, we describe how to set up NvCloth and guide you through some common features. Setup Some setup is required before we can start simulating. Here we give an overview of all the components needed. The sections below will ..

PhysX 2022.01.30

PhysX 4.1 초기세팅 (InitPhysX)

// Foundation을 생성하는데 필요한 변수 PxDefaultAllocatorgAllocator; PxDefaultErrorCallbackgErrorCallback; PxFoundation*m_pFoundation = NULL; // PxFoundation이 있어야 gPhysics를 생성할 수 있다. PxPhysics*m_pPhysics = NULL; // CPU 리소스를 효율적으로 공유할 수 있도록 하기 위해 구현하는 것을 추천 PxDefaultCpuDispatcher*m_pDispatcher = NULL; // Scene PxScene*m_pScene = NULL; // m_pPhysics를 사용해 createMaterial해서 사용 // 충돌체 마찰력, Dynamic 마찰력, 탄성력을 지정하여..

PhysX 2021.11.10