The easiest way to get started doing that is to extrude the text by clicking the little 3D icon in the Options area when the text layer is current, though you can also start via the 3D menu entry New 3D Extrusion from Selected Layer.
Once you've extruded it, you can manipulate the extrusion primarily by clicking parts in the 3D panel and making changes to the controls in the Proiperties panel, for example bending the extrusion...
Finally you Render the result using the little button at the bottom of the Properties panel for the highest quality...
Not having done 3D before Photoshop CS6, I find the tools intutive to use and quick to get results.
The things you can do by just moving and turning the mesh and manipulating the various controls in the Properties panel are pretty cool!