Jump to content
The Dark Mod Forums

So, what are you working on right now?


Springheel

Recommended Posts

Yeah, you should select those cutlerly models and food models and turn change their classnmame into func_statics so they don't fly around when the ai is alerted. EDIT: Better yet, you can give those forks and knives, etc., "noclipmodel" "1" that way players don't clip on them if they climb onto the table

Edited by Amadeus
  • Like 1
Link to comment
Share on other sites

5 hours ago, Amadeus said:

Yeah, you should select those cutlerly models and food models and turn change their classnmame into func_statics so they don't fly around when the ai is alerted. EDIT: Better yet, you can give those forks and knives, etc., "noclipmodel" "1" that way players don't clip on them if they climb onto the table

You can't frob and pick them up either then right? I'd rather leave them as is since I prefer as many moveables as possible to make the world feel interactive, I'd actually like if it more FM's allowed moving any small stuff around. Though I can fully confirm everything starts flying across if you alert AI in the area... then again seeing them climb on tables as food flies all over the place only makes for more fun even if unintended :D

Link to comment
Share on other sites

Fair enough. I will say that as a player, I do get annoyed when I climb on something and then clip onto a small thing (like a fork). But that is just me :)

Link to comment
Share on other sites

1 hour ago, Amadeus said:

Fair enough. I will say that as a player, I do get annoyed when I climb on something and then clip onto a small thing (like a fork). But that is just me :)

Yes I hope that can be improved in the physics engine in time, though if it hasn't until now I presume more can't be done. The biggest issue is you can still get stuck very easily and have to reload a save since the player can no longer move after you touch certain corners or slopes.

Link to comment
Share on other sites

29 minutes ago, MirceaKitsune said:

Yes I hope that can be improved in the physics engine in time, though if it hasn't until now I presume more can't be done. The biggest issue is you can still get stuck very easily and have to reload a save since the player can no longer move after you touch certain corners or slopes.

Open console, type noclip, fly to empty area, type noclip again. Losing progress isn't necessary with access to dev commands

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

1 hour ago, AluminumHaste said:

Open console, type noclip, fly to empty area, type noclip again. Losing progress isn't necessary with access to dev commands

Usually I reload the save since I quick-save often: If I use cheats in a run not destined for it I feel like I broke my run by cheating. Then again I often noclip to go somewhere then reload, technically I didn't use the command during the continuation of my run but did to gain new knowledge, so it depends how you look at it :P

Link to comment
Share on other sites

I use noclip only when I get stuck, what ocurres sometimes in some missions. Godmode in missions with much scaling and manteling (I¡m not so good in this), but this don't give an big advantage in a mission, only avoid to hurt me innecesary falling from a roof.

Notarget, to have fun in old, many times played missions, trolling guards, spawning big spiders or zombies. often with hilarious results.

Sys Specs Laptop Lenovo V145 15AST, AMD A9- 9425 Radeon R5 - 5 cores 3,1 GHz  RAM 8Gb, GPU 1+2 Gb -Win10 64 v21H2

Favorite online apps you may like too 😉

Link to comment
Share on other sites

  • 1 month later...
1 hour ago, stgatilov said:

There are some issues, but in general it seems to work fine.
Of course the performance on such scenes is abysmal.

My understanding is that such things should be supported despite bad performance, simply because sometimes mappers get these situations unintentionally. For instance, you have two adjacent rooms with mirrors, and when player opens a door between them you might suddenly get two mirrors in the view. Right now renderer will break one of the mirrors. Processing both mirrors properly with lower FPS seems a better approach.

Lock it to 60 FPS and you're good to go!

The fully path traced TDM of 2035 will be the real iGPU killer.

  • Haha 3
Link to comment
Share on other sites

  • 2 weeks later...
On 1/8/2024 at 4:16 PM, stgatilov said:

There are some issues, but in general it seems to work fine.
Of course the performance on such scenes is abysmal.

Since you're working on this, have you tried restoring the original functionality, i.e. ability to set up a resolution for these? That might help with performance.

Also, when I was working with mirrors, I noticed that they disable normalmaps in the material. See how a cubemap version has those damaged surface details on the mirror surface, while real-time mirror bypasses all that.

Last but not least, have you tried making mirrors work on convex or concave surfaces, not just straight flat polygons? That would open up possibilities for very nice material effects (if used with moderation :D).

Edited by peter_spy
Concave surfaces is probably bad idea...
  • Like 4
Link to comment
Share on other sites

6 minutes ago, peter_spy said:

Since you're working on this, have you tried restoring the original functionality, i.e. ability to set up a resolution for these? That might help with performance.

Also, when I was working with mirrors, I noticed that they disable normalmaps in the material. See how a cubemap version has those damaged surface details on the mirror surface, while real-time mirror bypasses all that.

