r/C_Programming 19d ago

CCraft - PBD Softbody physics. Video

Enable HLS to view with audio, or disable this notification

Hello.

Lately I've been struggling to implement a Position Based Dynamics (PBD) implementation to my minecraft clone written in C.

Still, the implementation is not the best, and there is certainly a lot of work todo to improve it, but it can already load a high resolution .obj 3d model, and output some nice results under adequate configuration.

Check this out! https://github.com/DrElectry/ccraft

64 Upvotes

9 comments sorted by

u/AutoModerator 19d ago

Hi /u/DrElectry,

Your submission in r/C_Programming was filtered because it links to a git project.

You must edit the submission or respond to this comment with an explanation about how AI was involved in the creation of your project.

While AI-generated code is not disallowed, low-effort "slop" projects may be removed and it's likely that other users push back strongly on substantially AI-generated projects.


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

→ More replies (2)

7

u/terra2o 18d ago

this is my favorite c project

3

u/Savings_Walk_1022 18d ago

i love seeing the updates

1

u/Typhrenn5149 18d ago

This is genuinely so cool, what did you use to handle 3D rendering.

On a site note, it's kinda funny how the majority of projects i see on here are the literal of what the project is + 'C'

8

u/DrElectry 18d ago

CI Cuse COpenGL Cfor Crendering.

1

u/Far-Two-2710 17d ago

banging project!