Ignore:
Timestamp:
Mar 8, 2007 5:56:29 PM (17 years ago)
Author:
vrinside
Message:

Added new zinc blende renderer - It is still needed to compare with unicell based simulation data.
Removed tentatively used class, NvVolQDVolumeShader,NvVolQDVolume
Moved Font.bmp into resources directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/vizservers/nanovis/shaders/zincblende_volume.cg

    r580 r617  
    2929  PixelOut OUT;
    3030
    31   // INSOO
    32   //float4 tex_coord = mul(modelViewInv, IN.TexCoord) + float4(0.5, 0.5, 0.5, 0.5);
    3331  float4 tex_coord = mul(modelViewInv, IN.TexCoord);
    3432  float4 twice_cell_size = cellSize * 2.0;
     
    4341  float4 voxel_face_center_c = f4tex3D(volumeA, tex_coord_c) + f4tex3D(volumeB, tex_coord_c - cellSize);
    4442       
    45 
    4643  //combine 8 sampling results
    4744  float sample = (voxel_corner.x + voxel_face_center_a.y + voxel_face_center_b.z + voxel_face_center_c.w) * 0.125;
Note: See TracChangeset for help on using the changeset viewer.