Commit 71b6d2cc authored by Olav Kjartan Larseng's avatar Olav Kjartan Larseng
Browse files

Update README

parent d260d97d
README
======
This file is supposed to contain a lot of sensable stuff ^^
![bspline](bspline.png?raw=true "Title")
# Important Notice
After project setup:
Change the global file path fp inside helper/helper.h to your correct file path.
# Project group 1
## Members
* kla096
* hli039
* ola014
## Project Dependencies
* gmlib
* glew (2.1.0)
# Compiling the project
## GMlib setup guide
This guide assumes that you have installed Qt and Qt Creator, downloaded an appropriate compiler, and that you have GMlib and the demo application already available in a project folder.
The setup is done for Windows 64-bit, so for Windows 32-bit and Linux the paths in the example will have to be changed accordingly.
## Glew
Go to ​http://glew.sourceforge.net/​ and download Glew binaries for ​Windows 32-bit and64-bit.
Unzip it to a place where it is easy to find later.
## GMlibIn
Qt Creator:
1. Create a new session:
1. File → Session Manager
2. New → “Give it a name” → Create and Open
2. Open the GMlib project:
1. File → Open File or Project
2. Navigate to GMlib's source folder
3. Select CMakeLists.txt → Open
3. Configure the project:
1. Select the kit to build with
2. Expand the selected kit tab
3. Choose the build type/types you want and select a build folder for it
4. Configure project
4. Let the compiler know where Glew is:
1. Navigate to the Projects pane
2. Select the Build Settings for your selected kit
3. Under CMake configuration: Add → Directory
1. Key: ```GLEW_LIBRARY```
2. Value: ```/Path to glew/lib/Release/x64/glew32s.lib```
3. Apply Configuration Changes
4. Check that the other Glew keys are set:
1. Tick the Advanced option for Cmake configure
2. Navigate down to GLEW
3. Set the values for ```GLEW_INCLUDE_DIR``` and ```GLEW_PATH_WIN32```:
1. ```-GLEW_INCLUDE_DIR: /Path to glew/include```
2. ```-GLEW_PATH_WIN32: /Path to glew```
4. Make sure that the ```GM_BUILD_SHARED``` option is off
1. With the Advanced option on, navigate to GM
2. Set ```GM_BUILD_SHARED``` to OFF
3. Apply Configuration Changes
5. Build
## Demo application In Qt Creator:
1. Open the demo application:
1. File → Open File or Project
2. Navigate to Demo Application source folder
3. Select CMakeLists.txt → Open
2. Configure the application:
1. Select the kit to build with
2. Expand the selected kit tab
3. Choose the build type/types you want and select a build folder for it
4. Configure project
3. Let the compiler know where GMlib is:
1. Navigate to the Projects pane
2. Select the Build Settings for your selected kit
3. Under CMake configuration: Add → Directory
1. Key: ```GMLIB_DIR```
2. Value: ```/Path to GMlib build folder```
3. Apply Configuration Changes
4. Add dependencies:
1. Make the Demo Application depend on GMlib
2. In the Projects pane for the Demo Application go to Dependencies under Project Settings
3. Tick the ```GMlib``` option
5. If you are trying to build this in Windows you need to do the following:
1. Go to Project→ Build→ Build Environment→ Expand details section
2. Unset ```QT_OPENGL```
6. Build
7. Run
## Problem Description
## Task 1
### Task description
- [ ] What we need to do is to find different ways to visualize the intrinsic properties, curvature andtorsion, in a parametric curve.
##What we want to do
### What must be done
- [ ] We need to have a curvature with a certain radius which will visualize the intrinsic properties.
### What we want to do
- [ ] We’ll visualize the torsion and curvature using textures. For curvature we will use two elements, acheckerboard texture to show the stretching and contracting, while adding a structure to the cylinderto enhance the effect. For torsion we will use rotating arrow textures to show the degree, direction andintensity. These will be moving in different speeds depending on the degree of torsion.
### Extras
- [ ] To our solution it would be possible to add multiple extensions. One is to add constraints to thecurve and maybe add rupturability to the texture. Adding dynamics to the curve would also be a veryimpressing feature.
## Task 2
### Task description
- [ ] What we need to build is an interactive volume visualization suitable for a given set of terrain data.
### What must be done
- [ ] Create a volume visualized by using ray casting from terrain data.
### What we want to do
- [ ] We’ll visualize height of the volume with color interpolation to make the difference in terrain clearfor the user. We also aim to make the foreground and background easily distinguishable to make theimpression of the model better.
### Extras
- [ ] If possible, we would like to add water way topology to the data. We would also like to add texturesto the volume to give the volume a realistic feel. Music visualization, shadows and Geometric/physicalproperties are options that would be nice to include in the final result. An idea would be to implementa sun that would move around the volume and define shadows per voxel in real-time.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment