Processes of molding by spraying