News for hackers. Stuff that matters.
Re:Show HN: Lumix Engine – Open source C++ 3D game engine by mikulas_florek on Wednesday March 01, 2017 @08:18AM (#13763415)
I think importance of tooling is highly subjective, depends on your habits and workflow. Some people need to have an editor like Unity, others just want to create their whole game in code, e.g. www.randygaul.net/2017/02/24/writing-a-game-engine-in-2017/
Re:Show HN: Lumix Engine – Open source C++ 3D game engine by mrec on Wednesday March 01, 2017 @09:44AM (#13763976)
I suspect WebAssembly is going to create a niche for very lightweight engines optimized for download footprint, too.

And as you say, UE and Unity seem to be optimized for artist-driven projects rather than coder-driven projects. Which, realistically, are always going to be the majority of commercial efforts, but coders often prefer code. I've written a (basic) 3D object modeller app, and I still can't work out how to use Blender.

Re:Show HN: Lumix Engine – Open source C++ 3D game engine by mikulas_florek on Wednesday March 01, 2017 @09:51AM (#13764041)
> I suspect WebAssembly is going to create a niche for very lightweight engines optimized for download footprint, too.

I wanted to create a simple 2D game once, aiming for lot of platforms, including mobile and web. Most engines (I looked into Unity and Godot) produced just too heavy results for web. I ended up using Haxe/Flixel.

Re:Show HN: Lumix Engine – Open source C++ 3D game engine by galangalalgol on Wednesday March 01, 2017 @09:54AM (#13764069)
That guy says his must-have feature of c++ is operator/function overloading. That seems an odd choice to me. I have been a c++ developer for over a decade. I would have leaned more towards it being a necessary evil.
Re:Show HN: Lumix Engine – Open source C++ 3D game engine by iainmerrick on Wednesday March 01, 2017 @11:24AM (#13765025)
It's a must-have for 3D programming, for working with vectors and matrices. OpenGL's shader language is basically C with (hard coded) operator overloading for this reason.
Re:Show HN: Lumix Engine – Open source C++ 3D game engine by schoen on Wednesday March 01, 2017 @12:12PM (#13765697)
Could you explain a little more about how the operator overloading is used in this context? Is it just that arithmetic operators are made to work in their linear algebra sense on objects representing matrices, so M*N will return a new object representing the matrix product M×N?
Re:Show HN: Lumix Engine – Open source C++ 3D game engine by hacoo on Wednesday March 01, 2017 @03:59PM (#13768267)
That's exactly how it would be used. Game programming involves a pretty enormous amount of geometry and vector arithmetic, so it's a domain where being able to write s*(u+v) is an advantage over scaleVec(s, addVec(u, v)). Same logic applies to matrices, as you described.

Personally, I think there are more important advantages of C++ over C, and operator overloading can get ugly FAST if you're not careful.

Re:Show HN: Lumix Engine – Open source C++ 3D game engine by schoen on Wednesday March 01, 2017 @05:47PM (#13769339)
That makes sense. Thanks for the explanation!
Re:Show HN: Lumix Engine – Open source C++ 3D game engine by mikulas_florek on Wednesday March 01, 2017 @10:17AM (#13764308)
Must-have necessary evil :)

Anyway, I do not agree with all the stuff in the linked article. He was just used as an example for need of programmer-focused engines.

Re:Show HN: Lumix Engine – Open source C++ 3D game engine by jackmott on Wednesday March 01, 2017 @11:19AM (#13764962)
It isn't even necessary. Its just convenient, maybe sometimes =)