Skip to content
/ bicudo Public

SAT physics engine library accelerated via ROCm/or CPU-side

License

Notifications You must be signed in to change notification settings

vokegpu/bicudo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bicudo

Bicudo is a physics engine library being develop to process SAT and Newton's laws under GPU via ROCm/HIP (or CPU-side only). The project uses a client called Meow OpenGL-4 based to test the library, but you are able to build the library to use in your application. It only requires ROCm/HIP.

Bicudo Building

Bicudo library requires only ROCm/HIP library.

cmake -S . -B ./cmake-build-debug -G Ninja && cmake --build ./cmake-build-debug

Outputs: /lib/windows/libbicudo.a, /lib/linux/libbicudo.a

Meow Building

Meow is the graphical application used to test and showcase the Bicudo engine. It is not necessary, you can skip if you want.

For building Meow you must download all these libraries:
EKG GUI Library
FreeType
SDL2
ROCm/HIP
GLEW

And a GCC/Clang compiler. Run the following command:

cd ./meow # Meow is a sub-folder in this project
cmake -S . -B ./cmake-build-debug/ -G Ninja && cmake --build ./cmake-build-debug/

Outputs: ./meow/bin/meow, ./meow/bin/meow.exe

Thanks

Michael Tanaya (Author), Huaming Chen (Author), Jebediah Pavleas (Author), Kelvin Sung (Author); of book Building a 2D Game Physics Engine: Using HTML5 and JavaScript 😊🐄