Changeset 2042


Ignore:
Timestamp:
01/23/07 16:11:34 (17 years ago)
Author:
bittner
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Makefile

    r2022 r2042  
    11############################################################################# 
    22# Makefile for building: preprocessor 
    3 # Generated by qmake (2.00a) (Qt 4.1.2) on: út 23. I 01:10:24 2007 
     3# Generated by qmake (2.00a) (Qt 4.1.2) on: út 23. I 16:04:45 2007 
    44# Project:  preprocessor.pro 
    55# Template: app 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ObjParser.cpp

    r1979 r2042  
    8585        while (pch != NULL) 
    8686        { 
    87                 const int index = (int)strtol(pch, NULL, 10) - 1; 
     87          const int index = (int)strtol(pch, NULL, 10) - 1; 
    8888                                                 
    89                 // store vertex in hash table 
    90                 //hashTable[index] = vertices[index]; 
     89          // store vertex in hash table 
     90          //hashTable[index] = vertices[index]; 
     91          if (index>=0) 
    9192                indices.push_back(index); 
    9293                 
    93                 //if (line == 451703) 
    94                 //      cout << index + 1 << " "; 
    95  
    96                 pch = strtok(NULL, " "); 
    97  
    98                 // problem: don't know how intel ray tracer tesselates 
    99                 if ((int)indices.size() > 2) 
     94          //if (line == 451703) 
     95          //    cout << index + 1 << " "; 
     96           
     97          pch = strtok(NULL, " "); 
     98           
     99          // problem: don't know how intel ray tracer tesselates 
     100          if ((int)indices.size() > 2) 
    100101                { 
    101102                        const int index_2 = (int)indices.size() - 2; 
     
    105106                                                                                  vertices[indices[index_2]],            
    106107                                                                                  vertices[indices[index_3]])); 
     108                        indices.clear(); 
    107109                } 
    108110        } 
     
    253255                case 'f':  
    254256                        { 
    255                                 //      cout << "f"; 
    256257                                if (loadMeshes) 
    257258                                { 
  • GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp

    r2023 r2042  
    662662                                        if (strcmp(curr, "mutation")==0) { 
    663663                                          // temp matt: still no mutationstrategy! 
    664                                           //mDistributions.push_back(new MutationBasedDistribution(mPreprocessor)); 
     664                                          mDistributions.push_back(new MutationBasedDistribution(mPreprocessor)); 
    665665                                        } 
    666666         
  • GTP/trunk/Lib/Vis/Preprocessing/src/preprocessor.pro

    r2020 r2042  
    1 CONFIG += release  
     1CONFIG += release 
    22CONFIG += console warn_off thread mlrt qt 
    33 
  • GTP/trunk/Lib/Vis/Preprocessing/src/run_test_arena

    r2035 r2042  
    22 
    33#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" 
     4COMMAND="../scripts/preprocessor.sh -preprocessor_quit_on_finish+ -preprocessor_use_gl_renderer- -preprocessor_evaluate_filter- -preprocessor_detect_empty_viewspace+ -total_samples=500000000" 
    55 
    66 
    77SCENE=../data/Arena/arena-high-lods.obj 
    8 VIEWCELLS=../data/Arena/viewcells-5000.xml 
     8VIEWCELLS=../data/Arena/viewcells-5000.xml.gz 
    99 
    1010PREFIX=../work/plots/osp-arena1-1e5 
    1111 
    12 # $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 
    13 # -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \ 
    14 #  -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4n.xml \ 
    15 #  -preprocessor_stats=$PREFIX-i-mixed-b1-n4n.log \ 
    16 #  -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4n.hlog 
     12$COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 
     13 -rss_distributions=mutation+object_direction+spatial -view_cells_filter_max_size=1 \ 
     14 -preprocessor_visibility_file=$PREFIX-i-mixed-b1-n4a.xml \ 
     15 -preprocessor_stats=$PREFIX-i-mixed-b1-n4a.log \ 
     16 -preprocessor_histogram_file=$PREFIX-i-mixed-b1-n4a.hlog 
    1717 
    1818# # n - no origin mutation, q=2, reverse samples 
     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.hlog 
     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.hlog 
     30 
     31#mutation+object_direction+ 
     32 
     33# BVH 
     34 
    1935 
    2036# $COMMAND -preprocessor=combined -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 
     
    2541#  -preprocessor_histogram_file=$PREFIX-i-mixed-bvh-n4n.hlog 
    2642 
    27 $COMMAND -preprocessor=sampling -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 
    28 -preprocessor_visibility_file=$PREFIX-r-reference.xml \ 
    29 -view_cells_filter_max_size=1 -preprocessor_stats=$PREFIX-r-reference.log \ 
    30 -preprocessor_histogram_file=$PREFIX-r-reference.hlog 
    31  
    32 $COMMAND -scene_filename=$SCENE -view_cells_filename=$VIEWCELLS \ 
    33  -rss_distributions=direction -view_cells_filter_max_size=1 \ 
    34  -preprocessor_visibility_file=$PREFIX-r-reference-global.xml \ 
    35  -preprocessor_stats=$PREFIX-r-reference-global.log \ 
    36  -preprocessor_histogram_file=$PREFIX-r-reference-global.hlog 
    37  
    38 #mutation+object_direction+ 
Note: See TracChangeset for help on using the changeset viewer.