Ignore:
Timestamp:
Apr 19, 2010 8:11:56 PM (14 years ago)
Author:
vrinside
Message:

added particle system shaders

Location:
trunk/packages/vizservers/nanovis/shaders
Files:
9 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/shaders/queryvelocity.cg

    r1484 r1702  
    77        float3 velocity = tex3D(vfield, pos).yzw * 2 - float3(1, 1, 1);
    88        return float4(velocity, 1);
    9 
    10         // FOR DEBUG
    11         //velocity = normalize(float3(1, 1, 0));
    12         //return float4(velocity, 1);
    139}
  • trunk/packages/vizservers/nanovis/shaders/velocityslicevp.cg

    r1489 r1702  
    5252
    5353        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;
    5657       
    5758        posout = mul(mvp, vec);
Note: See TracChangeset for help on using the changeset viewer.