Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Mars_999

#1
I am wondering has anyone made a editor to make the UI creation quicker using TGUI? Be nice to use a layout editor and then save it to the config files to use that way...

Thanks!
#2
I am getting back into coding after many years of being gone... but I can't remember why my final image I render is being replaced or covered up with the gui.draw()?

What am i doing wrong?

Thanks!



glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

glPushMatrix();
glLoadIdentity();//load identity matrix

glTranslatef(4.0f, 4.0f, -4.0f);//move forward 4 units

glColor3f(0.0f, 0.0f, 1.0f); //blue color

glBegin(GL_LINE_LOOP);//start drawing a line loop
glVertex3f(-1.0f, 0.0f, 0.0f);//left of window
glVertex3f(0.0f, -1.0f, 0.0f);//bottom of window
glVertex3f(1.0f, 0.0f, 0.0f);//right of window
glVertex3f(0.0f, 1.0f, 0.0f);//top of window
glEnd();//end drawing of line loop
glPopMatrix();

gui.draw();
window.display();