Changeset 1323 for trunk/packages/vizservers/nanovis
- Timestamp:
- Mar 13, 2009, 12:40:28 PM (16 years ago)
- Location:
- trunk/packages/vizservers/nanovis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/nanovis.cpp
r1317 r1323 809 809 // TEMP 810 810 //data[4*index] = lic_slice_x; 811 data[4*index] = 1.0;811 data[4*index] = 0.95; 812 812 data[4*index+1]= j/float(particleRenderer->psys_height); 813 813 data[4*index+2]= i/float(particleRenderer->psys_width); -
trunk/packages/vizservers/nanovis/shaders/update_pos.cg
r1301 r1323 28 28 float time = pos.w; 29 29 30 /// INSOO 31 // TEMP 32 if (max > 100) max = 100; 33 30 34 //reconstruct negative value 31 35 //float4 vel = float4(tex3D(vel_tex, pos.xyz).xyz, 0) - float4(0.5, 0.5, 0.5, 0.0f); … … 36 40 //vel.z *= scale.z; 37 41 ret = pos; 42 38 43 ret.x += vel.x * 0.0005; 39 44 ret.y += vel.y * 0.0005;
Note: See TracChangeset
for help on using the changeset viewer.