Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: drawing text on a face of a cube

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2005
    Location
    USA
    Posts
    6

    drawing text on a face of a cube

    hi everyone,

    i want to put a letter on each face of a cube. can anyone please tell me how can I draw a letter on a face of a cube?

    Thank you very much!

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Feb 2004
    Location
    Long Island, New York
    Posts
    570

    Re: drawing text on a face of a cube

    the easiest way would probably be to use a texture map. render the desired character into a texture (or generate the texture in, say, photoshop if it's okay for it to be static) and apply it as a texture to the face of the cube.

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2005
    Posts
    19

    Re: drawing text on a face of a cube

    hi, you could try this cool site -> nehe.gamedev.net it has some great lessons. hope this helps

  4. #4
    Junior Member Newbie
    Join Date
    Sep 2005
    Location
    USA
    Posts
    6

    Re: drawing text on a face of a cube

    ^thanks alot. is there any other way to do it?

  5. #5
    Junior Member Newbie
    Join Date
    Sep 2005
    Location
    USA
    Posts
    6

    Re: drawing text on a face of a cube

    thanks dasraiser!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •