site banner

Friday Fun Thread for July 28, 2023

Be advised: this thread is not for serious in-depth discussion of weighty topics (we have a link for that), this thread is not for anything Culture War related. This thread is for Fun. You got jokes? Share 'em. You got silly questions? Ask 'em.

2
Jump in the discussion.

No email address required.

I'm probably not using the right terminology here. Consider the real-world example of a bowl turned upside down and lowered into water. The inside of the bowl is painted red and the outside blue. My goal is to identify whether any red is directly accessible from the outside. Because the bowl is upside down and in the water, the (EDIT:) directly accessible surface of the water only intersects the blue surface of the bowl, and thus the red is not accessible from the outside. If the bowl were on its side instead, the red surface would be accessible. Most static objects in Skyrim (and probably the other games as well) are topologically similar to bowls in this sense, where they are only partially textured with the intent that the non-textured stuff (corresponding to the red part of the bowl) is hidden behind other textured surfaces.

Oh! You're talking about normals. The surfaces do have a texture, but to save resources they're only drawn on the "forward" side (defined by the normal vector). I think you can actually use that for validation, though I still can't think of an obvious traversal algorithm that could do the check. It might be a solved problem for all I know (or not, lol), but I can't think of the right terms to google it. I'll let you know if I find anything.

Before jumping into Skyrim, I'd try to do a proof of concept in something like Unity. You can import a bunch of meshes there, set them up in an invalid way, and try to write a script that detects it. If it works, you can try looking into applying it to Skyrim.