Jump to content
The Dark Mod Forums

Visibility/culling debug command


Brendon Chung
 Share

Recommended Posts

I'm not sure if I'm misremembering it, but is there a console command to "pause" the engine update of visibility/culling?

With the primary purpose of letting you noclip around and see exactly what is being rendered/not rendered when the player is at a given location. I could've sworn I've used this command before, but I just spent the last hour trying to find it to no avail, so maybe I imagined it!

Link to comment
Share on other sites

Don't know of such cmd but if it exists I would love to know it has well!  

But browsing the engine cvars I see this one, r_lockSurfaces it says "allow moving the view point without changing the composition of the scene, including culling" sounds very similar to what you want but I tested the cmd on my end and it just caused a black screen. 

Link to comment
Share on other sites

in my case g_stopTime totally froze the game including the player and the game window, making me unable to interact with the game, so I don't think is very useful in this case.

r_lockSurfaces was broken in all idtech 4 engines versions I tested, I didn't tested the BFG version of the engine tho. Is a petty that such a convenient debug tool was released broken.

Btw doesn't r_showTris 2 could be useful here? This option seem to take portals clip into account and only show triangles that are visible through portals, if there's no portals it shows the triangles of everything, including of those behind solid objects, so I think this does tell us " what is being rendered/not rendered when the player is at a given location", i'm I wrong?

Edited by HMart
Link to comment
Share on other sites

Ok, thanks all! I think I just totally misremembered this feature being in the doom3 engine, my mistake : )

@HMart - yup, r_showTris 2 is what I've been using for verifying visibility stuff. It works well, but becomes a little difficult to visually parse when the level reaches a certain complexity, so I was looking around for possible alternatives.

Link to comment
Share on other sites

  • 6 months later...

I have almost fixed it

The only remaining problem is mysterious scissoring, even though I set it up with

r_skipFogLights 1 ; r_skipSubviews 1 ; g_stopTime 1 ; com_smp 0 ; r_usescissor 0 ; r_useDepthBoundsTest 0

If anyone is interested, please take a look at what might be causing it

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.

 Share

  • Recent Status Updates

    • freyk

      Some years earlier i created some launchers for TDM. uploaded today some new sourcecode and executables on my github repo.
       
      · 0 replies
    • Epifire

      Say, I know it's been a while since the site got overhauled from the crash. But did we ever figure out if/how to get the recent topics & replies list back? It's not a total deal breaker but it was nice for becoming a thread creeper again...


      · 2 replies
    • Epifire

      Some of you who've been on the TDM discord know I was out of work last Winter, just putting in hrs for the developer portfolio. Currently I've been working a seasonal job to pay the bills and now I'm finally in my last week before I get bumped off. Things will be tight but I'm planning a long off period to make as much content as I can. Big plans in Unreal Engine as well as my most ambitious TDM collab yet! Never been so excited to be a stuck at home to pursue my life's work. With a lotta time and maybe some luck, I'm hoping to get enough art work done that I may start applying around to studios.
      · 4 replies
    • STiFU

      I finally got around to play Prey and I truly loved it. It is an incredible homage to System Shock and Deus Ex. While the gameplay is not en par with those two titles, the game makes up for that with its well written lore and story. The whole "world" just feells so authentic and it features a ton of really god environmental story-telling. Recommended for every immersive sim fan, i.e., everyone on this forum.
      · 2 replies
    • jaxa

      Alder Lake has arrived:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/15/&tab=comments#comment-466190
       
      · 0 replies
×
×
  • Create New...