You must separate the faces by smooth groups into different elements of the object, the rendering engine tries to smooth all faces that share vertices, even if they have sharp angles, for example the faces in the front, that make a curved surface are smoothed ok, but the window frames must be separated (they must have their own set of vertices), select the faces in max and detach them to elements.
Ref
__________________
|