Jump to content
The Dark Mod Forums

Recommended Posts

Posted
On 4/21/2021 at 11:04 AM, ddaazzaa said:

I have visportals around the manor although I don't know how optimally placed they are.

If anyone knows if there are better ways to visportal/optimize the exterior I'm happy to try and create better performance.

I recommend Springheel's video series on mapping, in particular the video about designing your map with the placement of visportals in mind.

From the screenshots @stgatilov posted, it looks like some of your portals are worse than useless. Portals are not a magic fairy dust that you can just sprinkle over your mission in a criss-cross pattern and hope that they will automatically improve performance — they won't (and might even make it worse). A portal which never closes, and does not substantially restrict the visibility of objects behind it, achieves nothing whatsoever.

If you specifically want an outdoor area which does not lend itself to visportalling, you might need to consider other techniques for performance optimisation, such as reducing draw calls by simplifying models, reducing light counts and shadow-casting objects, etc.

  • Like 1
Posted
Just now, OrbWeaver said:

If you specifically want an outdoor area which does not lend itself to visportalling, you might need to consider other techniques for performance optimisation, such as reducing draw calls by simplifying models, reducing light counts and shadow-casting objects, etc.

There are almost no lights outside, and almost no shadows. @Gadavre has already discovered that shadow settings have absolutely no effect on this scene.

Posted
2 minutes ago, OrbWeaver said:

I recommend Springheel's video series on mapping, in particular the video about designing your map with the placement of visportals in mind.

From the screenshots @stgatilov posted, it looks like some of your portals are worse than useless. Portals are not a magic fairy dust that you can just sprinkle over your mission in a criss-cross pattern and hope that they will automatically improve performance — they won't (and might even make it worse). A portal which never closes, and does not substantially restrict the visibility of objects behind it, achieves nothing whatsoever.

If you specifically want an outdoor area which does not lend itself to visportalling, you might need to consider other techniques for performance optimisation, such as reducing draw calls by simplifying models, reducing light counts and shadow-casting objects, etc.

Yeah, I wasn't sure how to place visportals in a large open area. The concept of visportals is easier to understand when looking at smaller rooms but I never had any luck trying to wrap my head around how they work with larger open spaces.

I'm going to try what stgatilov has suggested and see how that goes.

  • Haha 1
Posted
21 minutes ago, ddaazzaa said:

Yeah, I wasn't sure how to place visportals in a large open area. The concept of visportals is easier to understand when looking at smaller rooms but I never had any luck trying to wrap my head around how they work with larger open spaces.

I'm going to try what stgatilov has suggested and see how that goes.

As an addendum, with the extensive use of modular content you will likely need to embed caulk brushes inside some of the modular models so that the visportals can properly seal.

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...)

Posted

Is The Painter's Wife well optimised?  It murders my system, and buying a new graphics card is off the table until the semiconductor market recovers from its current doleful state (I want a reasonably high end AMD card ... good luck with that today!)  The Painter's Wife is really the only mission that I find unplayable, so it would be interesting to know where it fits in this conversation.

Posted (edited)
4 hours ago, ddaazzaa said:

I have tracked down a performance issue due to the map wide fog. It seems to increase draw calls by 40%. There is a no fog version in the link below which should improve performance quite a lot. Let me know what performance is like with this version:

https://drive.google.com/file/d/1iXE4-W0jucFSUrDQ415XsBehCLuX8gzd/view?usp=sharing

I'm currently seeing if I can reduce the performance impact of the fog.

 

Thank.  Removing the fog particles in the mission removed the low FPS in the castle grounds. blackgrove_no_fog.pk4 works better

a variable with this value improves visibility, but does not increase for me performance:

seta r_skipFogLights "1"

FPS drop is still there between the sea and the castle fence.

 

blackgrove_2021-04-22_16.21.52.jpg

blackgrove_2021-04-22_16.22.47.jpg

Edited by Gadavre
Posted
4 hours ago, Araneidae said:

Is The Painter's Wife well optimised?  It murders my system, and buying a new graphics card is off the table until the semiconductor market recovers from its current doleful state (I want a reasonably high end AMD card ... good luck with that today!)  The Painter's Wife is really the only mission that I find unplayable, so it would be interesting to know where it fits in this conversation.

I'd say the original version is not bad, and the newer fixed version should be faster

In any case you already have a thread about that, so let's not spam other threads with that again

Posted
On 4/22/2021 at 9:47 PM, stgatilov said:

Also I believe these bushes eat too much performance for their relatively unimportant role:

  Reveal hidden contents

blackgrove_FPS_killer.jpg.478a45c4b4e16f127b7e451e85d9d087.jpg

When I stand the shore and rotate camera, I get severe FPS drop at the moment when my frustum starts including this thing.

Yeah, I didn't know those hedge models are over 5000 polys each. That's a major optimization I can make with hedge LODs.

23 hours ago, nbohr1more said:

As an addendum, with the extensive use of modular content you will likely need to embed caulk brushes inside some of the modular models so that the visportals can properly seal.

