Two gluProject points?
Here's the function call in the previous code:
And the function defenition:
I am also drawing a circle at the same position (label_position_x,label_position_y). This behaves with the text.
Code:
print("Marker",label_position_x,label_position_y);Code:
int print(string printstring, float cursorx, float cursory)
{
int qs;
glRasterPos2f(cursorx, cursory);
for (qs = 0; qs < printstring.length(); qs++)
{
glutBitmapCharacter(GLUT_BITMAP_8_BY_13, printstring.at(qs));
cursorx += glutBitmapWidth(GLUT_BITMAP_8_BY_13, printstring.at(qs));
// cout << "printing " << printstring.at(qs) << ". \n";
}
}I am also drawing a circle at the same position (label_position_x,label_position_y). This behaves with the text.
~ Bring a Pen ~
| Messages In This Thread |
|
Two gluProject points? - mikey - Jan 2, 2012, 11:58 AM
RE: Two gluProject points? - OneSadCookie - Jan 2, 2012, 12:39 PM
RE: Two gluProject points? - mikey - Jan 2, 2012, 01:23 PM
RE: Two gluProject points? - OneSadCookie - Jan 3, 2012, 12:41 AM
RE: Two gluProject points? - mikey - Jan 3, 2012 11:20 AM
RE: Two gluProject points? - mikey - Jan 5, 2012, 01:03 PM
|
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Hierarchy, gluProject and collision detection | lemtoo | 3 | 4,176 |
Nov 30, 2007 09:26 AM Last Post: lemtoo |
|
| surface rendering from data points | mc1961 | 6 | 4,210 |
Nov 15, 2007 03:37 PM Last Post: TomorrowPlusX |
|
| ordering of control points in glMap1f(...data) | WhatMeWorry | 10 | 5,923 |
Mar 11, 2006 08:36 PM Last Post: WhatMeWorry |
|
| gluProject <-> gluUnproject help please | szgezu | 9 | 6,241 |
Feb 26, 2006 11:50 AM Last Post: szgezu |
|
| Cocoa and OpenGL entry points? | napthali | 5 | 3,625 |
Dec 31, 2003 06:22 PM Last Post: AnotherJake |
|

