A method of fabricating three-dimensional scaffolds includes the steps of forming a plurality of bubbles by providing a gelatin solution and a gas stream passing through a bubble production device, gathering the bubbles, cooling the bubbles, crosslinking the bubbles by adding the agent with aldehyde group, and breaking at least some of the bubbles to be interconnected to form a three-dimensional porous materials.