GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tinyobjloader/examples/viewer at master · melonqi/tinyobjloader

Expand file tree

/

viewer

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

viewer

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
premake4.lua
premake4.lua
 
 
stb_image.h
stb_image.h
 
 
trackball.cc
trackball.cc
 
 
trackball.h
trackball.h
 
 
viewer.cc
viewer.cc
 
 

README.md

Outline

Simple .obj viewer with glew + glfw3 + OpenGL

Requirements

  • premake5
  • glfw3
  • glew

Build on MaCOSX

Install glfw3 and glew using brew. Then,

$ premake5 gmake
$ make

Build on Linux

Set PKG_CONFIG_PATH or Edit path to glfw3 and glew in premake4.lua

Then,

$ premake5 gmake
$ make

Build on Windows.

  • Visual Studio 2013
  • Windows 64bit
    • 32bit may work.

Put glfw3 and glew library somewhere and replace include and lib path in premake4.lua

Then,

> premake5.exe vs2013

TODO

  • Support per-face material.
  • Use shader-based GL rendering.
  • PBR shader support.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.