0

I would like to create a simple label on 3D display. Something like this.

I tried using SpriteBatch and SpriteFont which only gave me more problems. Also, I was through some tutorials that didn't help me.

Do you have any tutorials for me or any solutions?

Thank you.

Dino Velić
  • 888
  • 11
  • 24
  • My models were messed up, and it looked like one of them was used for a 2D display (didn't have anything to do with the 3D world). I was really confused. – Dino Velić Feb 05 '13 at 16:47

1 Answers1

2

I normally split my 3D drawing code and UI code into two SpriteBatch's.. that way, I can apply one matrix to the 3D view, and a different matrix to the 2D screen overlay.

  • Great. Thank you! SOLUTION: Added another spriteBatch in LoadContent(). Then in the Draw() I used spriteBatch.DrawString() – Dino Velić Feb 05 '13 at 16:57