Ignore:
Timestamp:
Jun 8, 2006 4:50:10 PM (18 years ago)
Author:
mmc
Message:

Last minute fixes so we can deploy the nanoVIS server:

  • Added monitor.tcl script which monitors nanoscale and restarts as needed.
  • Fixed relative paths for shaders and fonts. All shaders and fonts are

taken from /opt/nanovis/lib

  • Fixed the ordering of data for the nanowire simulator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/vizservers/nanovis/VolumeRenderer.cpp

    r455 r467  
    2727
    2828  init_shaders();
    29   init_font("./font/Font.bmp");
     29  init_font("/opt/nanovis/lib/font/Font.bmp");
    3030}
    3131
     
    3737 
    3838  //standard vertex program
    39   m_vert_std_vprog = loadProgram(g_context, CG_PROFILE_VP30, CG_SOURCE, "./shaders/vertex_std.cg");
     39  m_vert_std_vprog = loadProgram(g_context, CG_PROFILE_VP30, CG_SOURCE, "/opt/nanovis/lib/shaders/vertex_std.cg");
    4040  m_mvp_vert_std_param = cgGetNamedParameter(m_vert_std_vprog, "modelViewProjMatrix");
    4141  m_mvi_vert_std_param = cgGetNamedParameter(m_vert_std_vprog, "modelViewInv");
    4242
    4343  //volume rendering shader
    44   m_one_volume_fprog = loadProgram(g_context, CG_PROFILE_FP30, CG_SOURCE, "./shaders/one_volume.cg");
     44  m_one_volume_fprog = loadProgram(g_context, CG_PROFILE_FP30, CG_SOURCE, "/opt/nanovis/lib/shaders/one_volume.cg");
    4545  m_vol_one_volume_param = cgGetNamedParameter(m_one_volume_fprog, "volume");
    4646  //cgGLSetTextureParameter(m_vol_one_volume_param, _vol->id);
Note: See TracChangeset for help on using the changeset viewer.