zingo wrote: ↑Thu May 30, 2024 10:21 am
because building a full 3d game looks so...mind-boggling complicated
I won't lie: it's not easy !
I'm trying to keep the complexity down. I know well enough I won't beat Unity or Unreal, so I'm tailoring the engine (and the project I will built on it) carefully.
It has been a while since I posted in here. I have been working for more than a year on my own 3D game engine (named "Ombre"), built on top of Löve. :nyu: Rough overview of the features I have currently: Dynamic lights (point, spot and directional light) all with casting shadows (via shado...
Alright so after reading a bit more about LUA garbage collector ( here and here ), I got confirmation that by default the GC runs when the memory double, which explains the behavior I saw. I ended up going with Batteries manual_gc.lua code to solve my problem: https://github.com/1bardesign/batteries...
Okay so after playing a bit with more stuff, I think I have a better understanding of what is happening: The more memory I consume, the higher lua garbage collection threshold seems to be. ImGui generate garbage each frame, likely related to its drawing. On a small initial memory footprint imgui mem...
Hi folks ! I'm puzzled by the behavior of Love, or more precisely lua, on my current game. I have noticed a memory leak in my project, which can be fixed my running the garbage collector manually. To describe the issue: when I load meshes for my custom 3D project, then run Dear ImGui (via cimgui ) t...
Time has passed, and with the help of Sasha I refined my original code (which wasn't working on Windows and was bothering me). The new snippet below now works on both Linux and Windows. (No idea about Mac since I cannot test it myself.) The main difference is that I now wrapped a bit better the code...
Latest version of Love is 11.4, so its looks like the package you got is a bit old. Have you tried the AppImage instead ? You can download it here: https://github.com/love2d/love/releases/tag/11.4 Also, it might help it you could paste here the output of glxinfo so that we know a bit better about yo...
There is no problem on Love side, it's an issue in Tiled (which I thought was right initially). :) My shadow are too dark because of the sRGB blending (so I opened a github issue for them). Here is a more simple example of the issue: Y0615_143036.png This image shows three states: - Bottom half is m...
So it's not just a pure content problem. I have looked a bit more into it, I think it's a combination of several issues. On my side, I was also doing pre-multiplied alpha in my original image, so I fixed that. Tiled is also blending images in sRGB space, while I use instead Linear sRGB. So you don't...