I don't think there's any problems with rooms in the manor sealing properly. Is there a reason caulk would seal any better than a brush with a standard texture?

I noticed Sir Taffsalot's Sword using the same modules and has caulk on all of the internal brushes.

  • Like 1
Posted
2 hours ago, ddaazzaa said:

Is there a reason caulk would seal any better than a brush with a standard texture?

Caulk surfaces are not rendered at all, normal surfaces are rendered, even through you don't see them.

No idea how big the performance difference is. I bet the actual rendering of invisible brush surfaces takes negligible time, but additional frontend processing and shadows might take some time. I'm not sure it is worth wasting your time replacing the brushes now. But it is probably a good idea to use caulk in future missions.

Posted
2 hours ago, stgatilov said:

Caulk surfaces are not rendered at all, normal surfaces are rendered, even through you don't see them.

No idea how big the performance difference is. I bet the actual rendering of invisible brush surfaces takes negligible time, but additional frontend processing and shadows might take some time. I'm not sure it is worth wasting your time replacing the brushes now. But it is probably a good idea to use caulk in future missions.

We've run those tests before, and there was no performance benefit to using caulk.  

  • Like 1
  • Thanks 1
Posted
13 hours ago, JackFarmer said:

@ddaazzaa

Cull away as many entities as possible with the "hide" property.

Look into HHVF and check the outside enviroment. Most of the small entities (including plants) have a hide property on them.

Thanks, I'm in the middle of using hide at the moment and I'm seeing some very large performance improvements. I've found the best way to work out the hide distance is to temporarily insert a speaker right next to the entity and adjust the diameter to the preferred cull size, then divide the diameter in half and that becomes the hide_distance number.

  • Like 2
Posted (edited)
On 4/25/2021 at 7:35 AM, ddaazzaa said:

@Gadavre

I have released a new version that should improve performance by a lot. Let me know what your performance is like now.

1.02:

https://drive.google.com/file/d/1wZc_nqHoX7kQvzfg08EpoRy2hyuH7mw3/view?usp=sharing

@ddaazzaa Тhаnk! I've tested with the fog, the area between the sea and the castle fence is already fine....

But on the castle grounds  itself there are places with low fps

blackgrove_2021-04-26_19.16.30.jpg

blackgrove_2021-04-26_19.17.46.jpg

blackgrove_2021-04-26_19.19.56.jpg

blackgrove_2021-04-26_19.21.09.jpg

blackgrove_2021-04-26_19.22.05.jpg

Edited by Gadavre
Posted
56 minutes ago, duzenko said:

@GadavreYou seem to have triple buffering on

Either turn it off or do your tests with VSync off

i dont use triple buffering. I don't use the video driver settings

I can't turn off VSync. since there will be Screen Tearing

Posted
6 hours ago, Gadavre said:

i dont use triple buffering. I don't use the video driver settings

I can't turn off VSync. since there will be Screen Tearing

Due to the nature of those outdoor areas it will be hard to improve performance much more without introducing noticeable amounts of pop in. I'm happy to release a different version with more pop in that should have better performance.

Posted
38 minutes ago, ddaazzaa said:

Due to the nature of those outdoor areas it will be hard to improve performance much more without introducing noticeable amounts of pop in.

I am quite against pop-in and LOD stuff in general.

Most of the screenshots include those bushes again, but at close distance now.
You added LOD to turn them into boxes from far distance, but it does not save players when they come close.
Why didn't you simply reduce the complexity of the model (without any LOD at all) ?

Posted

There's only 2 versions of those models (low and high poly). The low poly model isn't really suitable for up close, so I'd have to create my own. Is there an easy way of lowering poly count on models without knowledge of 3D modelling software?

Posted
42 minutes ago, ddaazzaa said:

There's only 2 versions of those models (low and high poly). The low poly model isn't really suitable for up close, so I'd have to create my own. Is there an easy way of lowering poly count on models without knowledge of 3D modelling software?

Did these models come from core TDM assets?

If yes, then asking someone from TDM team is viable approach 😀
It is not good having such heavy models in core assets, since mappers will have same problem with them again and again.
If some average-sized models is created, it can be bundled in this FM and added to core assets for 2.10.

 

Posted

They are from the core TDM assets. The hedge archway alone is 9600 polys. The rectangle hedges are 5200 each. Add a few of those in a row and an archway and the poly count starts to skyrocket.

models/darkmod/nature/hedge01_***.lwo

What's the best way of asking someone? Should I create a thread in the Art Assets forum requesting if someone can create lower poly models?

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

    • jivo

      I just uploaded a new version of the Visible Player Hands mod. It's been updated for TDM 2.13 and has new animations. Check out the post if you're interested!
      · 0 replies
    • datiswous

      I moved from Manjaro Linux (rolling release) to Linux Mint (LTS). One of the reasons was that I found the updates a bit too often and long. But now on Mint I get updates every day, although they're usually small updates.
      · 3 replies
    • 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!
      · 5 replies
×
×
  • Create New...