GithubHelp home page GithubHelp logo

ghidra / cinder-bullet3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryanbartley/cinder-bullet3d

0.0 1.0 0.0 121.42 MB

Bullet Physics 3D Block for use on iOS, MacOSX, and MSW

C++ 65.14% CMake 33.53% Python 1.33%

cinder-bullet3d's Introduction

Fork of Ryan Bartley's Block.

Updated to Cinder Master. Updated to Visual Studio 2017 Working platforms support Windows. Maybe iOS and OSX (Currently untested). Currently, CUDA classes are not included in the build on Windows, for ease of building. Plan is to include them eventually.

Samples

(Note: SoftBodyDemo, Constraints and SphereGravity demos are working but not commented and experimental).

The implicit order of samples is as follows...

  1. HelloWorld
    • This is simply the HelloWorld bullet tutorial running in cinder. This is raw Bullet and shows a lot of what is going on under the hood.
  2. PhysicsPrimitives
    • This shows creating different primitives and adding them to your context and world. PhysicsPrimitives
  3. VisualPhysics
    • This shows wrapping a Visual (gl) object with a Physics (bullet) object, which isn't necessarily intuitive. Hopefully, this will help you out. VisualPhysics
  4. HeightfieldTerrain
    • This shows creating a heightfield and the helpers for gl that are associated with them. Right now there's a disconnect between the visual object of HeightfieldTerrain
  5. RayCasting
    • Shows the operation of raycasting into the bullet context (the world), selecting an object and the ability to manipulate that object in bullet or in your own program. It also shows the use of a simple constraint.
  6. TriggerVolume
    • Shows the operation of creating a trigger and adding that to the world. Triggers are great for explosions, or knowing when something passes an obstacle, etc. It doesn't cause a physical effect in the world but it will issue a collision to your collision listener. You can use this with logic to "trigger" effects.
  7. RagDoll
    • Shows the constraints you'd use to create a ragdoll. (Converted from Bullet Sample) RagDoll
  8. Constraints (when finished)
    • This will be where I represent using constraints with Cinder-Bullet3D.
    • The sample will be modeled from the Bullet Constraint demo.
    • Still working out how to use Constraints within my system because I don't want to wrap all of them. :)
  9. SphereGravity (almost finished)
    • Contributed by Robert Hodgin. Thanks Robert!
    • This is an advanced case, showing many optimizations using Bullet and gl.
    • Uses instancing, UniformScaleShape ( to use the same shape with different uniform scales ) SphereGravity
  10. SoftBodyDemo (when finished)
    • This will model the Bullet SoftBodyDemo.
    • Note: assertion happening on debug. Run in Release at your own risk! SoftBodyDemo

You can find out more about bullet at http://bulletphysics.org/wordpress/

cinder-bullet3d's People

Contributors

bartleyryan avatar ghidra avatar halogenica avatar

Watchers

James Cloos avatar

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.