Jump to content
The Dark Mod Forums

Recommended Posts

Posted
On 6/4/2021 at 5:04 PM, AluminumHaste said:

These won't be replacements for the current textures, but will be sat alongside the low res ones. They have been used in almost every mission in different ways, sometimes in non conventional ways, and I don't want to break the aesthetics of the current missions.

Is it really possible to break existing missions just by providing higher-res replacements of existing textures which are otherwise identical in terms of pattern and appearance? I suppose there might be problems if an artist has done something really weird like zooming into particular pixels to colour part of a model, but that seems an unlikely use case. Increasing asset resolution seems like the sort of safe change that the mod team should be able to make without much objection.

The danger of having separate versions (other than a slight increase in total mod size) is that mappers might not notice or realise that there are specific "HD" versions that they need to select, and inadvertently release a new map using needlessly low-res textures.

Posted

It's not straight up higher res. I've had to manually adjust some of the textures to make them better. The red carpet which is very popular, I completely remade the end part.

So while the transition replacement is drop in:

Z0IixEO.jpg

 

The end one isn't:

CzEl7cX.jpg

 

 

So I can't just replace the existing one, as it will break it for all maps that use that texture.

The others, the changes are much more subtle, usually involves warping the image in photoshop to get the parts of the texture better aligned, but different enough.
There are some mappers who prefer the low res look, Kingsal being one of them.

  • Like 1

I always assumed I'd taste like boot leather.

 

Posted

I also had the scale wrong on the red carpet end piece. It's actually this size:

WXOjfVd.jpg

So can't just replace it, it's different dimensions.

Another problem I don't know if I'm going to bother fixing, is that some of the carpet textures don't align at all, as this is how they are originally uploaded to TDM,
I can see how the middle transition texture was made from parts of the end texture, but they don't quite line up.

wACTvOR.jpg

 

 

  • Like 2

I always assumed I'd taste like boot leather.

 

Posted

BTW, is non power of 2 still an issue with modern hardware?

I'm trying to recreate this carpet texture into something more usable, but I can't get it square and work right.

EDIT: I mean the texture works fine in game, but DarkRadiant shows black texture in render view, I'm assuming it's because it's np2

 

EDIT: Hmm, might still be problematic with mipmaps:

Most of modern GPUs support non-power of two (NPOT) textures and handle them well. Performance drop is quite little. But there are few problems to consider:

  • When using NPOT texture it takes more space in RAM, just like next-sized POT texture. Technically you just waste the space that could be used to put something in there;

  • NPOT textures may be handled noticeably slower (in OpenGL 2.1 I had up to 30% performance drop) compared to POT of next size;

  • Older GPUs and on-board/on-chip GPUs are not so advanced, they often support NPOT textures, but support is quite slow and clumsy;

  • Even older GPUs may refuse to accept/display NPOT textures at all;

  • There could be edging artifacts caused by mip-map interpolation, your 25x25 texture might have a black fringe where pixels were added to stuff it to 32x32 size.

I always assumed I'd taste like boot leather.

 

Posted

Note that non-power-of-two and non-square are two different things. In general it's never really been a problem (AFAIK) to have non-square textures that use powers of two for each side (e.g. 1024x512, 256x8 etc), and you might well find that you can fit your textures into this scheme.

There's also a difference between non-power-of-two and not-a-multiple-of-anything-sane — you can probably get away with 768x768 (not a power of two, but still a multiple of 256) but I really wouldn't try 757x343 or something weird like that.

In any case, if DR is showing a black texture and there is definitely nothing wrong with the material def or texture itself, that should be reported as a bug I think. If the GPU supports it then DR should too.

Posted

These look terrific, BTW. Your hard work is really paying off.

  • Like 1

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted
4 hours ago, AluminumHaste said:

There are some mappers who prefer the low res look, Kingsal being one of them.

I don’t necessary prefer a low res look, but a clean, less noisy look.  Many of the dark mods  normal maps were made incorrectly and add a lot of high frequency detail and noise.
 

 It would actually be beneficial to have more  visually different carpet textures rather than HD versions of the current ones.  I would suggest releasing these as a “texture pack” to the community to use rather than increasing the mod size and creating the _HD convention.

  • Like 1
Posted

Sorry, that's what I meant. To me, missing normal maps or low res normal maps look yucky. But I also understand your POV too with too noisy, you can get awful texture shimmering.

