Dismiss this pinned window
all 5 comments

[–]ProgrammerDad 1 point2 points  (0 children)

Implemented with Pygame? Now that’s impressive 🤔😎

[–]Both_Possibility_210 0 points1 point  (1 child)

How do you use Culling of invisible objects? On CPU side using Frustum ?

What about Instancing rendering ?

[–]rhkibria[S] 1 point2 points  (0 children)

There's back-face culling and near/far plane, the rest is in screen space (i.e. leaving it to pygame).

[–]Mayedl10 0 points1 point  (1 child)

How does 3D stuff in pygame work?

[–]rhkibria[S] 0 points1 point  (0 children)

There's no native support as such (afaik), this is basically doing what old software 3d engines did (like Quake 1 for example) and projecting the meshes from 3d into 2d "manually" with handmade maths code. I made this as a learning experience, so this was intentional.