Giter VIP home page Giter VIP logo

Comments (3)

erwincoumans avatar erwincoumans commented on May 13, 2024

Yes, btGpuDynamicWorld still works at least under Windows (haven't tested Linux/OSX recently).

You need to checkout both the Bullet 3.x repository AND the Bullet 2.x repository in the same location, and then create the build system with premake:

Linux:
premake4_linux64 --bullet2gpu gmake
OSX:
premake4_linux64 --bullet2gpu xcode4
Windows:
premake4_linux64 --bullet2gpu vs2010

It should still be very easy to swap btDiscreteDynamicsWorld (or btCpuDynamicsWorld) with btGpuDynamicWorld .

from bullet3.

joen66 avatar joen66 commented on May 13, 2024

I have compiled and executed the App_BasicGpuDemo on Ubuntu 12.10 64bit successfully.
Steps:

  1. Checkout the bullet2 and bullet3 repository sequentially. Carefully, the bullet3 files must override the bullet2 files.
  2. (naming error) Move all files in the demo3/BasicGpuDemo to Demo3/BasicGpuDemo
  3. (compiling error) Modify Demos3/BasicGpuDemo/b3GpuDynamicsWorld.cpp

line 131 btQuaternion t_orn = (const b3Quaternion&)m_collisionObjects[i]->getWorldTransform().getRotation();
=============================Modified=================================
line 131 btQuaternion t_orn = m_collisionObjects[i]->getWorldTransform().getRotation();
line 132 b3Quaternion orn = (const b3Quaternion&)(t_orn);
4. (Makefile) type "make App_BasicGpuDemo" at /build/gmake directory, and the binary executable file is at the root directory of bullet3, not the /bin directory

thanks

from bullet3.

erwincoumans avatar erwincoumans commented on May 13, 2024

All the issues should be fixed now in latest revision.
Thanks for the report!

from bullet3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.