Most overbuild O-Scale because engines and buildings are larger and heavier. 3/4” ply is more stable than thinner materials and many modelers live where humidity can be a problem in basements. Bob Barrett did a series in the OGR magazine showing how 1/2” ply and 1x3 lumber works just fine. Some think foam helps with sound, it doesn’t, but most use it on top of ply to carve rivers/valleys and create mountains, tunnels, etc. Homasote is the sound deadener material of choice, if you can get it, if sound is a concern and if you can afford it. Lots of layouts have been built with ply and cork or foam roadbed, so it’s a pretty personal choice. Some folks use just rigid foam for holiday layouts because it’s light. I used it for a temporary (3 years) 8x10 holiday layout and had no problem with sag, etc., but it was noisy. Obviously, you couldn’t climb up on it, but with 12” 1x3 framing it was plenty strong enough for my purposes.