The process by which a material passes from a solid state directly to a gaseous state without becoming liquid.