GithubHelp home page GithubHelp logo

xarray / osgphysx Goto Github PK

View Code? Open in Web Editor NEW
39.0 7.0 28.0 37.52 MB

Integraion of OpenSceneGraph and NVIDIA PhysX (3.3 or later)

License: MIT License

C++ 93.63% C 1.67% Objective-C++ 2.80% CMake 1.12% Objective-C 0.78%

osgphysx's Introduction

osgPhysX
=============

The osgPhysX project focuses on the integration of OpenSceneGraph and NVIDIA PhysX. The main purpose
is to integrate and demonstrate physics-based rigid, soft bodies, clothes, particles and vehicles in
3D scene, all of which are well supported by the powerful PhysX engine.

------------
Installation
------------

0. Dependencies
* OpenSceneGraph (version 3.0 or later): http://www.openscenegraph.com
* NVIDIA PhysX (version 3.3 or later): http://developer.nvidia.com/physx-downloads
* DirectX SDK (for DirectInput to work, which is used by the internal OIS library for buffered inputs)

1. Use CMake (or cmake-gui) to build makefiles or solutions
# cmake <recipe_dir> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=<install_dir>

2. Run 'make' to build and install all recipes
# make
# make install

3. Have fun!

------------
Examples
------------

character_controller_test:
Move a character on complex ground and environment, which is useful in FPS games and simulations.
Press '2' to change to first-person mode first, and press Ctrl + mouse dragging to walk.

physics_vehicle_test:
Move a 4-wheel vehicle on complex ground and environment. Also shows how to create simple physics boxes 
and particles. Use arrow keys to move the vehicle and see how the racing engine works.

------------
Contributing
------------

Any suggestions and contributions are welcomed all the time. :-)

osgphysx's People

Contributors

xarray avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

osgphysx's Issues

sample data

Hi Rui,
could you please add the missing textures to the repository?
Error reading file exo_gray.fbm\BODY_diffuse.png: file not found
Error reading file exo_gray.fbm\EXO_diffuse.png: file not found
(and the animations should move to an animations folder)
Thank you
Uwe

Unknown CMake command START_EXECUTABLE()

Hello,

I get the error:

CMake Error at CMakeLists.txt:10 (START_EXECUTABLE):
  Unknown CMake command "START_EXECUTABLE".

Any hints? Thank you very much!

Cheers!

DirectX SDK Dependency on Linux Systems

The Codebase requires DirectX SDK as a dependency. Does this disallow compilation on Linux Systems? Is there a way to build or port to a Linux environment?

Thank you for your time.

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.