Show newer

what is everyone's setup for versioning game builds?

@mcc in my framework, i just have a templated buffer struct that wraps around a C++ struct that handles all of that, so all you do is just update your CPU data and call update() on it and it does the GPU memory update. if you have multiple frames in flight you also need to keep a separate device memory for each frame, so it has to handle all of that.

@mcc you keep a handle of a VkDeviceMemory which is bound to a descriptor set at a specific location, then you just map it to CPU memory, copy it and unbind when you want to update shader data.

@mcc ah i see, well not sure what the best approach then. fwiw in C, you don't update descriptor sets usually, you just map memory for a buffer in the set, copy it and unmap it.

@mcc Ah I see. I find the binding # approach quite a bit better in that you can just map a CPU struct to shader memory and then just set stuff in the struct directly without ever dealing with strings (though there is some memory alignment stuff to keep in mind).

@mcc you shouldn't be doing it by name, the block approach is so you can map CPU memory to shader memory directly

asked GPT4 to generate C code for a simple pong game that runs in the terminal and it generated it on first try along with instructions on how to install libncurses and build it

i've been putting together some of the pixel art 3d assets into a little world

#indiedev #pixelart

the first time your game AI beats you at your own game feels so good

while preparing for an upcoming talk i stumbled across a weird new technique in 8fl: you can tweak the loop points of a sample live while the song is playing and it sounds bizarre

For those that are interested on compiling and running #GlslViewer as a #blender3D custom rendering engine. Here is a little tutorial on how to do it. #b3d

youtu.be/KZsvHWpk8MQ

A few years ago we organized a small conference on renderer architecture and then brought it as a course at SIGGRAPH 2021. This year we will make it an open virtual conference, available to all to attend. I'm happy to announce the Rendering Engine Architecture Conference 2023 is happening virtually June 5th and 6th! Please go to our site to register and even submit a talk:

enginearchitecture.realtimeren

(Co-organised with: @kenpex, @stevemcauley and Mike Vance.) Join us!

@mcc yeah, same. my new graphics engine is a single header file :)

analog hardware, money 

@nasser there is only one answer and you know it

@nasser but that could be exactly how you organize it. "how make css div centered" is a perfect example of a tree search :)

@nasser yea but if you're going to curate a set of approved sites you might as well just organize them into a searchable tree that has a browsable structure

Show older
coolkids.house

this is where the cool kids live