Text archives Help
- From: abe@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r954 - in trunk: Model/Readers fox/grid_demo/Model/Groups
- Date: Thu, 23 Feb 2006 18:25:11 -0700 (MST)
Author: abe
Date: Thu Feb 23 18:25:10 2006
New Revision: 954
Modified:
trunk/Model/Readers/V3C1.h
trunk/fox/grid_demo/Model/Groups/DyGridSingle.cc
Log:
Fixed grid traversal, now need to fix parallel animation callbacks.
M fox/grid_demo/Model/Groups/DyGridSingle.cc
Added triangle edge structure. Need to add loading and storing routines.
M Model/Readers/V3C1.h
Modified: trunk/Model/Readers/V3C1.h
==============================================================================
--- trunk/Model/Readers/V3C1.h (original)
+++ trunk/Model/Readers/V3C1.h Thu Feb 23 18:25:10 2006
@@ -53,6 +53,13 @@
Color color; // 3 floats.
};
+ struct V3C1TriangleEdge {
+ VectorT<float,3> v;
+ Color payload;
+ VectorT<float,3> edge1;
+ VectorT<float,3> edge2;
+ };
+
struct V3C1Normal {
VectorT<float,3> normal[3]; // 9 floats.
Modified: trunk/fox/grid_demo/Model/Groups/DyGridSingle.cc
==============================================================================
--- trunk/fox/grid_demo/Model/Groups/DyGridSingle.cc (original)
+++ trunk/fox/grid_demo/Model/Groups/DyGridSingle.cc Thu Feb 23 18:25:10
2006
@@ -125,7 +125,7 @@
}
// Determine how t changes with ray marching (dtdx, dtdy, dtdz..)
- dt = cellsize * inv_direction;
+ dt = (cellsize * inv_direction).absoluteValue();
// Determine the far edge of the cell.
for (int i=0;i<3;++i) {
- [MANTA] r954 - in trunk: Model/Readers fox/grid_demo/Model/Groups, abe, 02/23/2006
Archive powered by MHonArc 2.6.16.