Changeset 1702 for trunk/packages/vizservers/nanovis/shaders
- Timestamp:
- Apr 19, 2010, 8:11:56 PM (14 years ago)
- Location:
- trunk/packages/vizservers/nanovis/shaders
- Files:
-
- 9 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/shaders/queryvelocity.cg
r1484 r1702 7 7 float3 velocity = tex3D(vfield, pos).yzw * 2 - float3(1, 1, 1); 8 8 return float4(velocity, 1); 9 10 // FOR DEBUG11 //velocity = normalize(float3(1, 1, 0));12 //return float4(velocity, 1);13 9 } -
trunk/packages/vizservers/nanovis/shaders/velocityslicevp.cg
r1489 r1702 52 52 53 53 float4 posEye = mul(modelview, posin); 54 //pointSize = tanHalfFOV / -posEye.z; 55 pointSize = 10 / -posEye.z; 54 //pointSize = tanHalfFOV / -posEye.z / 5; 55 pointSize = tanHalfFOV / -posEye.z / 10; //j-wire 56 //pointSize = 10 / -posEye.z; 56 57 57 58 posout = mul(mvp, vec);
Note: See TracChangeset
for help on using the changeset viewer.