I would firstly like to say that the answer by @Jay is excellent, and provides some good pointers on which characters should be one-dimensional or three-dimensional.
Like others here, I have never heard of two- or three-dimensional characters. I have heard of one-dimensional and multi-dimensional.
One-dimensional
This reflects a character that lacks depth, as if he was made of only one dimension. As Jay has pointed out, a one-dimensional character can often be summed up in one line or phrase. There's nothing wrong with one-dimensional characters, as long as they don't have a large part to play in the story.
Multi-dimensional
Multi-dimensional characters have several layers, facets, or dimensions to them. They are more complex and harder to figure out than one-dimensional characters. Once again, as Jay pointed out, multi-dimensional characters can take several lines to sum up, because they have several different characteristics. I believe it goes deeper than that though.
Every protagonist in a book (who should always be multi-dimensional) needs two basic parts: strength and inner conflict.
Strength
A lot of people like to focus on making sure their characters are flawed. This is fine, but what they seem to forget is that we have to like the characters too. Who wants to read about someone we don't care about?
Main characters need a strength, some quality about them that the reader can root for. Honesty, integrity, humility, humor, thrift, etc. The list goes on and on. The strongest of strengths are self-sacrifice and forgiveness (notice: they are both selfless qualities).
Inner-Conflict
Your hero needs strength, but with nothing else, he will still bore the reader. As @Filip has pointed out with Harry Potter, this is because they need something more: Inner Conflict.
Inner Conflict can manifest in two ways: either two opposing desires in direct opposition to each other, or sides of the protagonist (dimensions) that are incompatible, and therefore conflict.
An example:
During a war, a woman seeks vengeance against the enemy for the murder of her parents. At the same time, her sister is sickened by the war. Out of love for her sister, the woman seeks to end the war entirely.
The woman both wants to be a part of the war, and end the war, simultaneously. Her Inner Conflict pulls her in two opposite directions, both unrelenting.
Back to your question. Making a character multi-dimensional is not an easy process. One-dimensional characters often have a single purpose, determined by the plot, and a physical appearance. Multi-dimensional characters have a physical appearance, ways that they act, ways that they interact with others, and why they do what they do. If your character is a main character (but not the antagonist) they will also have inner-conflict; if he is a protagonist, he will also have strength and inner-conflict.
To form characters, you need to start with your protagonist.
Determine what makes your protagonist who he is. What defines him? What strengths are central to his very being? What inner conflicts keep him awake at night? Defining these two things alone will highly develop your protagonist. Then get in his head, figure out how he thinks, and from there, how he acts and interacts.
Once you have your protagonist down, all other characters are secondary. No matter how large of a part they play, they have a reason to exist, a reason that is linked to the protagonist. Maybe one helps him realize something he otherwise wouldn't. One is holding him back. One is pushing him forwards. One spreads doubt. One fans the inner conflict. One simply acts as a target for the protagonist's strength. One may see things the protagonist can't. (This is a different PoV character, and often acts as a secondary protagonist. This character needs strength as well.) The reason that you need side characters will determine who they are. You can then assign them inner conflicts (not necessarily strengths, unless they are very large characters in the story), and get inside their heads.
The further away you get from the protagonist, the less you will have to develop characters. Eventually you won't need inner-conflict anymore, and soon you won't even need to get inside a character's head and figure out who they are. You've arrived at one-dimensional characters, those people that pop into the story, perform their purpose, and then are never seen again.