Changeset 2610 for GTP/trunk/Lib/Vis/Preprocessing
- Timestamp:
- 01/17/08 22:21:03 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/CombinedPreprocessor.cpp
r2593 r2610 149 149 150 150 if (renderer) { 151 cout<<"Evaluating render error"<<endl; 151 152 ComputeRenderError(); 153 cout<<"Evaluating render error"<<endl; 152 154 } 153 155 } -
GTP/trunk/Lib/Vis/Preprocessing/src/Makefile
r2608 r2610 1 1 ############################################################################# 2 2 # Makefile for building: preprocessor 3 # Generated by qmake (2.00a) (Qt 4.1.2) on: ?t 17. I 17:18:3820083 # Generated by qmake (2.00a) (Qt 4.1.2) on: ?t 17. I 22:17:44 2008 4 4 # Project: preprocessor.pro 5 5 # Template: app … … 71 71 C:\Qt\4.1.2\mkspecs\features\debug_and_release.prf \ 72 72 C:\Qt\4.1.2\mkspecs\features\default_post.prf \ 73 C:\Qt\4.1.2\mkspecs\features\qt.prf \ 74 C:\Qt\4.1.2\mkspecs\features\win32\opengl.prf \ 75 C:\Qt\4.1.2\mkspecs\features\moc.prf \ 73 76 C:\Qt\4.1.2\mkspecs\features\win32\thread.prf \ 74 77 C:\Qt\4.1.2\mkspecs\features\warn_off.prf \ … … 89 92 C:\Qt\4.1.2\mkspecs\features\debug_and_release.prf: 90 93 C:\Qt\4.1.2\mkspecs\features\default_post.prf: 94 C:\Qt\4.1.2\mkspecs\features\qt.prf: 95 C:\Qt\4.1.2\mkspecs\features\win32\opengl.prf: 96 C:\Qt\4.1.2\mkspecs\features\moc.prf: 91 97 C:\Qt\4.1.2\mkspecs\features\win32\thread.prf: 92 98 C:\Qt\4.1.2\mkspecs\features\warn_off.prf: … … 110 116 distclean: release-distclean debug-distclean FORCE 111 117 -$(DEL_FILE) Makefile 118 119 release-mocclean: $(MAKEFILE).Release 120 $(MAKE) -f $(MAKEFILE).Release mocclean 121 debug-mocclean: $(MAKEFILE).Debug 122 $(MAKE) -f $(MAKEFILE).Debug mocclean 123 mocclean: release-mocclean debug-mocclean 124 125 release-mocables: $(MAKEFILE).Release 126 $(MAKE) -f $(MAKEFILE).Release mocables 127 debug-mocables: $(MAKEFILE).Debug 128 $(MAKE) -f $(MAKEFILE).Debug mocables 129 mocables: release-mocables debug-mocables 112 130 FORCE: 113 131 -
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp
r2609 r2610 1244 1244 } 1245 1245 1246 1246 1247 if (rays.size() > 10000) 1247 1248 { -
GTP/trunk/Lib/Vis/Preprocessing/src/SG08/run_test_arena
r2607 r2610 2 2 3 3 #COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" 4 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+ -total_samples= 500000000"4 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+ -total_samples=1000000000" 5 5 6 6 … … 8 8 VIEWCELLS=../data/Arena/viewcells-5000.xml.gz 9 9 10 PREFIX=../work/plots/osp-arena-SG08 10 PREFIX=../work/plots/osp-arena-SG08a 11 11 12 12 # $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ … … 18 18 # # n - no origin mutation, q=2, reverse samples 19 19 20 #$COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \21 #-preprocessor_visibility_file=$PREFIX-r-reference.xml \22 #-view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \23 #-preprocessor_histogram_file=$PREFIX-r-reference.hlog20 $COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 21 -preprocessor_visibility_file=$PREFIX-r-reference.xml \ 22 -view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \ 23 -preprocessor_histogram_file=$PREFIX-r-reference.hlog 24 24 25 #$COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \26 #-rss_distributions=direction -view_cells_filter_max_size=1 \27 #-preprocessor_visibility_file=$PREFIX-r-reference-global.xml \28 #-preprocessor_stats=$PREFIX-r-reference-global.log \29 #-preprocessor_histogram_file=$PREFIX-r-reference-global.hlog25 $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 26 -rss_distributions=direction -view_cells_filter_max_size=1 \ 27 -preprocessor_visibility_file=$PREFIX-r-reference-global.xml \ 28 -preprocessor_stats=$PREFIX-r-reference-global.log \ 29 -preprocessor_histogram_file=$PREFIX-r-reference-global.hlog 30 30 31 31 # -total_samples=500000000000 -total_time=12208 \ … … 45 45 # ### selected tests 46 46 47 $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \48 -mutation_silhouette_prob=0.5 \49 -mutation_reverse_samples_distance=1.0 \50 -mutation_radius_origin=1.0 \51 -mutation_radius_termination=1.0 \52 -mutation_use_unsucc_count_importance- \53 -mutation_use_pass_importance- \54 -mutation_buffer_size=500000 \55 -rss_distributions=mutation+object_direction+spatial \56 -preprocessor_stats=$PREFIX-combined-m5-2.log47 # $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 48 # -mutation_silhouette_prob=0.5 \ 49 # -mutation_reverse_samples_distance=1.0 \ 50 # -mutation_radius_origin=1.0 \ 51 # -mutation_radius_termination=1.0 \ 52 # -mutation_use_unsucc_count_importance- \ 53 # -mutation_use_pass_importance- \ 54 # -mutation_buffer_size=500000 \ 55 # -rss_distributions=mutation+object_direction+spatial \ 56 # -preprocessor_stats=$PREFIX-combined-m5-2.log 57 57 58 58 -
GTP/trunk/Lib/Vis/Preprocessing/src/SG08/run_test_pixel
r2607 r2610 3 3 4 4 #COMMAND="./release/preprocessor.exe -preprocessor_quit_on_finish+" 5 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -samples_per_pass=500000 -samples_per_evaluation=10000000 -total_samples=500000000" 5 #COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -samples_per_pass=500000 -samples_per_evaluation=10000000 -total_samples=500000000 -preprocessor_pvs_rendererror_samples=10000 -preprocessor_evaluatePixelError+" 6 COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer+ -preprocessor_evaluate_filter- -samples_per_pass=1000000 -samples_per_evaluation=2000000 -total_samples=500000000 -preprocessor_pvs_rendererror_samples=10000 -preprocessor_evaluatePixelError+" 6 7 7 8 #SCENE="../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-roads.x3d" … … 34 35 #VIEWCELLS=../data/vienna/vienna-seq-viewcells-20000.xml.gz 35 36 36 PREFIX=../work/plots/osp- PIXEL3-1e537 PREFIX=../work/plots/osp-vienna-SG08-PIXEL 37 38 38 39 #SCENE=../data/atlanta/atlanta2.x3d -
GTP/trunk/Lib/Vis/Preprocessing/src/SceneGraph.h
r2609 r2610 36 36 virtual bool IsLeaf() const { return false; } 37 37 virtual void UpdateBox(); 38 39 ~SceneGraphInterior(); 38 40 39 41 //protected: -
GTP/trunk/Lib/Vis/Preprocessing/src/X3dParser.cpp
r2609 r2610 5 5 #include <stdlib.h> 6 6 #include <iostream> 7 7 8 #include <xercesc/util/PlatformUtils.hpp> 8 9 … … 20 21 #include <xercesc/sax/SAXParseException.hpp> 21 22 #include <xercesc/sax/SAXException.hpp> 23 22 24 23 25 #include "X3dParser.h" … … 102 104 X3dParseHandlers::~X3dParseHandlers() 103 105 { 104 105 106 106 // assert(mTransformations.empty()); 107 if (0 && !mTransformations.empty()) 108 cout << "error: transformation stack size: " << (int)mTransformations.size() << endl; 107 109 } 108 110 -
GTP/trunk/Lib/Vis/Preprocessing/src/default.env
r2608 r2610 54 54 useGlDebugger false 55 55 # 0 = INTERNAL 1 = MLRT 2 = HAVRAN 56 rayCastMethod 256 rayCastMethod 1 57 57 58 58 # type sampling -
GTP/trunk/Lib/Vis/Preprocessing/src/havran/configh.h
r2608 r2610 14 14 #define __CONFIGH_H__ 15 15 16 16 17 #if defined(_MSC_VER) 17 18 // use perftimer only on msvc … … 19 20 #define __SSE__ 20 21 // If we support the use of SSE instructions for ray shooting 21 #define _USE_HAVRAN_SSE22 //#define _USE_HAVRAN_SSE 22 23 #endif 23 24 -
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r2608 r2610 299 299 pt = new QtPreprocessorThread(preprocessor); 300 300 301 if (0 && preprocessor->mUseGlRenderer && (importRandomViewCells || frames)) 302 { 301 if (preprocessor->mUseGlRenderer && (importRandomViewCells || frames)) 302 303 { 303 304 QGLFormat f; 304 305 f.setStencil(true); 305 306 QGLFormat::setDefaultFormat(f); 306 307 307 // NOTE: render texture should be power of 2 and square 308 308 // renderer must be initialised 309 309 // $$matt 310 310 preprocessor->renderer = 311 new QtGlRendererBuffer(512, 512, 312 preprocessor->mSceneGraph, 313 preprocessor->mViewCellsManager, 314 preprocessor->mKdTree); 315 } 316 311 new QtGlRendererBuffer(512, 512, 312 preprocessor->mSceneGraph, 313 preprocessor->mViewCellsManager, 314 preprocessor->mKdTree); 315 316 } 317 317 318 if (preprocessor->mUseGlRenderer || preprocessor->mUseGlDebugger) 318 319 { -
GTP/trunk/Lib/Vis/Preprocessing/src/preprocessor.pro
r2608 r2610 5 5 TEMPLATE = app 6 6 7 CONFIG -= qt7 #CONFIG -= qt 8 8 9 9 TARGET = preprocessor … … 28 28 unix:INCLUDEPATH += ../support/src/xerces-c-src_2_7_0/include 29 29 30 INCLUDEPATH += ../src ../src/Timer ../src/QtInterface $$NONGTP/Xerces/xerces/include $$NONGTP/Zlib/include $$NONGTP/Boost $$NONGTP/Devil/include 30 #XERCES = $$NONGTP/Xerces/xerces 31 XERCES = $$NONGTP/Xerces/xerces-c_2_8_0 32 33 INCLUDEPATH += ../src ../src/Timer ../src/QtInterface $$XERCES/include $$NONGTP/Zlib/include $$NONGTP/Boost $$NONGTP/Devil/include 31 34 32 win32:LIBPATH += GL $$ NONGTP/Xerces/xerces/lib $$NONGTP/Devil/lib \35 win32:LIBPATH += GL $$XERCES/lib $$NONGTP/Devil/lib \ 33 36 $$NONGTP/glut $$NONGTP/Boost/lib $$NONGTP/Zlib/lib 34 37 … … 57 60 CONFIG(release) { 58 61 win32:LIBS += xerces-c_2.lib 62 #win32:LIBS += xerces-c_static_2.lib 59 63 } 60 64 61 65 CONFIG(debug) { 62 66 win32:LIBS += xerces-c_2D.lib 67 #win32:LIBS += xerces-c_static_2D.lib 63 68 } 64 69
Note: See TracChangeset
for help on using the changeset viewer.