Vulkan support
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 : Currently alpha effects (particles) and button are still missing, otherwise I think I've implemented everything.
Edit:
Ok implementing the others pipeline state didn't take long, I've mostly finished the vulkan implementation. The only things not working is color masking on unit and mipmapping.
Another screenshot : Currently alpha effects (particles) and button are still missing, otherwise I think I've implemented everything.
Edit:
Ok implementing the others pipeline state didn't take long, I've mostly finished the vulkan implementation. The only things not working is color masking on unit and mipmapping.
Re: Vulkan support
Maybe you can apply some changes to the terrain rendering?
Re: Vulkan support
How you getting on Vinc?
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 to lighting).
On top of that I'm backporting the vulkan work I did several month ago.
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 to lighting).
On top of that I'm backporting the vulkan work I did several month ago.
Re: Vulkan support
/facepalm ...Grinch stole Warzone contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
Re: Vulkan support
Guys... I don't want to be annoying but when artists will get the full support of tangent-space normal mapping? I mean a support not only for models but for the terrain too. This will make the game much more eye-attrative and will even turn the game experience to a new level. It's a very old graphical technology, comparing to modern games.
I'm waiting it for about 3 years. And I'm still the only one here who could and know how to make normal maps for current terrain's diffuse textures. For obivious reasons.
Sorry for off-topic.
I'm waiting it for about 3 years. And I'm still the only one here who could and know how to make normal maps for current terrain's diffuse textures. For obivious reasons.
Sorry for off-topic.
Re: Vulkan support
What is needed for tangent space normal mapping ? With shader it's rather easy to add normal map support to terrain.
Re: Vulkan support
It requiers precompileted normals stored in a model file. 3d software generates and saves normals to models, then we use WMIT tool to convert our models to pies(no normals) or wzm(store normals but this file format is not finished). As for terrain, this work has to be done by a map creating tool.Vincent wrote:What is needed for tangent space normal mapping ? With shader it's rather easy to add normal map support to terrain.
In conclusion: we need an upgraded file formats for models and maps that will store right normals.
Currently we generate normals on-the-fly and they are not right(they are "flat"), well, they are right only for the current normal mapping but this technique isn't
universal.
Tangent-space normal mapping is a standard in game industry because of many reasons, one of these is that tangent space normal maps(textures) can be easily edited with 2d software like photoshop.
Last edited by MaNGusT on 12 Sep 2017, 23:57, edited 1 time in total.
- moltengear
- Trained
- Posts: 170
- Joined: 22 Jul 2017, 15:05
Re: Vulkan support
In the real world, we see a big difference between the lighted areas of the surface and the shadows.
how does the graphics look in this game?
how does the graphics look in this game?
- moltengear
- Trained
- Posts: 170
- Joined: 22 Jul 2017, 15:05
Re: Vulkan support
Incorrect display of shadows.
- moltengear
- Trained
- Posts: 170
- Joined: 22 Jul 2017, 15:05
Re: Vulkan support
The illumination of the surface does not change due to the position of the camera.
This is the second problem.
It's very easy to implement!
This is the second problem.
It's very easy to implement!
Re: Vulkan support
I know what a normalmap in tangent space is, but I don't see what's preventing such support in wz2100 ; it's possible to generate normals and tangents at load time.
By the way the shadow missing on objects is a bug, we draw shadow after terrain but before any object that's why they're missing.
By the way the shadow missing on objects is a bug, we draw shadow after terrain but before any object that's why they're missing.
Re: Vulkan support
we discussed it already. You can't generate right normals at load time because these normals will not have so called "smooth groups" - a place on edge of a model where a normal breakes into two normals to create the sharp edge. We use these technique when creating most of the models. So, the pie format have to be upgraded to store normals of a 3d creating tool.Vincent wrote:I know what a normalmap in tangent space is, but I don't see what's preventing such support in wz2100 ; it's possible to generate normals and tangents at load time.
As for the terrain, yeah, I think we could generate normals at load time and place all map's tris in one smooth group (no sharp edges). When I will get a test build whith these improvements, I can start to work on terrain normal maps.
When I was creating current diffuse textures for terrain, I did some experiments in editor with normal maps, looked awesome and was easy for me to edit them in a 2d software.