qvolray
annotate qvolray.pro @ 37:450d4c50470f
- 16bit floating point textures halve gpu texture memory usage
- slower transfer function change
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 01 Jan 2014 00:23:57 +0200 |
parents | e7c006b774ed |
children |
rev | line source |
---|---|
nuclear@12 | 1 TEMPLATE = app |
nuclear@12 | 2 TARGET = qvolray |
nuclear@12 | 3 DEPENDPATH += . src |
nuclear@12 | 4 INCLUDEPATH += . src |
nuclear@12 | 5 QT += opengl |
nuclear@19 | 6 CONFIG += debug |
nuclear@12 | 7 |
nuclear@15 | 8 contains(QMAKE_CXX, g++) { |
nuclear@16 | 9 QMAKE_CXXFLAGS += -std=c++0x -pedantic |
nuclear@15 | 10 } |
nuclear@17 | 11 |
nuclear@24 | 12 contains(QMAKE_CXX, clang++) { |
nuclear@24 | 13 QMAKE_CXXFLAGS += -std=c++0x -pedantic |
nuclear@24 | 14 } |
nuclear@24 | 15 |
nuclear@17 | 16 unix:LIBS += -lGLEW -limago -lvmath |
nuclear@17 | 17 win32:LIBS += -lglew32 -llibimago2 -llibvmath -llibpng -lzlib -ljpeglib |
nuclear@13 | 18 |
nuclear@24 | 19 macx { |
nuclear@24 | 20 INCLUDEPATH += /opt/local/include |
nuclear@24 | 21 QMAKE_LIBDIR += /opt/local/lib |
nuclear@34 | 22 ICON = data/icons/icon-crap.icns |
nuclear@24 | 23 } |
nuclear@24 | 24 |
nuclear@27 | 25 # the moc needs to run for these headers |
nuclear@27 | 26 HEADERS = src/ui.h \ |
nuclear@27 | 27 src/ui_maingl.h \ |
nuclear@29 | 28 src/ui_sliceview.h \ |
nuclear@36 | 29 src/ui_xferview.h \ |
nuclear@36 | 30 src/demo.h |
nuclear@27 | 31 |
nuclear@27 | 32 SOURCES = src/main.cc \ |
nuclear@27 | 33 src/sdr.c \ |
nuclear@27 | 34 src/volray.cc \ |
nuclear@27 | 35 src/volume.cc \ |
nuclear@27 | 36 src/ui.cc \ |
nuclear@27 | 37 src/ui_maingl.cc \ |
nuclear@27 | 38 src/ui_sliceview.cc \ |
nuclear@29 | 39 src/ui_xferview.cc \ |
nuclear@27 | 40 src/demo.cc |