- Timestamp:
- 01/02/06 13:42:43 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.cpp
r487 r489 45 45 environment->GetBoolValue("ViewCells.Visualization.exportGeometry", mExportGeometry); 46 46 47 //Debug << "export rays: " << mExportRays << endl; 48 //Debug << "export geometry: " << mExportGeometry << endl; 47 49 char buf[50]; 48 50 … … 1732 1734 } 1733 1735 1736 1734 1737 // matt TODO: remove 1735 1738 int VspBspViewCellsManager::MergeViewCells(const VssRayContainer &rays) const … … 1875 1878 Debug << ss << endl; 1876 1879 1877 cout << "Refining the view cells ... ";1880 cout << "Refining the merged view cells ... "; 1878 1881 startTime = GetTime(); 1879 1882 … … 1922 1925 if (mExportGeometry) 1923 1926 exporter->ExportGeometry(objects); 1927 1928 // export rays 1929 /*if (mExportRays) 1930 { 1931 exporter->SetWireframe(); 1932 exporter->ExportRays(visRays, RgbColor(1, 1, 0)); 1933 exporter->SetFilled(); 1934 }*/ 1924 1935 ExportViewCells(exporter); 1925 1936 delete exporter; … … 1931 1942 //-- visualization of the BSP splits 1932 1943 bool exportSplits = false; 1933 environment->GetBoolValue("BspTree.Visualization.exportSplits", exportSplits); 1934 1944 environment->GetBoolValue("VspBspTree.Visualization.exportSplits", exportSplits); 1945 Debug << "export splits: " << exportSplits << endl; 1946 1935 1947 if (exportSplits) 1936 1948 { … … 1950 1962 return ViewCellsManager::GetViewPoint(viewPoint); 1951 1963 1964 // TODO: set reasonable limit 1952 1965 const int limit = 10; 1953 1966 cout << "===" << endl; 1954 1967 for (int i = 0; i < limit; ++ i) 1955 1968 { 1969 cout << i << " " << endl; 1956 1970 viewPoint = mSceneBox.GetRandomPoint(); 1957 1971 if (mVspBspTree->ViewPointValid(viewPoint))
Note: See TracChangeset
for help on using the changeset viewer.