r/GraphicsProgramming • u/JBikker • 8d ago
Rendering & Physics using TinyBVH
Our students are working on Metal Gear Solid (PS1) for their Y1 C++ project at Breda University. I wanted to join in on the fun so here's the Cargo Dock level, ray traced using TinyBVH, using just the CPU. In this demo TinyBVH is also used to detect collisions (there's scene/sphere collision functionality) and to handle them. The spheres end up in their own BLAS, which is combined with the level triangles under a TLAS. Code is 600 lines, all-in.
7
u/shadowndacorner 8d ago
Wait, this sounds like such a fun assignment for your students. Care to give more details on what "working on MGS" means in practice? Is it just something where you're using MGS assets, or have you forked the engine in some way?
5
u/JBikker 6d ago
We simply give the students a basic OpenGL engine and the game assets. Their task is to replicate the gameplay of the first level of the game. The real objective of the task is to experiment with proper C++: In the first quarter of the year students worked on a 2D game (Metal Slug) with the only goal to 'make it work', in this second quarter the goal is to learn some decent modern C++ coding standards.
4
u/shadowndacorner 6d ago
That sounds like an awesome assignment :) I wish my graphics courses in uni had been this fun haha
16
1
u/Still_Explorer 7d ago
Impressive! Best university in the world for game technology.
2
u/JBikker 6d ago
Actually we rank 3rd, 2nd in Europe. :) But, we do quite well; lecturers all have a background in the game industry and we put the bar really high. End result is internships in AAA game companies which typically land students a junior job. This takes hard skills and soft skills; both are explicitly addressed in the program.
1
u/olej 5d ago
Can you provide a link to the ranking? My uni, Technical University of Łódź, has game dev speciality on computer science faculty and we have a student festival with 600+ people every year yet I never found anything in europe to compare it against, always wondered how much happens here that we're not aware of.
1
2
•
u/AutoModerator 8d ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
No showcases.
Disclose AI usage in post or project.
Present a topic to talk about, e.g. how something works.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.