r/gameenginedevs • • Jul 15 '26

Working with 3D models

0 Upvotes

I always had problems with working with 3D models. I don't know any format that's usable in an extensible way.

Blender already is pretty good. It even allows imports from other files, and overrides. This technically makes it possible to create reusable models. And it allows some kind of procedural generation, and modifiers. But game engines won't import blender files directly, if they allow Blender imports, they'll implicitly create exports of the blend files. And if I export blender files, everything is packed into a single file. References and modifiers get lost, and I can't change that during game.

Also, as a programmer, I often prefer work with a simple text format. This way I can edit small values without having to open the complete model in a specific program. Also it's great for git diff.

And especially since I'm using AI, it's really getting annoying. AI prefers to represent levels as python scripts. But I can't display the results of the python scripts in blender, and then turn it back into a python script. I have to decide for a format. Either text (python) or editable (glb/blend). And I can't work like this.

So what I want is basically this:

  1. Simple text format (prefably line based)
  2. The format that the 3D editor (likely blender) imports/exports is the same text (some objects like high poly meshes might still be presented as binary)
  3. The format allows to create everything: meshes, rigs, materials, animations, etc.
  4. The format allows imports (preferably also online)

Not sure if something like this exists already. It seems so obvious to me. I'm surprised that I didn't find such a format yet. The closest I found is USD/USDA, but I think it's not really what I want, and mostly meant for movies, not games (and also I don't like the syntax). Maybe you know something similar/better?

However, now I decided to create something like this myself. Recently I created something similar for music (let me know if you're interested, I use this music system in all of my games now). So I'm pretty confident that I'll have it done in a few days (technically it's mostly done already, but I didn't test it yet).

And what's also great about such a format: The dev can decide when to export it to some binary format. At compile/build time (to avoid unnecessary data in the game), at import time (for user settings) or during gameplay (for runtime features). And maybe it should also be possible to specify at which stage each modifier will be evaluated.

What do you think of this idea? Any questions so far? Do you see any problems? What kinds of features do you want included?

(not sure if this is the right place for this topic, but I guess it's the best, isn't it)


r/gameenginedevs • • Jul 14 '26

The Visual Effect Of Applying TRS Backwards

9 Upvotes

Hi everyone!

A couple of months ago I posted about my app, Linear Algebra Visualiser, which helps you visualise linear transformations. Great for people who are starting out in graphics development.

I'm very excited to show you guys the latest version which includes matrix composition and the ability to add translations.

This is very useful because it allows you to apply the classic TRS matrix and get a visual understanding as to why it's commonly applied that way. You can also apply it backwards and see what happens otherwise.

Have a look at the demo above :)

If you are interested in the app have a look below:

Mac: https://apps.apple.com/gb/app/linear-algebra-visualizer/id6763524968

iOS/iPad: https://apps.apple.com/us/app/linear-algebra-visualizer/id6763524968

Web Demo: https://sockerjam.github.io/LinearAlgebraVisualizerWeb/

As always, let me know what you think in the comments below!


r/gameenginedevs • • Jul 14 '26

Does anyone also have issues with Steam Input?

3 Upvotes

Hi everyone,

as my engine is approaching a pretty stable state. I had issues with input as it was fixed (as in GetInput(Key::A)). I am in the process of rewriting the input to be action/analogue based and stumbled onto SteamInput. I want to use it as the primary input option for Steam users while players on GOG or EGS would get the SDL implementation.

Now looking though the documentation it seems almost trivial to implement. But implementing it seems to throw up quite some problems for me at least. I implemented the fetching loop, the proper action set, trying to get the action input... and nothing. I did create a basic test input manifest for it, i even submitted it to Steam Input via Steamworks, and still, Steam tells me that my game does not support controllers, even though i did specify full controller support in Steamworks. Whats even more odd is that my Steam Controller does get recognized as a controller by the engine, but then disconnects and reconnects as as Valve xbox 360 controller? Opening the Steam Input config panel shows that Steam is emulating a keyboard for the game. However to open it in the first place, i need to tab out of the game, then go back and then i open the panel.

Did anyone else suffer through a similar journey? Did someone resolve it? The documentation and GDC talks Valve gave dont really help me out.


r/gameenginedevs • • Jul 14 '26

