I have had a week of dealing with muppets.
In my day job I have to upload my work to a perforce server in Sweden. So I have had weeks and weeks of dealing with the IT department. Which is final and undeniable truth of Karl Marx's theory
"The production of too many useful things results in too many useless people. "At first they insisted I used a VPN. This VPN uses Microsoft MFA. So it times out every 4 hours. Right in the middle of any upload.
Then they insisted they need to build me a new machine and install a tunnel in it. So I re-organised my office to make space for it. Bought £500 of kit so I could actually use it as the machine they sent was useless. Started uploading and got SSL timeouts every 6 hours.
So I split my single changelist into 40 changelists and started uploading them. One by one.
One changelist failed to upload. Looked at it.
The muppet in Stockholm had put the perforce repo in "E:\Program Files\Perforce\Repositories"
That brought up yells of WTF from the two experienced games coders in the company.
- E: Has he put windows on drive E:????? ... but .... why ....
- Perforce repos are normally something like "E:\Dev" because of 1 really important reason. MAXPATH
Indeed I cannot upload my final change list as the path to the file now exceeds MAXPATH.
Today it got worse as the guy in Stockholm I had been dealing with has moved on to something else and I now have to educate another IT muppet. This one reminds me of the cookie monster. Sigh.
Anyway it gave me some time to work on my game.
Which brought in a whole new set of muppets.
The terrain system is based on latitude and longitude so I need routines to convert from latitude longitude to an earth centric coordinate system. Luckily there is a free library I can use. So I plugged it in and roughed out a terrain manager.
Didn't work. Found the coordinate transformation didn't work. A longitude of 1.1 produced the same coordinate as 1.0. So all my terrain patches were packed into the same space. Sigh
So instead I did the mathematically correct conversion using the WGS84 defined ellipsoid. Too slow. Frame rate dropped to nothing. Sigh.
So I hacked something in based on a crude approximation and it works.
So I quickly added a deep ocean shader a friend gave to me , and ..... it's crap
As usual, I have to do everything myself.
Whimper.