i haven't played odyssey, but out of the ones so far i think i kinda have mixed feelings. i do kinda like the idea of being free and doing whatever and exploring. but to me, super mario 64 never really felt like it achieved that completely, it was just one level with several stars thrown in there in a way that i guess i kind of liked but never felt to me like the open world idea was used to it's full potential.
sunshine didn't feel that impressive to me either, it's my least favourite of the 3d marios by a longshot and being forced to do the shines in a certain order just feels like a huge step back and a lot of the missions are just not interesting to do, like the watermelon one, and it was too hard and the game punishes you too harshly for messing up which is especially painful with the game's less than perfect controls.
and then the two galaxies are wonderful. to me, a lot of the ways in which sunshine failed (not that i dislike that game in its own right, but feel a lot of its fun ideas didn't turn out as well as they could have) the galaxies suceed, i love knowing what i'm doing and not spending ages figuring out what i got to do, there's plenty of galaxies and in galaxy 1 they feel like you can select what you want when you want, but i do like the world map too. the levels still have multiple goals, and i like that, and the green stars in galaxy 2 are in my opinion a positive addition. this also applies to other things i feel were suboptimal about sunshine like graphics, music, theming, and story, but i guess this discussion is just gameplay.
3d land and 3d world are also great, although this time i feel a bit negative about the linearity, i guess there were green stars and star medals but they were always on the path to the main goal, and yes they get remixed in the late game but overall i do wish there was more in the way of multiple goals per stage. but there's still plenty of them. i also overall feel both of these games are too easy, especially 3d land, but they're still great.
overall i'd rank them galaxy 1 > galaxy 2 (incredibly close tho) >> 3d world > 3d land > 64 >>>>> sunshine
however it's worth mentioning i played them in this order galaxy 2 -> galaxy 1 ----------> sunshine -> 64 -> 3d world -> 3d land
in terms of the open world vs linear style i feel that with the games i've played i prefer the more linear ones, and that maybe if a game pulled off the open world better (hopefully odyssey will) i could prefer it, but in 64 and sunshine it just never got as enjoyable as the linear ones to me.