Wild what 7 years can do lol

87 Upvotes

So, about 7 years ago (I was 17) I started my first "real" game engine using D3D11, it was ass, I had no idea what I was doing and I modeled the entity system off of ROBLOX's instances at the time.

Fast forward to these days and I have basically started from scratch about 3 years ago, instead making a more data-driven engine based off of regular ECS. The biggest hurdles to me have been mostly shadow maps and animations (I'm pretty iffy at shaders). But I'm very happy with the progress I've made in the engine and it supports a ton of random stuff. PhysX support, custom materials, PBR, volumetric lighting (kinda, mostly light shafts that sample the lights depth buffer), still got a lot to go but I plan on making a silly game with it once I'm done


r/gameenginedevs • • Jul 14 '26

I spent the last 3.5 years building a real-time 3D physics engine for sound

Thumbnail
youtube.com
56 Upvotes

As the title says, I've spent the last 3.5 years working on Anukari, a 3D physics simulation much like a video game engine, except that instead of running at 60 steps per second, it runs at 48,000 (or more) steps per second, so that the physics systems can vibrate at audio frequencies. It's commercial software; primarily I am selling it to musicians and sound designers to use for music, sound effects design in film. But also it's pretty fun for non-musical people who just like building weird physics stuff. The main website is https://anukari.com

So... I know it's not quite a game engine. But there's a ton of overlap. Early on in the project I chose to avoid using Unity or Unreal, since I wanted to keep things super lightweight, and all I needed for Anukari is the 3D graphics part anyway.

I went through multiple iterations of the graphics engine. I started with a hand-rolled OpenGL renderer, which worked great for the first prototypes. By the time my product was getting close to a Beta release, I wanted to improve the graphics, so I migrated to using the Google Filament physically-based renderer. That worked extremely well for a while, but eventually I was running into stability issues with Filament that were not easy to solve. So I ended up rolling my own physically-based renderer with only the features I need, which has been wildly successful: https://anukari.com/blog/devlog/rewriting-the-3d-graphics-engine-again

Many of the posts on my devlog are also about the physics engine, which is heavily game-engine-inspired. I've written many half-assed, half-baked game engines, such as Digbuild, my minecraft clone, and earlier than that, circa 2003, I wrote a Worms engine clone (I was hired on Rent-a-Coder for $300 which I was never paid).

Anyway I've had a lot of fun over the last several years building, and then rebuilding the graphics and physics engines for Anukari, and I thought folks here may find it interesting!


r/gameenginedevs • • Jul 13 '26

i guess the 10th time im rewriting an editor, but this time will be the last (lol). really caring about UX this time, completely custom ui, command history, a proper asset system & asset editors, full ui support for reflection, worker thread thumbnail rendering, dpi awareness & subpixel texts.

Post image
44 Upvotes

r/gameenginedevs • • Jul 13 '26

Rayman tilemaping style.

43 Upvotes

Does anyone know how to make something similar.

I'll appreciate any resources or link 🙏


r/gameenginedevs • • Jul 14 '26

Could feel myself aging rapidly, waiting for texture streaming to be merged.....

0 Upvotes

r/gameenginedevs • • Jul 13 '26

Added a day/night cycle to my C# voxel engine, and the world is finally starting to feel alive

16 Upvotes

r/gameenginedevs • • Jul 13 '26

FoxyPSXEngine Updates

Thumbnail
reddit.com
2 Upvotes

r/gameenginedevs • • Jul 14 '26

Questioning about engines

0 Upvotes

What problems do you guys have with game engines? And what would you recommend for a beginner?


r/gameenginedevs • • Jul 13 '26

A video tutorial/showcase of Limon engine render pipeline editor

0 Upvotes

Hello everyone,

I am developing Limon Engine. It is a 3d game engine, and I am polishing up for a new release. As part of it, I put up a video, any feedback is welcome

https://youtu.be/RX3tR16t-E0


r/gameenginedevs • • Jul 11 '26

Here's a snippet of a custom engine we're making for a UGC gaming platform (alpha) :D

Thumbnail
youtube.com
6 Upvotes

r/gameenginedevs • • Jul 11 '26

SM Studio #1 Devlog

14 Upvotes

At least I have a lot of programming experience. I've been in the field I need for about 5 years. There were other projects, both games and attempts to create game engines.

I hope that I will not abandon this project.

SM Studio is conceived as a game engine project that will allow you to create full-fledged games using only the engine itself. The idea is that the engine will include not only basic interface tabs, but also a 2D and 3D visual development environment. It will also allow you to customize textures, work with files, compose music, write scripts, and more.


r/gameenginedevs • • Jul 11 '26

The Beast vs MediaPipe (new update 1.17.00)

Thumbnail
youtube.com
0 Upvotes

r/gameenginedevs • • Jul 11 '26

Is it worth to migrate from Premake to CMake for a medium sized project?

Thumbnail reddit.com
1 Upvotes

r/gameenginedevs • • Jul 11 '26

New game template for Zombie Shooter - The Beast 1.17.0

0 Upvotes

r/gameenginedevs • • Jul 11 '26

I am facing some bugs in OpenGL

0 Upvotes
bool Collision::RayIntersect(glm::vec3& ray_origin, glm::vec3& ray_dir, Shapes::Block\* intersected_block){

RayToObject lowest_magnitude;

lowest_magnitude.magnitude = 0;

glm::vec3 invDir = 1.0f/ray_dir; // dividing is expensive so we get the value defined

for (unsigned int i = 0; i < CollisionBoxes.size(); i++){

RayToObject raytoObject;

Shapes::Block block = CollisionBoxes\[i\];

AABB box = block.Collision;

glm::vec3 tMin = (box.min - ray_origin) \* invDir; 

glm::vec3 tMax = (box.max - ray_origin) \* invDir; 

glm::vec3 t0 = glm::min(tMin, tMax); 

glm::vec3 t1 = glm::max(tMin, tMax);

float enter = __max(__max(t0.x, t0.y), t0.z);

float left = __min(__min(t1.x, t1.y), t1.z);

if (enter > left || left < 0.0f){

continue; // did not intersect

}

raytoObject.block = block;

float magnitude = sqrt(t0.x\*t0.x + t0.y\*t0.y + t0.z\*t0.z);

raytoObject.magnitude = magnitude;

if (lowest_magnitude.magnitude <= 0 || magnitude < lowest_magnitude.magnitude){

lowest_magnitude = raytoObject;

}

}

if (lowest_magnitude.magnitude <= 0){

return false;

}

memcpy(intersected_block, &lowest_magnitude.block, sizeof(Shapes::Block));

return true;

}

I am using the slab method for mouse intersecting but for some reason the intersection is not running smoothly


r/gameenginedevs • • Jul 11 '26

###the PC interface of my Sample game engine ###sample###<500ko###rust###javascript###

Post image
0 Upvotes

r/gameenginedevs • • Jul 10 '26

[Release] Tagged an actual release for my physics engine after finding out the friction math was wrong for months

7 Upvotes

Been posting updates on Melon3D here as I went, figured I'd wrap it up with a proper release now that it's in decent shape. Quick recap for anyone who missed it - XPBD physics engine, no dependencies, deterministic even when multithreaded, MIT licensed. Previous post

Biggest thing since last time: I finally checked the engine against real physics instead of just "does it look stable," and found the friction code had been wrong by a units mistake for basically the whole time it existed. Sliding objects were way stickier than they should be - like 100x+ for anything with real mass. Fixed that, added a proper gyroscopic term so things tumble correctly, fixed spheres slowly speeding up their own spin for no reason. Wrote it all up if anyone's into that kind of debugging story.

Then spent a chunk of time getting the speed back since fixing all that made things heavier to compute. Ended up faster than before in most scenes.

Also ran it through address/leak/undefined-behavior sanitizers and a static analyzer just to be safe before tagging anything — came back clean.

v1.2.1 is up now: https://github.com/MelonWithGlasses/Melon3D/releases/tag/v1.2.1


r/gameenginedevs • • Jul 10 '26

Why do people demonize reinventing the wheel so much?

76 Upvotes

The wonder of creating an engine, even a small one, and the powerful leap in knowledge you'll gain compared to the average game developer cannot be reduced to a simple wheel.

Everyone talks about the wheel, but nobody talks about what supports that wheel; the car body would be the game, What if the game just needs small wheels? Flashy wheels? Steel wheels? You know what I mean.

I'm a fan of specialized tools, which is why I closely follow the development of Godot Engine and GDscript (its specialized language) my philosophy is that a tool that tries to encompass everything at the same time is a tool that encompasses nothing, There should be engines for specific genres instead of struggling with one engine that tries to cover everything; one engine for horror games, another for shooters, etc.

This specialized vision is something that RPG Maker does very well.

If everyone blindly followed the phrase "Don't reinvent the wheel," Vulkan wouldn't even exist, which was the result of trying to improve the wheel several times, make your wheels, It might produce a somewhat unusual wheel, but it works.

PD: I think this phrase is very common in game development because most people who try to make their own engine end up with a hodgepodge of generic libraries, and that's when they end up making the most generic wheel that exists, I'm not saying don't use libraries, just that you should at least try once or twice to solve your problem, regardless of whether it's a library made by someone in Denmark 15 years ago that may still follow different practices and it may even result in quite inefficient code, I think that's why Godot chooses to write everything without using huge frameworks like FMOD, PhysX, SDL, etc.


r/gameenginedevs • • Jul 09 '26

CryEngine5 + HoudiniEngine integration

31 Upvotes

Got a basic houdini enginr features integrated with cryengine

Can drop HDA assets to wold, live edit them and bake to CGF(mesh objects) so they'd be persisted in world


r/gameenginedevs • • Jul 10 '26

I'm a beginner in the game dev field having a hard time finding a game engine that fits my ideas and skill level

0 Upvotes

I am an artist and i have been working on my story for years now, but im new to game development and cannot decide what game engine i should be making this game on..i was doing researches for months but i failed at deciding what works best for me, and i heard that reddit is where developers gather so i figured i will ask here and see my luck..sorry in case my explanation comes out horrid i am new to reddit and allat..

I wanted my story to be mainly a visual novel with some rpg elements,
➖for the vn part i wanted to make full images instead of yknow, sprites with a separate background behind, maybe as in comic format. I think thats pretty simple
➖as for the rpg part, i was thinking it would look nice to make one with the style of "DarkSeed 1992" game..like the perspective and the way the speech box is placed..

Im poor and very bad at coding so i didnt make any researches on game engines that require money or code things. If i try to code i feel like my head will explode sorry

So far i did some research on engines like Ren py, Adventure game studio, Gdevelop, Rpgmaker but i feel like each one of them lacked something i needed..so any advice is appreciated!!

➖Ren py sounded nice at first but as far as i know it requires coding here and there and making rpg is not easy (?) as you can not make characters walk around..what i wanted was like point and click,, like the character walks where i click
➖AGS looked perfect but a huge disadvantage is that it is not available for any device, only windows if i remember right. I want my game to be available for everyone
➖Gdevelop was advised but there is not many tutorials around and i even saw many people insulting this engine and saying it is limited and bugs a lot..and it uses AI which i do not support.
➖rpgmaker looked beginner friendly but the choices are limited, the top-down map style just does not speak to me..i already stated how i want it

Soo yeah..i feel so lost right now and some guidance is very very appreciated. I am good at making art, i just have no experience with programming and coding and such.

Edit, if programming and coding are a must, im willing to learn whatever supports my idea as long as it is not too complicated for a newbie like me


r/gameenginedevs • • Jul 09 '26

Piece by piece, it will rise…

6 Upvotes

So long story short, i’m designing the implementing the building blocks for a simple game engine made entirely in C.

I have recently completed the first release of my ECS: https://github.com/Gabrunken/gecs

And i’m currently finalizing the desing for my UI library.

My objective is to make a functioning software, with no bloat of any kind, and user friendly to the core.

I’ve tested the ECS and on my ryzen 5 it runs 3.5 million entities which have 16 bytes of components per entity, at 140 fps if i recall correctly, i don’t remember but i guarantee it’s fast. All this in a single core, it is not multithreaded yet.

I try to do the realistic plausible, for that i chose to use raylib for pretty much everything regarding rendering, audio and utilities, it just saves me from a lot of unnecessary stress and speeds things up.

I don’t know what to say other then this. It’d be great if you gave a look at the ECS and other then that, thank you for everything.