<commit_before># Wavefront OBJ Viewer

#### Work in Progress
 
## Introduction

A simple Wavefront OBJ model viewer written in C++ using OpenGL, FreeGLUT, and SDL_image.

**Note:** Only the subset of the Wavefront OBJ specification need to render polygonal meshes is supported.

**Note:** All file references (material libraries, textures) are assumed to be relative to the *.obj file.

**Current Limitations:**
* Assumptions are made about the bounds of the model.
* Points are ignored.
* Many material properties are ignored.

**TODO:**
* Address limitations.
* Implement Arcball technique for mouse interaction.
* Implement anti-aliasing.

## Building 

You must have OpenGL, FreeGLUT, SDL_image, CMake, and a C++ compiler installed. Additionally, you must manually set the OpenGL
link directory in CMakeLists.txt (the CMake command find_package(OpenGL) is broken).

To build the project, run the following command:

*$ cmake . && make*

## Installation

To install the executable, run the following command:

*$ sudo make install*

## Usage

To view a model, enter the following command:

*$ obj-viewer FILE*

where *FILE* is the path of the OBJ file. The model should then be displayed in a window. Use the arrow keys rotate the model. Escape quits the program.

## License

Copyright (c) 2015 <NAME>  
Licensed under the MIT license.<commit_msg>Updated README.<commit_after># Wavefront OBJ Viewer

#### Work in Progress
 
## Introduction

A simple Wavefront OBJ model viewer written in C++ using OpenGL, FreeGLUT, and SDL_image.

**Note:** Only the subset of the Wavefront OBJ specification need to render polygonal meshes is supported.

**Note:** All file references (material libraries, textures) are assumed to be relative to the *.obj file.

**Current Limitations:**
* Assumptions are made about the bounds of the model.
* Points are ignored.
* Many material properties are ignored.

**TODO:**
* Address limitations.
* Implement Arcball technique for mouse interaction.
* Implement anti-aliasing.

## Building 

You must have OpenGL, FreeGLUT, SDL_image, CMake, and a C++ compiler installed. Additionally, you must manually set the OpenGL
link directory in CMakeLists.txt (the CMake command find_package(OpenGL) is broken).

To build the project run:

*$ cmake . && make*

## Installation

To install the executable run:

*$ sudo make install*

## Usage

To view a model run:

*$ obj-viewer FILE*

where *FILE* is the path of the OBJ file. The model should then be displayed in a window. Use the arrow keys rotate the model. Escape quits the program.

## License

Copyright (c) 2015 <NAME>  
Licensed under the MIT license.
{'fraction_non_alphanumeric': 0.08051652107861755, 'fraction_numerical': 0.0030383592859855677, 'mean_word_length': 4.397540983606557, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5226849', 'n_tokens_mistral': 766, 'n_tokens_neox': 723, 'n_words': 363}