Thursday, February 22, 2007

Free New Vids Of Pinky

Practice 2 Practice Report no.1 Computer Graphics Lab Task

Computer Graphics Laboratory
;
Practice Report No. 1
Objective:
become familiar with the work environment is Visual Studio and use external libraries the application.
Development:
  1. Download OpenGL libraries, go to page www.opengl.org couding select resources, GLUT libraries and utility, choose About GLUT and get Pre-compiled Win32 for Intel Glut 37 DLLs for Windows 95 & NT, and 3.7 Source Code Download GLUT for Win32.
  1. Unzip these two folder in My Documents and create the following subdirectories My Documents / lib /, My Documents / dll /, My Documents / include / GL / add the files of these folders glutdlls37beta the. Lib to / lib /,. Dll / dll / and. Ha / GL /.
  1. Copy the path where the files are. Zip unzipped before, go to My Computer, right click , choose properties, select advanced, environment variables and user variables to change the path pasting the copied path before, if the path already exists place; after of its contents and paste the path ending with another ; and finally select accept.
  1. Open Visual Studio 2005, select File, New Project, Visual C + +, Win32, choose Win32 Console Application, name the project (practice1) and the Solution Name (in this case LCG2007-2), must be enabled to create the directory for Solution Name, select OK.
  1. another window appears, select Application Settings, enable the application of type Console application, the additional option to Empty Project and other disabled options, click finish to appear in the Solution Explorer 3 project folders to add the header files and codes.
  1. back to the path where glut37 folder, go to the folder progs, Redbook, and copy the file cube.c.
  1. visual study in the division of Source Files select Solution Explorer right click and choose Add, Existing Item ..., paste cube.cy file add.
  1. To compile the file selected in the menu bar, Build, Build, followed by the name of the project (Build practice1), send an error.
  1. To fix it in the menu bar, select Project, Properties practice1, Configuration Properties, C / C + +, General, Additional Include Directories and click on a button in which are 3 points, click on the blank as 3 points will select and enter the address of the GL folder created before.
  1. Once logged in, select Linker, General, will closely resemble the step 9 but here the path to specify is the lib, open and accepting.
  1. Verify that the folder created for the Solution (LCG2007-2), in the debug folder is glut32.dll find the file, this in order to compile perfectly.
  1. Close visual effects studio to make changes, to reopen the file cube.c compile and generate an application where you see a cube.
  1. Finally add more files to the Source Files folder, but removing the existing file and compile it.
  1. appends it made a folder. Zip.
Conclusions:
is achieved using the OpenGL library to see some demos, and as you compile a file in Visual Studio .
I found it very interesting and I think OpenGL tool is very interesting.


Do You Yahoo!? The best Internet connection and extra 2GB your mail for $ 100 a month. Http://net.yahoo.com.mx

0 comments:

Post a Comment