I find it strange that you complain about Ocarina in particular, because for me, some of the most fun I've had in a Zelda game was getting lost in the Water Temple and exploring, and that sense of discovery as my understanding of the structure gradually came together. (And not just the Water Temple -- all the adult dungeons felt like this to an extent.) Sure, there's a linear sequence in terms of the actions the player is required to take to progress, but they are hidden all over the map and you have to look around, nudge in various different directions to see where you can progress now and where is somewhere to come back to with a new ability, and then complete a mini-challenge to get the next key or switch, and then try to work out how that helps you, and so on.
Maybe you are just better at "reading" the 3D dungeons than I was 🙂
The Water Temple for me was bad because there is basically "one way to solve the dungeon". The Oracles games did the Water Temple FAR BETTER (I think it was Oracle of Ages with the same raising and lowering of water requirement).
The problem I had with the Ocarina dungeons was the fact that they felt so linear. Nearly every Zelda game (save for many of the very early ones) has a series of events you need to trigger in the dungeon to unlock the path to the final door to beat the dungeon. This is fine. I do not mind this.
What I mind is how "linear" this experience feels. Ocarina's problem was that it didn't mask the linearity well at all. Or rather, didn't even try to. It was often very obvious which route was the one you NEEDED to take to get to the boss. It was very obvious usually from the moment you stepped into the "main room".
Here's what I mean:
2D Zelda games up to Oracles:
-There are two or three paths immediately that you can explore and collect treasure on. Some keys. Maybe a map. A compass too, if you get lucky. A few chests full of Rupees. Maybe a room or two with an individual puzzle for the room to get the treasure or staircase or whatever to appear.
-Most paths "loop back around" on themselves so that you don't have to backtrack all that much. Very few end in a "dead end".
-Many paths are blocked off by needing the Dungeon Item. You can sort of see parts of these where you want to go and need to go, but your goal is to find the Dungeon Item in order to tackle these blockades (pits, blocks, whatever).
-The "Boss Key" is hidden somewhere in the dungeon, you usually need the Dungeon Item in order to obtain it, but where it is... Who knows? You might find it early through exploration or it might be the last chest in the whole dungeon you open.
3D Zelda Games:
-Opens up into a "main room" pretty early. Usually within the first two or 3 screens. This is your "Hub", you'll be coming back here a lot.
-A single branch off the HUB is your "main path". It is usually the one that goes straight forward from the entrance.
-All other branches tend to end in "Dead Ends" rather than loop back around on themselves. Sometimes, you get lucky and it "loops around" somewhere, but most often it doesn't. Most often, you need to backtrack through the series of rooms you just cleared. What is at each "Dead End" is typically a chest of Rupees. Or, maybe you get a Map. Or a Compass. Or a Key. If it contains a "Key", then this exploration is part of the "Main Path" rather than you actually exploring.
-You don't typically need or even get the "Dungeon Item" until you're fairly close to the end of the dungeon when it's required to move on. This item is rarely used for "Exploration" purposes and is typically used just to cross the barrier about 3/4 of the way through the dungeon so you can get the Boss Key and access the Boss Room. There really is zero incentive to go back to earlier parts of the dungeon to see if the Dungeon Item can be used there... and in fact, early rooms have nothing in them to use the Dungeon Item on them. Early paths aren't even blocked by needing the Dungeon Item to progress.
-Backtracking is a matter of course rather than an act of exploration and Agency. There's no reason to come back to this room as nothing new opened up, your Dungeon Item doesn't do anything in it and can't be used for any interesting effect, and there's nothing "out of the way" to get here. You can get it on your first entrance of the room and you don't need to come back.... except it ends in a Dead End with a key, so you need to backtrack now.
Here's what we got:
Deku Tree - First room contains the path you need to go to. It's obvious. Big spider web on the floor. Go up a little bit and discover jumping down on it makes it go down and maybe close to breaking, so the goal is to climb up the central room to jump down. Pretty linear path both ways with only a couple side paths to get a Map and Compass and a few keys. I don't even think you get the Slingshot until after you've gone down the hole and only a few rooms from the boss.
Dodongo's Cavern - Walk into the main room and it's obvious you need to go through the giant face. Path to the left and the right. Need to traverse both paths and if I remember correctly, you can't go left until you've gone right. Get the Bomb Gauntlets, I think, and then you can climb up above the head so you can light the torches with bombs. Once that's done, hop down, boss fight. I think the Dungeon Item isn't even gotten until close to the end of this one too.
Jabu Jabu's Belly - Interesting gimmick in this one, though it is annoying. Move NPC to put her on switches. Very linear path. You can't do it out of order due to the mechanic. Then, I think two rooms before the boss, you get a Boomerang... which I think is used to solve one puzzle and defeat the boss... and then you never use it in the game again. I guess they couldn't figure out how to get this to work correctly in order to use it on complicated puzzles, so they ditched it and made you haul around the NPC instead.
Forest Temple - This map actually does "loop back in on itself", which is fantastic and makes this Dungeon less tedious. But, the Boss room is literally 1 room under the HUB you walk into. The goal here is... Defeat 4 Poes. You need the Bow to do it. The order you defeat the Poes is basically set in stone. Not a lot of options for choosing which ones to defeat first.
Fire Temple - This map "sort of" loops back on itself. Kind of. A little. Walk into the main room, and basically your goal is to traverse up/down this room here in order to obtain the hammer. Once you have it, you can get the key in a short room offshooting this room and then enter the door to the left of the entrance here for the boss fight. This level has a TON of backtracking.
Water Temple - This is a maze. A big freakin' maze. There is one way to complete it. Just one, as far as I know. It's less "exploring" and more "where am I?" and "Where do I go to do anything?". I've not seen this design before and I don't think I ever will again. It's a lot of "Oh, crap, missed that tunnel, now I gotta go all the way back around and reset all the water to go into that tunnel". It's a map that would've been better served without "currents" in the first place, if we're honest. If it were just straight up moving water up and down and noticing the differences in the dungeon based on the water level, I don't think anyone would've had a problem with this dungeon at all. Unfortunately, all the current nonsense requires you mess with TWO mechanics in a dungeon and try to remember it all when it's a maze.
Shadow Temple - I don't remember much from this one. I think you get the Mirror Shield here which isn't really used all that much except to beat the boss? Or was that the next dungeon? I remember this dungeon not even having a HUB and being insanely linearly with basically no backtracking at all. Cleared a room, keep moving forward. Was it designed as a kind of gauntlet? I can't remember? Or was this the dungeon that required the floaty boots to do it?
Spirit Temple - I... don't remember this one at all. Was this one linear too? I remember it being VERY short. Like... 10 minutes to beat or something? Was it small? What was the Dungeon Item here? The boss?
---
I dunno, I just compare these to the 2D games I've played where the Dungeon Structure requires a lot more exploration and interaction and linearity is avoided when possible... and I just can't help but feel the "World Exploration" in 3D Zelda games is better while "Dungeon Exploration" in 2D Zelda games is better.