eipporko / Cube

Test using OpenGL, GLFW, GLEW, GLM and PCL
Other
18 stars 6 forks source link

"Buy Me A Coffee"

Cube

Test it and you could see an awesome colored cube in your screen. Using an incredible 3D technology which will allow you to navigate around the cube!.

it's Epic!

Controls

What do you need to build your own Cube

In order to build Cube, you need to have:

(Earlier versions might work OK, but are not tested.)

Mac Os X - Mavericks or earlier

Mac Os users should install the following components:

Ubuntu 14.04 LTS

Ubuntu users should install the following components:

How to build

For Linux/Unix/OSX/Mingw/Cygwin the build is straight forward:

git clone https://github.com/eipporko/Cube.git
cd Cube
cmake .
make

Alternatively, you can create an out-of-source build directory and run cmake from there. The advantage to this approach is that the temporary files created by CMake won't clutter the Cube source directory, and also makes it possible to have multiple independent build targets by creating multiple build directories. In adirectory alongside the Cube use:

git clone --recursive https://github.com/eipporko/Cube.git
cd Cube
mkdir build
cd build
cmake ..
make

If you have a multi-processor/core system then you can use make -j to tell the build system to multiple cores.

Platform-Specific Build Notes

Mac Os X

If you want to create Xcode project files, you only have to run cmake . -G Xcode. This approach is highly recommended to do it from an out-of-source build directory. - explained in 'How to build' step

Analysis Tools

When cube is in debug mode, at the end of each session saves information in a log file. For analysis purposes Cube bring tools for make easier to understand the log, building graphs which compares the different rendering times achieved.

Dependencies

Ubuntu 14.04 LTS

  sudo apt-get install python-setuptools
  sudo apt-get install python-scitools

  git clone git://github.com/pudo/dataset.git
  cd dataset/
  sudo python setup.py install

How to work with

$ python cubeGraphGen.py

CUBE GRAPH GENERATOR

USAGE: cubeGraphGen.py [options] logFile

OPTIONS:
    -h        Display available options
    --help    Display available options
    -v        Run in verbose mode
May the Force be with you :)