Ignore:
Timestamp:
02/14/06 21:42:29 (18 years ago)
Author:
mattausch
Message:

made demo running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r639 r643  
    1616#include "RssPreprocessor.h" 
    1717 
    18 #define SAMPLE_AFTER_SUBDIVISION 1 
     18#define SAMPLE_AFTER_SUBDIVISION 0 
    1919 
    2020 
     
    31013101                if (1 || mExportRays) 
    31023102                { 
    3103                         if (1) 
     3103                        if (0) 
    31043104                        { 
    31053105                                VssRayContainer vcRays; 
     
    31413141                         
    31423142 
    3143                         if (0) 
     3143                        if (1) 
    31443144                        { 
    31453145                                VssRayContainer vcRays; 
     
    31753175                ExportViewCellGeometry(exporter, vc); 
    31763176         
    3177  
    3178                 m.mDiffuseColor = RgbColor(1, 0, 0); 
    3179             exporter->SetForcedMaterial(m); 
    3180  
    31813177                exporter->SetFilled(); 
    31823178 
     
    31993195                                if (!intersect->Mailed()) 
    32003196                                { 
    3201                                         //m = RandomMaterial(); 
    3202                                         //exporter->SetForcedMaterial(m); 
     3197                                        m = RandomMaterial(); 
     3198                                        exporter->SetForcedMaterial(m); 
    32033199 
    32043200                                        exporter->ExportIntersectable(intersect); 
     
    32093205                else 
    32103206                { 
     3207                        m.mDiffuseColor = RgbColor(1, 0, 0); 
     3208                        exporter->SetForcedMaterial(m); 
     3209 
    32113210                        exporter->ExportGeometry(objects); 
    32123211                } 
Note: See TracChangeset for help on using the changeset viewer.