Page 17 of 18
Re: World of Tanks Map format.
Posted: Fri Feb 12, 2016 7:27 pm
by Coffee
For Pete's sake...
I have un-initialized UV mapping.
I can't believe this EVER worked at all!!!
Let me get this fixed and we'll try again.
Re: World of Tanks Map format.
Posted: Fri Feb 12, 2016 8:17 pm
by Coffee
Re: World of Tanks Map format.
Posted: Fri Feb 12, 2016 11:31 pm
by Mr.Mouse
I think we need more playtesters here. It doesn't help. I do delete the old version from it's location though, to make sure I do a clean install. Unless you're doing something with the registry, or dll files ?
I can't imagine why it wouldn't work, since the game also works fine. There must be something fishy going on.
I'm running on Windows 10, btw.
Perhaps I can also find another computer to start it on. I tried my Surface Pro, but Terra failed on that, OpenGL error. I've got some more, but I need to get them up and running first. Would help if other people dropped in and tried it.
Re: World of Tanks Map format.
Posted: Sat Feb 13, 2016 6:13 am
by Coffee
I don't get it...
I thought for sure that was the problem.
I also don't think running Windows 10 has anything to do with it. Most everything is rendering correctly.
Did you try unchecking "Bump Map Models"? under the settings--> Graphics?
That will by pass the shader all together.
I don't understand how it can load the trees and their textures and yet the textures not work on the models. We know they are loading.
And yes.. It would help if others that are downloading this (Yes there ARE others) would report any thing strange or.... at least comment on it working or not.
Re: World of Tanks Map format.
Posted: Sat Feb 13, 2016 10:27 pm
by Mr.Mouse
terra28.jpg
That is with Bump map models off. See also that the Watchtower textures for instance seem to load fine.
Also, I notice some hardcoded paths in the .exe like:
Code: Select all
C:\!_Textured Sphere\DXF_to_MESH\obj\x86\Release\Terra.pdb
C:\
C:\Games\World of Tanks
My game is not on C, by the way, and I do not have this Textured Sphere path.
Re: World of Tanks Map format.
Posted: Sun Feb 14, 2016 1:23 pm
by Coffee
thanks...
I didn't work on this much.
I believe those paths are commented out.
I'll double check.
If they are there is a single quote mark in front of them. This kind --> '
EDIT:
Those are default settings.. File open dialog is one of them... It gets it's path replace in the code to the to WoT root folder when you open a team layout.
This is so strange.
On a good node... I did manage to figure out how to stop the decals from Z-fighting and layer the decals sorta correctly.
Re: World of Tanks Map format.
Posted: Sun Feb 14, 2016 2:15 pm
by Coffee
Looking at that image I can tell that the textures are bound but the UVs are not working.
Each model is a different color unless they are the same model like the tanks in the foreground.
This means its picking up a color from the texture map but painting the entire model with it.
Re: World of Tanks Map format.
Posted: Thu Feb 18, 2016 3:47 am
by Coffee
Well...
I added a couple things and fixed the main texture getting screwed up after loading a new map.
I can't figure out why it wont render the models with textures on Mr. Mouse's system.
I uploaded a new version 29.
Same link as before..
Here's a pic for ya.
Re: World of Tanks Map format.
Posted: Thu Feb 18, 2016 6:25 pm
by Coffee
I uploaded version 30.
I disabled the ability to select tanks using the mouse center button and forgot to re-enable it after adding back in model selection.
I am going to consider this project complete for now and move back to working on the editor.
If anyone is testing this and has input.. I wanna here it!!!
Thanks..
Re: World of Tanks Map format.
Posted: Thu Feb 18, 2016 6:36 pm
by SkaceKachna
Have you tried fetching lights settings from the game? I was searching for any light data but with no luck
Re: World of Tanks Map format.
Posted: Thu Feb 18, 2016 7:51 pm
by Coffee
SkaceKachna wrote:Have you tried fetching lights settings from the game? I was searching for any light data but with no luck
In the space.settings xml there are these lines:
Code: Select all
<timeOfDay>system/data/sky06_Ensk.xml</timeOfDay>
<skyGradientDome>system/data/sky06_Ensk.xml</skyGradientDome>
<flora>spaces/06_ensk/flora.xml</flora>
TimeOfDay points at the file that contains all the settings regarding the lights color, position and all that.
Re: World of Tanks Map format.
Posted: Thu Feb 18, 2016 8:01 pm
by Coffee
I don't use any of that information.
I get the dome model and its texture.
I translate the dome to where ever my camera is and draw it first with depth testing shut off.
There is no need to try to draw the dome so it covers the entire map.
I found that if I rotate the map +90 in the y axis, I get a better match to the game.
This rotation might be in that file I mentioned above.
If you really wanted to make it exactly like the game, you would need 2 cube maps and the dome.
I believe the cube maps are for PBS but I haven't really looked in to that much.
Oh... and the fog settings are in that file as well.. I also don't use them.
In the game they use volume-metric fog. I don't know how to do that (yet).
Re: World of Tanks Map format.
Posted: Thu Feb 18, 2016 8:15 pm
by Coffee
The water texture I use, I found on the internet.
Its a dds and too turquoise so I tent it in the render pass and make it more blue.
Re: World of Tanks Map format.
Posted: Thu Feb 18, 2016 8:27 pm
by SkaceKachna
Ok, thanks, I already bumped into those files, didn't think it has enought data to generate proper lighting ... I'll have to do some experiments
Re: World of Tanks Map format.
Posted: Fri Feb 19, 2016 3:31 pm
by Coffee
No problem..
You might want to look at the horizionShadows in the cdata \terrain2 folders.
It looks to be the shadow map for all static items.
I messed around with it some but never got it working. The sun has to be fixed.