Jump to content
The Dark Mod Forums

Did something change with rendering in 2.07? Projection looks...off


kerrle

Recommended Posts

So I play Dark Mod at 3440x1440 and have for the past couple years - the UI is stretched, but the actual in-game rendering has always looked fine.

 

But I just got everything updated to 2.07 and, since then, no matter what I do with FOV the in-game world just looks...wrong. Warped. As though the image is squishing or stretched in a fish-eye manner outside the center of the image. You see it most distinctly when standing in place and just rotating the camera left or right.

 

I couldn't say when exactly this would have been introduced; it's been probably six months since I've run through a mission. Config is, I believe, basically unchanged:

 

...

seta r_customHeight "1440"
seta r_customWidth "3440"
seta r_fullscreen "1"

seta g_fov "90"

seta r_fovRatio "2.388889"
seta r_aspectRatio "0"
...
As I said, I've tried various settings for FOV with no real luck.
It's hard to explain what it looks like; I can toss up a capture on Youtube if that'd help.
  • Like 1
Link to comment
Share on other sites

There were some configuration changes in 2.07 related to resolutions, aspect ratio and such stuff.

 

If the 3D rendering of the game itself looks stretched, please rename darkmod.cfg to darkmod_old.cfg and restart game.

After that the new darkmod.cfg file will be created, and you can copy the bind commands (that's your keyboard/mouse settings) from darkmod_old.cfg back into new darkmod.cfg.

This is what is usually called "reset darkmod.cfg" and I strongly advise you to do it.

Link to comment
Share on other sites

Letting the config recreate itself seems to have fixed it, though comparing the files no obvious difference stands out.

 

Regardless, thanks for the suggestion.

 

Also, I note the game successfully picked up my resolution (I'm guessing from the current desktop settings?) but didn't then set r_fovRatio to the correct value, leading to 4:3 rendering being stretched across the full resolution. Has setting that value programmatically when the resolution is set been considered?

Link to comment
Share on other sites

Has setting that value programmatically when the resolution is set been considered?

You're right of course

The problem is, there's too few developers and we're all on 16:9 screens

Being the open source community project and all, these issues should be either raised via the bug tracker or signing up for beta testing

Thank you for understanding

Link to comment
Share on other sites

Also, I note the game successfully picked up my resolution (I'm guessing from the current desktop settings?) but didn't then set r_fovRatio to the correct value, leading to 4:3 rendering being stretched across the full resolution. Has setting that value programmatically when the resolution is set been considered?

I thought r_fovRatio should be kept at zero, which is the default.

 

To be honest, the set of such settings should be reduced to r_customWidth and r_customHeight only, with other settings being 0 unless player feels adventurous.

I guess we are not yet there.

Link to comment
Share on other sites

Hmm...

 

http://wiki.thedarkmod.com/index.php?title=Resolutions

 

r_fovRatio is supposed to override your aspect ratio setting to allow custom ratios for wide-screen (etc).

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Yes, I remember that.

 

And since deleting the Darkmod.cfg seems to have worked... It seems to be (working tm) :)

 

We should probably open a survey thread to see if the auto-configure feature works then alter the wiki

to reflect what we do now.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

It was stretched with the value set to zero; I had to manually set it to 2.38889 (or whatever) to fix it.

 

I'm actually a software developer (with OpenGL experience) in my day job. I'd be interested in helping with this stuff - I'll poke around the repo this evening.

  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 2 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...