|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] GLUT, Windows, glPointSize, and Mouse Coordinates
--- Sponsor's Message -------------------------------------- Discuss Tech News as It Happens! Keep up with the latest happenings in high tech -- FREE! http://click.topica.com/aaaa4IbUrGczbU68iFa/technology ------------------------------------------------------------ 2 problems I've run into trying to port this program of mine to windows 98: (1) glPointSize does not seem to be working for windows. This isn't a huge deal, but it makes life a whole lot easier. Since pointSize is supposed to be supported by every OpenGL version, any ideas on why it isn't working? (2) i've set my mouse up to do point picking in world space, but for some reason the mouse coordinates I'm getting from GLUT, inverted, seem to be shifted down an amount specified by the taskbar. First, why is this happening? As far as I know the taskbar is independent of window coordinates, ie (0,0) starts at the lower left coordinates of the drawing space, and goes to the edge of the drawing space. Second, how can I get the height of the bar so that I can shift my mouse coordinates up? Note I'm using GLUT so I don't have a window handle. Thanks, Fern ____________________________________________________________ T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01
|
|