I always assumed I'd taste like boot leather.

 

Posted
12 minutes ago, AluminumHaste said:

Sorry, that's what I meant. To me, missing normal maps or low res normal maps look yucky. But I also understand your POV too with too noisy, you can get awful texture shimmering.

Yeah exactly, It also depends on the program used to generate the normals. A lot of "auto generating" programs have heavy default settings and do weird things.

I do think these HD version look good and I wonder really how much trouble it would cause replacing the old ones. The risky thing here is like you said, these are used in tons and tons of missions so the potential for trouble is high.

  • Like 1
Posted

I also make sure to always normalize the normalmaps, and adjust it to make sense for the texture. There's no a reason a sanded, polished wood surface should have lots of bumps that contour to the wood grain, etc.

But carpets have a LOT of texture to them, especially old style carpets, so the missing or bad normal maps really stood out.

And I just checked, the original carpet textures were 512x256, that's just a little bit bigger than the thumbnails used in Dark Radiant lol. Now, you're taking that tiny image and stretching it across most of your screen, it's going to look awful.

Also, it's not 2006 anymore, we can get away with larger textures.

I always assumed I'd taste like boot leather.

 

Posted

 

58 minutes ago, Filizitas said:

And what about round carpets

Oh I agree. That one yellow straw rug sees a lot of use XD.

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted

Sure, this is first and foremost an effort to make high res versions of what we already have.

After that, I'll look into making new ones.

I always assumed I'd taste like boot leather.

 

  • 2 weeks later...
Posted

Ugh, spent a week redoing these carpets by hand:

4mrMwVL.jpg

 

Now I just have to get rid of the seam between them, I think it's a photoshop 2020 glitch.

EDIT: You can see how the original texture didn't line up:

JzAXdEQ.jpg

  • Like 4

I always assumed I'd taste like boot leather.

 

  • 1 month later...
Posted

I explained earlier that I can't overwrite the originals, as the HD ones are actually different. Some of them I've had to remake by hand, and some are different dimensions.

I always assumed I'd taste like boot leather.

 

Posted
1 hour ago, AluminumHaste said:

I explained earlier that I can't overwrite the originals, as the HD ones are actually different. Some of them I've had to remake by hand, and some are different dimensions.

Oh, that is correct: If a texture has a different resolution (even if proportions are the same) it may get rescaled... at least DarkRadiant indicates so, 0.25 can mean one scale for a 1024 x 1024 texture but twice for 2048 x 2048. In that case existing FM's would get broken so yeah. I wonder if they can be included in a different subdirectory then.

Posted

As long as the aspect ratio is the same, changing texture resolution alone should not break existing FMs. The compiled map (along with all models) will be storing texture coordinates as 0 - 1 normalised UV coordinates, which don't care about texture resolution.

I believe the problem @AluminumHaste is referring to is that the actual visual alignment of certain textures has been changed, which means that they would need to be reapplied manually in DR by the mapper. This would make a direct image replacement unsafe.

  • Thanks 1
  • 1 year later...
Posted

Regarding these committed assets.

Why are normalmaps saved in BC3_UNORM format?
As far as I understand, it is DXT5, which is DXT1 color + high-quality alpha blocks.
And normal map does not need any alpha at all.

You can use RGTC (BC5) for high-quality normal map with the same size, or DXT1 (BC1) for same quality but 2x less size.

Posted

In my experience dx1 had blocky compression artifacting, which is really bad for normalmaps. I'll redo them as rtgc.

The Nvidia tool says it uses 6:1 compression ratio for dx1, and dx3/5 is 4:1 ratio, which is higher quality as DDS compression is lossy.

I always assumed I'd taste like boot leather.

 

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

    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
    • JackFarmer

      On a lighter note, thanks to my cat-like reflexes, my superior puzzle skills and my perfect memory, I was able to beat the remastered version of "Tomb Raider: The Last Revelation" in a new superhuman record time of 23 h : 35 m, worship me!
      · 3 replies
    • Goblin of Akenash

      My mapping discord if anyone is interested, its more of a general modding thing rather than just for TDM 
      https://discord.gg/T4Jt4DdmUb

       
      · 0 replies
    • nbohr1more

      2.13 Moddb Article is up: https://www.moddb.com/mods/the-dark-mod/news/the-dark-mod-213-is-here
      · 1 reply
×
×
  • Create New...