Search found 103 matches

by Vincent
09 Sep 2017, 18:17
Forum: Coding
Topic: Adding range-v3 dependencies ?
Replies: 2
Views: 1333

Adding range-v3 dependencies ?

Range-v3 is a header only libraries that adds range types to C++. A range is a structure that holds a begin and end iterator from a collection like std::vector or list. The benefit of using ranges over iterator is that you can compose ranges and thus refactor code much more easier and improve readab...
by Vincent
09 Sep 2017, 17:40
Forum: Coding
Topic: Vulkan dependencies
Replies: 14
Views: 5605

Re: Vulkan dependencies

GLM is a lib for matrix computation. It doesn't have anything to do with OpenGL, it can be used with direct3d. Others projects had lot of trouble getting ANGLE working, see godot for instance : https://github.com/godotengine/godot/issues/3634. It's also slow since it has to translate GL calls to D3D...
by Vincent
05 Sep 2017, 22:23
Forum: Coding
Topic: Vulkan dependencies
Replies: 14
Views: 5605

Vulkan dependencies

Hi, I mostly finished rewriting the vulkan code on top of the wrap_gl branch (it works on Intel but not on amd/nvidia due to rgb format support missing on the latters) ; it makes vulkan implementation less invasive and doesn't touch rendering algorithm. There is however an issue : mipmaps need to be...
by Vincent
04 Sep 2017, 20:32
Forum: Coding
Topic: I can't compile wz2100 3.2.2. windows 10
Replies: 7
Views: 3007

Re: I can't compile wz2100 3.2.2. windows 10

Yes it's using shared lib although it's not difficult to switch to static libs with vcpkg, just add :x86-windows-static for every package in the get-dependencies script. Getting Qt5 static is maybe a little more difficult though.
Is there a reason for using static build and not dynamic ones ?
by Vincent
02 Sep 2017, 20:45
Forum: Coding
Topic: I can't compile wz2100 3.2.2. windows 10
Replies: 7
Views: 3007

Re: I can't compile wz2100 3.2.2. windows 10

Try with the new instruction (found in the Readme). There's no need for a devpkg anymore.
by Vincent
02 Sep 2017, 20:37
Forum: Coding
Topic: Vulkan support
Replies: 53
Views: 26292

Re: Vulkan support

I'm reworking my code to make the changes less invasive. Basically I'm wrapping gl calls Inside an API agnostic interface (that's the purpose of the wrap_gl branch whose commits are being merged/tested) without changing rendering logic (I'm keeping terrain rendering code as it, I'm not adding change...
by Vincent
27 Aug 2017, 21:17
Forum: Coding
Topic: Updated coding style
Replies: 4
Views: 1461

Re: Updated coding style

Is there a .clang-format file to automate style formatting with clang format ? It would make a lot easier to ensure consistent formatting when submitting PR.
by Vincent
26 Aug 2017, 20:35
Forum: Coding
Topic: Intel TBB support ?
Replies: 6
Views: 1999

Re: Intel TBB support ?

What part(s) of the engine are you looking to make multi-threaded? Having dug into the code over the last weeks, there are a *lot* of obstacles to doing this without introducing race conditions and thread-safety issues. (It was on my "wish-list" too, but I bumped it down the list because of this.) ...
by Vincent
25 Aug 2017, 22:26
Forum: Coding
Topic: Intel TBB support ?
Replies: 6
Views: 1999

Intel TBB support ?

Hi, I planned to used Intel TBB to make part of the engine multi threaded. Game engines often relies on a job system to handle scalable multi threading : the code is split in small independent job, or task, which can in turn spaw other task. Some scheduling heurisitc is then used to dispatch task to...
by Vincent
06 Nov 2016, 01:49
Forum: Coding
Topic: Vulkan support
Replies: 53
Views: 26292

Re: Vulkan support

by Vincent
02 Nov 2016, 01:17
Forum: Coding
Topic: CMake as a build tool ?
Replies: 6
Views: 3009

Re: CMake as a build tool ?

I made a cmake based build system in my master branch, I'd like to make it the default one for msvc based build with the help of vcpkg. I ported almost all dependencies to vcpkg : gettext is the only missing package atm. The cmake built wz2100 is working but with no internationalization. It's easier...
by Vincent
31 Oct 2016, 03:35
Forum: Coding
Topic: missing files on master
Replies: 15
Views: 5153

Re: missing files on master

in debug mode or in release mode ?
In debug mode I have a crash too, it seems to be related to va_arg in the custom printf function used by the script engine.
by Vincent
30 Oct 2016, 17:38
Forum: Coding
Topic: Using Guideline Support Library ?
Replies: 0
Views: 1389

Using Guideline Support Library ?

Is it ok to use the GSL Library ? https://github.com/Microsoft/GSL This lib is an almost standard headers only lib that aims at providing some useful type not available in the standard like gsl::byte or gsl::span. gsl::byte is an alias over char but it forbids implicit cast to/from other type making...
by Vincent
26 Oct 2016, 22:29
Forum: Coding
Topic: Vulkan support
Replies: 53
Views: 26292

Re: Vulkan support

I've played Warzone 2100 when I was young so contributing is rather a natural step. And Vulkan makes a good reason to work on it. Another screenshot : wzvulkan.PNG Currently alpha effects (particles) and button are still missing, otherwise I think I've implemented everything. Edit: Ok implementing t...
by Vincent
26 Oct 2016, 00:59
Forum: Coding
Topic: Vulkan support
Replies: 53
Views: 26292

Re: Vulkan support

Here a screenshot of work in progress :
wzvulkan.PNG
There's a lot to do, 3d interface is not working, particles shadows and construction effects are missing. And there are some bugs, terrain layers are not properly blended (hence the dark tone).