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

    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
    • Ansome

      Well then, it's been about a week since I released my first FM and I must say that I was very pleasantly surprised by its reception. I had expected half as much interest in my short little FM as I received and even less when it came to positive feedback, but I am glad that the aspects of my mission that I put the most heart into were often the most appreciated. It was also delightful to read plenty of honest criticism and helpful feedback, as I've already been given plenty of useful pointers on improving my brushwork, level design, and gameplay difficulty.
      I've gotten back into the groove of chipping away at my reading and game list, as well as the endless FM catalogue here, but I may very well try my hand at the 15th anniversary contest should it materialize. That is assuming my eyes are ready for a few more months of Dark Radiant's bright interface while burning the midnight oil, of course!
      · 4 replies
×
×
  • Create New...