- Timestamp:
- 02/21/07 20:14:45 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2147 r2148 14 14 #include "Trackball.h" 15 15 #include "QtPreprocessorThread.h" 16 #include "Material.h" 16 17 17 18 #define USE_CG 1 … … 414 415 415 416 if (mRenderVisibilityEstimates) { 416 float visibility = mTransferFunction*log10(entry.mData.mSumPdf + 1); // /5.0f 417 glColor3f(visibility, 0.0f, 0.0f); 417 //float visibility = mTransferFunction*log10(entry.mData.mSumPdf + 1); // /5.0f 418 // glColor3f(visibility, 0.0f, 0.0f); 419 420 RgbColor color = RainbowMapping(mTransferFunction*log10(entry.mData.mSumPdf + 1)); 421 glColor3f(color.r, color.g, color.b); 422 418 423 mUseForcedColors = true; 419 424 RenderIntersectable(object); … … 1050 1055 const float importance = 5.0f*mTransferFunction * 1051 1056 ((float)vc->GetPvs().GetSize() / (float)maxPvs); 1052 c = RgbColor(importance, 1.0f - importance, 0.0f); 1057 // c = RgbColor(importance, 1.0f - importance, 0.0f); 1058 c = RainbowMapping(importance); 1059 1053 1060 } 1054 1061 glColor3f(c.r, c.g, c.b); … … 1125 1132 vl->addWidget(slider); 1126 1133 slider->show(); 1127 slider->setRange(1, 1000 );1134 slider->setRange(1, 10000); 1128 1135 slider->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); 1129 1136 slider->setValue(100);
Note: See TracChangeset
for help on using the changeset viewer.