Brendon Chung 1 Posted October 7, 2020 Report Share Posted October 7, 2020 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! Quote Link to post Share on other sites
HMart 317 Posted October 8, 2020 Report Share Posted October 8, 2020 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. Quote Link to post Share on other sites
stgatilov 1127 Posted October 9, 2020 Report Share Posted October 9, 2020 There is g_stopTime which stops game from moving, but it does not stop light updates. As for freezing culling, I think I have seen something like that. r_lockSurfaces is probably what you need, but it seems it is broken now Quote Link to post Share on other sites
HMart 317 Posted October 9, 2020 Report Share Posted October 9, 2020 (edited) 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 October 9, 2020 by HMart Quote Link to post Share on other sites
stgatilov 1127 Posted October 9, 2020 Report Share Posted October 9, 2020 1 hour ago, HMart said: 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. You can fly noclipped in this mode. Quote Link to post Share on other sites
HMart 317 Posted October 9, 2020 Report Share Posted October 9, 2020 2 hours ago, stgatilov said: You can fly noclipped in this mode. Yes you are right, it seems it was just a fluke on my first use to the svar, using it again it didn't froze the entire window! And I could noclip around. Quote Link to post Share on other sites
Brendon Chung 1 Posted October 9, 2020 Author Report Share Posted October 9, 2020 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.