Answered step by step
Verified Expert Solution
Question
1 Approved Answer
OpenGL Introduction Problem This OpenGL programming assignment will provide an introduction to OpenGL programming. In particular, you will learn how to load points representing a
OpenGL Introduction Problem
This OpenGL programming assignment will provide an introduction to OpenGL programming. In particular, you will learn how to load points representing a 3D object from a geometry file i.e. OBJ, how to draw the object, interact with it, and also how to set up and manipulate the virtual camera to view the scene from different angles and distances.
Implementation Specifications
Develop an OpenGL application with the following functionality and features . The minimum version of OpenGL should be 3.1 and up .OpenGL must be used in retained mode. .Include comments throughout the source code to explain each command/block of commands. Load the OB.J files. In this assignment we will be using only the points [vertices] to represent the object Prepare all necessary OpenGL data structures to draw the points. Each vertex position will be the (r, y,z) values read from the OBJ file . Create a GLFW window of size 800 x 800 with double buffering support . Render the object on display .The application should use a perspective view to display the object and use the depth buffer for hidden surface removal .The application must handle the following input the user can move the camera using the mouse i.e. moving forward/backward while left button is pressed move into/out of the scene the user can move the camera using the keyboard i.e. W moves forward, S moves backwards, A moves left, D moves right, left arrow rotates the camera left about the up vector - Rupi, right arrow rotates the camera right about the up vector RupR, up arrow rotates the camera upwards about the right vector -Rrightv, down arrow rotates the camera downwards about the right vector -Rrightp - the user can rotate the object using keyboard input i.e. B rotates the object about the X axis, N rotates the object about the Y axis, E rotates the object about the Z axis - the user can move the object using keyboard input i.e. J moves the object along the +X axis, L moves the object along the -X, I moves the object along the +Y axis, K moves the object along the -Y, PgUp moves the object along the +Z axis, PgDown moves the object along the -Z axis the user can uniformly scale the object using keyboard input i.e. O scales up the object by a factor of 10%, P scales up the object by a factor of-10% Develop an OpenGL application with the following functionality and features . The minimum version of OpenGL should be 3.1 and up .OpenGL must be used in retained mode. .Include comments throughout the source code to explain each command/block of commands. Load the OB.J files. In this assignment we will be using only the points [vertices] to represent the object Prepare all necessary OpenGL data structures to draw the points. Each vertex position will be the (r, y,z) values read from the OBJ file . Create a GLFW window of size 800 x 800 with double buffering support . Render the object on display .The application should use a perspective view to display the object and use the depth buffer for hidden surface removal .The application must handle the following input the user can move the camera using the mouse i.e. moving forward/backward while left button is pressed move into/out of the scene the user can move the camera using the keyboard i.e. W moves forward, S moves backwards, A moves left, D moves right, left arrow rotates the camera left about the up vector - Rupi, right arrow rotates the camera right about the up vector RupR, up arrow rotates the camera upwards about the right vector -Rrightv, down arrow rotates the camera downwards about the right vector -Rrightp - the user can rotate the object using keyboard input i.e. B rotates the object about the X axis, N rotates the object about the Y axis, E rotates the object about the Z axis - the user can move the object using keyboard input i.e. J moves the object along the +X axis, L moves the object along the -X, I moves the object along the +Y axis, K moves the object along the -Y, PgUp moves the object along the +Z axis, PgDown moves the object along the -Z axis the user can uniformly scale the object using keyboard input i.e. O scales up the object by a factor of 10%, P scales up the object by a factor of-10%Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started