atxi / Polymer

In-development Minecraft client using C++ and Vulkan.
MIT License
88 stars 3 forks source link

(not an issue) for the last few days ive been working on polymer #11

Open CodeDiseaseDev opened 4 months ago

CodeDiseaseDev commented 4 months ago

for the last few days ive been working on polymer, and i'd like to show you what im doing with it (this is just a personal project because i want to learn more about 3d rendering)

image

physics are half implemented, temporary entity renderer (cubes only for now) (also renders players with their usernames), temporary attack button 'E' to attack entities around you within 5 blocks, local client-side commands for debugging

coming: pause menu to adjust settings on the fly with your mouse, full physics and collision detection so that the player cant phase through blocks

ive learned heaps from this lil side-project, i finally (mostly) understand 3d -> 2d projection

atxi commented 4 months ago

Oh cool, nice work. Adding menu settings sounds like a decent amount of work unless you decide to use something like Nuklear or Dear ImGui. I guess some simple dragging operations wouldn't be too difficult without those.

It would probably be a lot easier to learn that stuff with a different project because polymer is kind of brittle and probably poorly put together. I never used Vulkan before starting this project, so I had no idea what I was doing. The renderer doesn't really support useful rendering operations other than the texture arrays if I recall correctly.

CodeDiseaseDev commented 4 months ago

image i plan on making something similar to my direct2d gui framework just for the pause menu and stuff :)

CodeDiseaseDev commented 4 months ago

also yeah i have 0 clue how vulkan works so this whole time ive been using font_renderer for all the HUD stuff lool, i tried making it separate but i just couldnt wrap my head around how vulkan works

CodeDiseaseDev commented 4 months ago

so ALL of the 3d cubes are just drawn with font_renderer