Skip to content

A very simple OpenGL renderer for road-networks. Mostly self-contained, but still needs GLFW and GLEW.

Notifications You must be signed in to change notification settings

bieniajl/simplestGraphRendering

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Simplest Graph Renderer there is

Dependencies

  • GLEW
  • OpenGL
  • GLFW

Build

Lazy

./build.sh

Manual

mkdir build
cd build
cmake ..
make

Execution

./simple -g <path-to-graph-file>

Expected Graph Format

<Vertex Count>
<Edge Count>
<Vertex 1>
<Vertex 2>
...
<Vertex N>
<Edge 1>
<Edge 2>
...
<Edge M>

Verticies and Edges are defined as follows

<Vertex> := <Longitude> <Latitude>
<Edge>   := <Start Vertex ID> <End Vertex ID> <Width> <Color>

Except <Longitude> and <Latitude> which may contain Double values, all other data fields only allow Integer values.

Color Values for <Color> are

  • 0 - Black
  • 1 - Light Blue
  • 2 - Red
  • 3 - Yellow
  • 4 - Light Yellow
  • 5 - White

About

A very simple OpenGL renderer for road-networks. Mostly self-contained, but still needs GLFW and GLEW.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.1%
  • CMake 7.2%
  • GLSL 6.6%
  • Shell 0.1%