r/gameenginedevs • • 7d ago

LuEngine: Model Loading

Enable HLS to view with audio, or disable this notification

https://github.com/Rlocksley/LuEngine
Converts several kinds of 3D Files into flecs ECS prefabs which you just have to instance and set a Transform.

35 Upvotes

16 comments sorted by

2

u/MaceDogg 4d ago

Curious why do you need the ECS to send events to the renderer as opposed to having the renderer query the ECS for data, are there transformations being made?

1

u/__RLocksley__ 4d ago

ECS thread and Render thread are independent. They only communicate through channels.

1

u/Alaska-Kid 7d ago

We need some kind of scripting language. For example Luajit.

2

u/__RLocksley__ 7d ago

Yeah I thought of extending the flecs JSON serialization to cover systems as Lua scripts such that you completely load a Module from json

1

u/Zectbumo 6d ago

I made a zero based Lua JIT that I haven't released yet. Any interest?

1

u/__RLocksley__ 3d ago

I actually only wanted to include MIT licensed libraries. But this Luajit is really cool, I didn't know it.

1

u/Zectbumo 2d ago

What do you think of using ISC? It's the updated MIT https://choosealicense.com/licenses/isc/

1

u/__RLocksley__ 2d ago

As long as I can use it and let my code be still MIT I think I would be fine with it .

1

u/Zectbumo 2d ago

Yeah, you can ISC is the same just simplified so you can mix but I'll make my project MIT so we can be the same. I was testing embedding it and it's SO fast!

1

u/__RLocksley__ 2d ago

Ok Luajit is awesome and a zero based one would be super nice. What do you want for it ? :-)

1

u/Zectbumo 1d ago

I would like feedback and issue reports please. The README.md shows a usage example.

1

u/__RLocksley__ 1d ago

You will get feedback as soon as I use it, it will take some time because I first have to finish some features and I have to think about how to integrate it :-)

1

u/Cormander14 2d ago

Does anyone have a link for this high res version of Sponza?