Resonant soft X-ray scattering for polymer materials