Outside world scene for cockpit in opengl

help me in creating an OWS for cockpit in OpenGl.i am new to opengl and written just baisc code only.

//testingRotationOnScene Project1
#include <glut.h>
#include <math.h>
#include <stdio.h>

GLfloat cameraX = 0.0f;
//GLfloat cameraY = 0.0f;
GLfloat cameraY = 0.0f;
GLfloat cameraZ = 5.0f;

// Camera rotation angles
GLfloat angleX = 0.0f;
GLfloat angleY = 0.0f;
//NEW LINE ADDED
GLfloat angleZ = 0.0f;
GLfloat fwdmov = 0.1f;
GLfloat roll = 0.1;

void drawSky() {
	glColor3f(0.7f, 0.9f, 1.0f); // Light blue color for the sky
	glBegin(GL_QUADS);
	glVertex2f(-1.0f, 1.0f);
	glVertex2f(-1.0f, -0.2f); // Horizon level
	glVertex2f(1.0f, -0.2f);
	glVertex2f(1.0f, 1.0f);
	glEnd();
}
void drawGround() {
	glColor3f(0.2f, 0.8f, 0.2f); // Green color for the ground
	glBegin(GL_QUADS);
	glVertex2f(-1.0f, -1.0f);
	glVertex2f(-1.0f, -0.2f); // Horizon level
	glVertex2f(1.0f, -0.2f);
	glVertex2f(1.0f, -1.0f);
	glEnd();
}
void drawRunway() {
	glColor3f(0.5f, 0.5f, 0.5f); // Gray color for the runway
	glBegin(GL_QUADS);
	glVertex2f(-0.5f, -1.0f);
	glVertex2f(-0.2f, -0.2f); // Horizon level left
	glVertex2f(0.2f, -0.2f); // Horizon level right
	glVertex2f(0.5f, -1.0f);
	glEnd();
}
void drawRunwayLines()
{
	glColor3f(1.0f, 1.0f, 1.0f); // white color for the runway

	glBegin(GL_QUADS);

	glVertex2f(-0.1f, -0.5f);
	glVertex2f(0.1f, -0.5f);
	glVertex2f(-0.1f, -0.8f);
	glVertex2f(0.1f, -0.8f);

	glEnd();
}
void drawAircraft() {
	glColor3f(1.0f, 0.8f, 0.5f); // Yellow color for the aircraft
	glBegin(GL_TRIANGLES);
	glVertex2f(-0.1f, -0.2f);
	glVertex2f(0.0f, 0.0f);
	glVertex2f(0.1f, -0.2f);
	glEnd();
}

void display() {
	glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

	glMatrixMode(GL_MODELVIEW);
	glLoadIdentity();

	//camera postion , canearlooking to , camear up angle
	gluLookAt(0.0, 0.0, 5.0,    
		      angleY, angleX, 0.0,     //variation where the yaw, pitch, ...  is moving
			  0.0, roll, 0.0);//  camera up values for rROLL values like in inverted image
	
	//tranalstion along(x,y,z)
	glTranslatef(0,0,fwdmov);

	//raotation along x,xyz witha n agngle value as specified
	//glRotatef(angle, x, y, z);
	//glutWireCube(5.0f);
	drawSky();
	drawGround();
	drawRunway();
	drawAircraft();
	drawRunwayLines();
	
	glutSwapBuffers();
}

void reshape(int width, int height) {
	glViewport(0, 0, width, height);

	glMatrixMode(GL_PROJECTION);
	glLoadIdentity();
	gluPerspective(75.0f, (GLfloat)width / (GLfloat)height, 0.1f, 100.0f);

	glMatrixMode(GL_MODELVIEW);
}

void keyboard(unsigned char key, int x, int y) {
	switch (key) {
	case 'a':
		angleY -= 0.5f;
		break;
	case 'd':
		angleY += 0.5f;
		break;
	case 'w':
		angleX -= 0.5f;
		break;
	case 's':
		angleX += 0.5f;
		break;
 //new code for vatioation in z diractoin
	case 'z': //zoom out
		fwdmov += 0.5f;
		break;
	case 'x': //zoom in
		fwdmov -= 0.5f;
		break;
	case 'q': //roll left 
		roll -= 0.5f;
		break;
	case 'e': //roll left 
		roll += 0.5f;
		break;
	case 't':
		exit(0);
		break;
	}

	// Update camera position based on angles
	cameraX = 5.0f * sin(angleY * 3.14159 / 180.0);
	cameraY = 5.0f * sin(angleX * 3.14159 / 180.0);
	cameraZ = 5.0f * cos(angleY * 3.14159 / 180.0);

	/*printf("cameraX %f \n", cameraX);
	printf("cameraY %f \n", cameraY);
	printf("cameraZ %f \n", cameraZ);*/
	/*
		cameraX += angleX ;
		cameraY += angleY;*/
		//CHANGED angleY to angleZ
		//cameraZ += angleZ;

	glutPostRedisplay();
}

int main(int argc, char** argv) {
	glutInit(&argc, argv);
	glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB);
	glutCreateWindow("Sky, Ground, Runway, and Aircraft");

	glOrtho(-1.0, 1.0, -1.0, 1.0, -1.0, 1.0); // Set up a 2D orthographic projection

	glutDisplayFunc(display);
	glutReshapeFunc(reshape);
	glutKeyboardFunc(keyboard);
	glutMainLoop();

	return 0;
}