Here's a link to using the basic 3D text-Ray Tracing abilities in AE CS6 and newer.
3D material options project and tutorials for After Effects CS6
If you are looking to recreate something like in the picture though, you are going to need a dedicated 3D program like Cinema4D(which works with AE CC).
Johnny Cuevas, Editor
Thinkck.com
"I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work."
---THOMAS EDISON on inventing the light bulb.