60 likes | 212 Views
Real-time Volume Rendering of Time-Varying Data using a Fragment-Shader compression approach. Evaluate impact on marine ecosystem from oil-well drilling activities using seabed samples before and after Sparse, high spatial, temporal coherence. UFRGS - Brazil. Compression – spatial. 8x8. 4x4.
E N D
Real-time Volume Rendering of Time-Varying Data using a Fragment-Shader compression approach • Evaluate impact on marine ecosystem from oil-well drilling activities using seabed samples before and after • Sparse, high spatial, temporal coherence UFRGS - Brazil
Compression – spatial 8x8 4x4
Compression – temporal 3D Texture-1 3D Texture-2
Results • 36 time instances of 1283
CG struct vert2frag { float4 texCoord : TEX0; }; struct frag2frame { float4 color : COLOR0; }; #define TEX DIM 128 #define DR 8 frag2frame main( vert2frag IN, uniform float3 origin, uniform sampler3D texIndex, uniform sampler3D texRefinement) : COLOR { frag2frame OUT; OUT.color = f4tex3D(texIndex, origin.xyz + IN.texCoord / DR); float3 refIndex = OUT.color.xyz + fmod(IN.texCoord, DR / TEX DIM); if (OUT.color.w == 1.0) OUT.color = f4tex3D(texRefinement, refIndex); return OUT; }