- Timestamp:
- 01/10/07 03:00:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlobalLinesRenderer.cpp
r1960 r1961 29 29 GlobalLinesRenderer *globalLinesRenderer = NULL; 30 30 31 static int texWidth = 128;32 static int texHeight = 128;31 static int texWidth = 256; 32 static int texHeight = 256; 33 33 34 34 static bool isDepth = true; … … 569 569 const Vector3 norm = intersect->GetNormal(0); 570 570 571 //if (DotProd(dir, norm) >= -Limits::Small) 572 return intersect; 571 // test for invalid view space 572 if (DotProd(dir, norm) >= -Limits::Small) 573 return NULL; 574 575 return intersect; 573 576 } 574 577 … … 627 630 } 628 631 629 //if (termObj2)630 //{631 // vssRays.push_back(new VssRay(oldPt, newPt, NULL, termObj2));632 //cout << "old pt: " << oldPt << endl;633 //}632 if (termObj2) 633 { 634 vssRays.push_back(new VssRay(newPt, oldPt, NULL, termObj2)); 635 //cout << "old pt: " << oldPt << endl; 636 } 634 637 } 635 638 } … … 674 677 Intersectable *obj = (*vit)->mTerminationObject; 675 678 exporter->ExportIntersectable(obj); 676 677 unsigned char r, g, b;678 SetupFalseColor(obj->GetId(), r, g, b);679 int id = mRenderer->GetId(r, g, b);680 681 if (id != obj->GetId())682 cout << "error!" << endl;683 else cout <<"x";684 679 } 685 680 686 exporter->ExportRays(vssRays);681 // exporter->ExportRays(vssRays); 687 682 688 683 delete exporter;
Note: See TracChangeset
for help on using the changeset viewer.