Last but not least, have you tried making mirrors work on convex or concave surfaces, not just straight flat polygons? That would open up possibilities for very nice material effects (if used with moderation :D).

 

That looks so bloody awesome! If we could have a mirror that looks that good, that would be insane.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

6 hours ago, peter_spy said:

Since you're working on this, have you tried restoring the original functionality, i.e. ability to set up a resolution for these? That might help with performance.

Yes, I considered this idea.
But it won't help much, I believe.

Quote

Last but not least, have you tried making mirrors work on convex or concave surfaces, not just straight flat polygons? That would open up possibilities for very nice material effects (if used with moderation :D).

If several mirrors are allowed, you can split your surface into individual planar polygons and hope for the best. But if you have 10+ polygons, then I suppose the best won't happen 😆

Quote

Also, when I was working with mirrors, I noticed that they disable normalmaps in the material. See how a cubemap version has those damaged surface details on the mirror surface, while real-time mirror bypasses all that.

Internally, the material has "mirrorRenderMap" keyword which triggers rendering of subview. This subview is than copied into a texture. In the main view, the surfaces with mirror material should be rendered as any other surfaces, it can just use this dynamically generated surface.

I'm not sure what exactly you want. If you want the mirrored view to be distorted by normal map, then yes: this is definitely not supported. The reflected texture is generated as if reflected by a perfect plane. Maybe we can add some kind of warp shader that deforms the image mathematically according to the normalmap, but this would be a new feature.

 

  • Thanks 1
Link to comment
Share on other sites

Thanks for such detailed info!

12 minutes ago, stgatilov said:

I'm not sure what exactly you want. If you want the mirrored view to be distorted by normal map, then yes: this is definitely not supported. The reflected texture is generated as if reflected by a perfect plane. Maybe we can add some kind of warp shader that deforms the image mathematically according to the normalmap, but this would be a new feature.

I'm not sure if adding that warp shader is worth the hassle then, the current state seems like a feature, not a bug :) Personally I'm pretty happy with what I can do with a cubemap, and IMO that should be the way to go in most cases.

Link to comment
Share on other sites

4 minutes ago, peter_spy said:

Thanks for such detailed info!

I'm not sure if adding that warp shader is worth the hassle then, the current state seems like a feature, not a bug :) Personally I'm pretty happy with what I can do with a cubemap, and IMO that should be the way to go in most cases.

A colleague of mine believes the true mirrored rendering is a deprecated feature today.
Given all the problems (try to put a model which is both partly in front of and partly behind the mirror) and the fact that reflection probes are unversal, perhaps he is right.

  • Like 2
Link to comment
Share on other sites

12 minutes ago, stgatilov said:

A colleague of mine believes the true mirrored rendering is a deprecated feature today.
Given all the problems (try to put a model which is both partly in front of and partly behind the mirror) and the fact that reflection probes are unversal, perhaps he is right.

I agree the future is reflection probes: The old mirror system used to work back in the day because due to resource limitations, you'd have extremely low geometry in the world, thus in some areas you could have one giant floor or wall as a mirror. Today the target is PBR, as we'll want every surface with a specular channel to have a bit of reflection shining through. Of course one-way sharp mirrors should continue working as well, but hopefully under a new system that supports universal reflections the right way... definitely not a 2.12 thing but maybe something to dream of for 2.13.

  • Like 1
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

    • The Black Arrow

      I was playing Skyrim, got bored fast. Got back to The Dark Mod just for one mission, played "Somewhere above the City" which is not really a great mission but still good, as in above-average.
      My biggest regret is living in this country, where there's a heat wave, I am sweating at 20c and I really wish for temperatures below 5c.
      · 10 replies
    • Skaruts

      Is there something wrong with the forums lately, or is it my browser? I've been having trouble formatting posts, and just now I couldn't format anything at all.
      I'm using Vivaldi.
      Usually I have to: select text, click bold, nothing happens, select again, click bold, then it works. 
      Same for other stuff, like creating spoilers, bullet points, links. Nothing works the first time. 
      · 1 reply
    • STiFU

      Back from a spontaneous 1-week trip to Lanzarote with wife and son. I hope beta testing has been going well...
      · 1 reply
    • datiswous

      Whenever I eat fried chicken these days I think of this scene in The Black Mage..

      · 1 reply
    • Mortem Desino

      Even though I've been absent a long while, I still find myself dreamily wishing for the free time to do TDM mission development. When working on new research projects I'll find myself involuntarily thinking, "hee hee this could be a fun texture or readable or bit of map architecture." Or I find myself absentmindedly responding out loud to odd noises with a drunkguard-like "must've been rats!"
      · 3 replies
×
×
  • Create New...