Skip to main content

A python package for Peridyno

Project description

.. figure:: ../media/Logo.png Overview

PeriDyno is a CUDA-based, highly parallal physics engine targeted at providing real-time simulation of physical environments for intelligent agents.

Installation

Platforms

Windows 10: fully tested

Linux: should work as well, yet not guranteed.

Prerequisites:


IDE:

-  Visual studio 2017+

CUDA:

-  Latest tests were done based on CUDA Toolkit 11.4, should be
   compatible will other old versions.

Graphics:

-  glad: https://github.com/Dav1dde/glad.git
-  glfw: https://github.com/glfw/glfw
-  imgui: https://github.com/ocornut/imgui

Optional:

-  Qt: https://download.qt.io/
-  VTK: https://github.com/Kitware/VTK
-  Alembic: https://github.com/alembic/alembic
-  Imath: https://github.com/AcademySoftwareFoundation/Imath

.. _installation-1:

Installation:
~~~~~~~~~~~~~

Aside from those optional, other libraries are integrated inside the
project to simplify the installation. Use the following git command to
download the project as well as other dependences.

::

   git clone --recursive https://github.com/peridyno/peridyno.git

Build the project:

Check whether CMake has been installed on your system, if not, visit https://cmake.org/download/ to download the lastest version.

Preferred: Run cmake-gui.exe, set the top two entries with the source code and binary directories. Configure the libararies you want to build, then click the Generate button to build the project.

A more convient way to build the project with a default setting is as follows

::

cd peridyo/build cmake ..

Applications

With a scene moded by PeriDyno, it can either be run as a GFLW application, Qt application or even a web application, you don鈥檛 need to change any code when switching between those applications.

  • GLFW application

.. image:: ../media/glfwapp.png

  • Qt application

.. raw:: html

<iframe src="https:://player.bilibili.com/player.html?isOutside=true&aid=1305452611&bvid=BV17M4m167J5&cid=1572121735&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>

License

Peridyno鈥檚 default license is the Apache 2.0 (See LICENSE <https://github.com/peridyno/peridyno/blob/master/LICENSE>__).

External libraries are distributed under their own terms.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyperidyno_rigidbody-1.2.1.tar.gz (3.7 MB view details)

Uploaded Source

File details

Details for the file pyperidyno_rigidbody-1.2.1.tar.gz.

File metadata

  • Download URL: pyperidyno_rigidbody-1.2.1.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pyperidyno_rigidbody-1.2.1.tar.gz
Algorithm Hash digest
SHA256 118a07f3e26916e119f0d51f3f6883c2baccb3456ee5df3b45c600f3cc25594f
MD5 45e42a4f83433a2ef2b3a8a7f25155ed
BLAKE2b-256 ebb24ecf61187803bbb9894ec3525a0e76a3cc597d490296ed44539335a72e2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page