title: Drawing 3D text in Processing
body: <p>I'm working on a 3D scene in Java using the Processing API. It's a force-directed graph layout algorithm (although that isn't too important). I've got all the graph drawing done -- the nodes, edges, layout, etc. are looking good. Each node on the graph has a label, though, and I'd like to be able to display said label as text next to the node. I've tried working with the text() function, but so far it seems like my code just doesn't work. I see no text anywhere in the scene.</p>
  
  <p>My code looks like the following:</p>
  
  <pre><code>pushMatrix();
  translate(width/2, height/2, 0); // put 0,0,0 at the center of the screen
  text("foo!", 20, 20, 20);
  popMatrix();
  </code></pre>
  
  <p>And I don't see anything. Just the graph. So what am I missing?</p>