CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2011
    Posts
    1

    Lightbulb Moving text along with the primitive objects

    I am doing a sliding number puzzle. I am able to write the text on the polygon primitive which is basically a square using glRasterPos() and glutBitmapCharacter() but when i try to move the square the text remains in its position whereas i want the text also to move along with the square. What do i do???

  2. #2
    Join Date
    Nov 2009
    Posts
    45

    Re: Moving text along with the primitive objects

    Convert Square to polygon at first, then you can still use the polygon feature to do that.
    Jack
    --------------------------------------------------------------------------------
    HMI/SCADA/CAD/GIS VC++ Source Codes: http://www.code-home.com

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured