Skip to content

A sample C# program to read and render a Wavefront obj file using OpenGL

Notifications You must be signed in to change notification settings

AlissaSabre/objview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

objview

A sample C# program to read and render a Wavefront obj file using OpenGL

objview is a program to read a 3D geometory in Wavefront obj file and to redner it using OpenGL. The project is more like my own practice/refresh of OpenGL knowledges/experiences than a practical utility.

The program is written in C# and relies on OpenGL.NET.

For the moment, the program targets OpenGL 2.2 or so and uses the good old fixed pipeline. It should run on more recent OpenGL with the Compatibility Profile, though I'm not sure. (To gain some knowledges on such issues is one of my objectives on experiementing with this program.)

If you are more familiar with C# than C++ and are trying to learn OpenGL, this program may be useful as a sample program. Otherwise, it would have nothing to do with you.

For the moment:

  • It runs on Windows with .NET Framework 4.5.
  • It can read some obj files and show it on the window using vertex coordinates and normals in the file. It uses program's own default material (texture/material information in obj is just ignored.)
  • You can rotate the model using mouse.

About

A sample C# program to read and render a Wavefront obj file using OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages