To do this, choose a font in adobe illustrator and type a word, name, or a sentence, and let the size be 400 points. The horizontal and vertical scale have to be at 150%. Now, select the text, and apply the 'Extrude' and 'Bevel' filters. Save it and open it, or import it in Photoshop. You are done!