I'm in a cube farm but I love it and the team atmosphere we enjoy. As mentioned earlier ergonomics play a big part, lots of whiteboards, and a mix of large and very small offices are available to use. However, while all these physical pieces are helpfull ( oh and a real smoking lounge is especially sweet ) what makes the Team 'tick' is very flexible hours.. No one does less than 45 hours in a given week but it doesn't feel like it. Having the ability to control your own coming and going, and getting to know each others time quirks allows for a great easing of stress, and everyone is quite religous about fufilling thier obligations in spite of when they come and go.
Another piece that has recently ended as policy and it's absence has had a great detrimental effect to the 'Team' atmosphere was the frequent utilization of 'Off-Site' teambuilding. While the actual task of the meeting was seldom accomplished the liberal give and take between the participants made for a much stronger level of communication between members when the heat was on.