Search found 44 matches

by Imagic
Fri Nov 27, 2020 5:44 pm
Forum: Libraries and Tools
Topic: ELProfiler - statistical/sampling profiler
Replies: 4
Views: 10250

ELProfiler - statistical/sampling profiler

Until LÖVE bundles LuaJIT 2.1, which has a built-in profiler, this library can be used as an alternative. I tried it on Conway's game of life available on the forum by just adding those lines at the top of the main.lua: local Profiler = require("ELProfiler") Profiler.setClock(love.timer.ge...
by Imagic
Wed Oct 28, 2020 6:45 pm
Forum: Libraries and Tools
Topic: ELScheduler - scheduler/timer library
Replies: 1
Views: 8665

Re: ELScheduler - scheduler/timer library

Major bug fix: more here, fixed in 1.1.

This bug can result in out-of-order trigger of timers.
by Imagic
Tue Oct 20, 2020 3:07 pm
Forum: Libraries and Tools
Topic: Luaseq - Asynchronous helper library
Replies: 9
Views: 17723

Re: Luaseq - Asynchronous helper library

I had interesting names for the library, but all were already taken. Similar is better than identical, at least computers understand the difference. Also, changing a project's name requires more than a little inconvenience.
by Imagic
Sat Aug 01, 2020 12:39 pm
Forum: Support and Development
Topic: How to handle big images without killing the framerate ?
Replies: 7
Views: 5093

Re: How to handle big images without killing the framerate ?

It doesn't seem to be a lot to draw each frame, but it depends on your GPU. I would use an ArrayImage for this kind of sequences. About the compressed format. I tried to convert a PNG image into a DXT5 format with an online converter tool. Is it normal that the DXT5 version of the image got a bigger...
by Imagic
Fri Jul 17, 2020 11:19 pm
Forum: Libraries and Tools
Topic: love-DPBR - Deferred Physically Based Rendering library
Replies: 9
Views: 16200

Re: love-DPBR - Deferred Physically Based Rendering library

Update:
- Lot of small improvements: bug fixes, clarification of some ideas, better API.
- Background/blend passes.
- Ambient / indirect lighting (constant light and IBL).
- Ambient occlusion map.
- More/improved examples.

by Imagic
Sun Jun 14, 2020 8:34 pm
Forum: Libraries and Tools
Topic: MGL - Mathematics for Graphics in pure Lua
Replies: 0
Views: 6037

MGL - Mathematics for Graphics in pure Lua

This is a library for graphics computation (vector, matrix, 2D, 3D, etc.) which may interest people here. It has a simple API similar to GLSL or GLM, so that computation can be expressed in a straightforward way. It has genericity, making it useful for atypical computation (ex: vec10 ?). It can be p...
by Imagic
Mon May 18, 2020 12:45 am
Forum: Support and Development
Topic: Incentive for DPI scaled units instead of pixel units ?
Replies: 5
Views: 3764

Re: Incentive for DPI scaled units instead of pixel units ?

You've always been able to use pixel units when needed through love.graphics.getPixelDimensions and friends, and to explicitly set the DPI scale of any asset (images or canvases or fonts) to whatever you want. Yes, but it increases the overall complexity for no benefits in my case. you will need to...
by Imagic
Sun May 17, 2020 10:08 pm
Forum: Support and Development
Topic: Incentive for DPI scaled units instead of pixel units ?
Replies: 5
Views: 3764

Re: Incentive for DPI scaled units instead of pixel units ?

Thanks for the details.

To me, this should only be done at the application/user level and not at the engine level, so I would be stuck without the option to disable it. Just to say that it matters to give that freedom, whatever the consensus.
by Imagic
Sat May 16, 2020 7:09 pm
Forum: Support and Development
Topic: Incentive for DPI scaled units instead of pixel units ?
Replies: 5
Views: 3764

Incentive for DPI scaled units instead of pixel units ?

What is the incentive for DPI scaled units by default instead of pixel units ? I don't understand this choice, I expected the API to use pixel units because these parameters are not designed to be resolution independent in the first place. When we write "800x600", it doesn't hold any meani...
by Imagic
Mon Apr 20, 2020 1:08 pm
Forum: Libraries and Tools
Topic: saferlove: Use encrypted and signed lua files
Replies: 5
Views: 11501

Re: saferlove: Use encrypted and signed lua files

(probably said a lot, but still needed) The term obfuscated is more suited; encryption implies that the information should not be understood by public ways (even if using encryption algorithms, better not fool ourselves when talking security). I would also say that it is probably even easier for an...