# physika-basic-test
**Repository Path**: laowei1/physika-basic-test
## Basic Information
- **Project Name**: physika-basic-test
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-09-09
- **Last Updated**: 2024-09-25
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

# 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/11**: fully tested
**Linux**: should work as well, yet not guranteed.
### Prerequisites:
IDE:
- Visual studio 2019+
CUDA:
- Latest tests were done based on CUDA Toolkit 12.2, 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(5.13+): https://download.qt.io/
- Wt(4.10.2+): https://www.webtoolkit.eu/wt/
- VTK: https://github.com/Kitware/VTK
- Alembic: https://github.com/alembic/alembic
- Imath: https://github.com/AcademySoftwareFoundation/Imath
### 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't need to change any code when switching between those applications.
- GLFW application
[
](https://github.com/peridyno/peridyno/tree/master/examples/Cuda/SemiAnalytical/Semi_Barricade)
- Qt application
[
](https://github.com/peridyno/peridyno/assets/66506655/466ba7ee-851b-489c-aa7a-4493b3552476.mp4)
- Web application
[
](https://github.com/peridyno/peridyno/tree/master/examples/Cuda/WtGUI/Wt_Barricade)
# Other resources
- Documentation: www.peridyno.com
- API: https://peridyno.com/doxygen/html/index.html
- Courses: https://www.bilibili.com/video/BV15M4y1U76M/
# License
Peridyno's 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.