1. Jan 13, 2021
  2. Jan 12, 2021
    • John Harwell's avatar
      WB-925 Some PNG format icon files cause warnings: The warning messages... · 4b49ed1f
      John Harwell authored
      WB-925 Some PNG format icon files cause warnings: The warning messages produced by Qt when reading the PNG images can be safely ignored.  So, the Qt message handler callback was moved out of desktop.cxx and into a new class WorkbenchQtMessageHandler.  This new class also includes support for suppressing messages and currently suppresses the Qt PNG ICC profile messages.  It does not look like wb_command has a Qt message handler, and WorkbenchQtMessageHandler could also be used for wb_command.
      4b49ed1f
  3. Jan 09, 2021
    • John Harwell's avatar
    • John Harwell's avatar
      WB 918 Transparency channel in captures: Had a git merging nightmare and a... · 6032d7ea
      John Harwell authored
      WB 918 Transparency channel in captures: Had a git merging nightmare and a commit was lost and I think I have found all of the changes that were lost.  Open Blending (opacity/transparency) did not function as I thought.    Calling glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) results in ALPHA values less than one in the frame buffer.  Replacement is to use the call to glBlendFuncSeparate() as shown later in this comment.  This function allows blending only the RGB values while preserving 1.0 as the alpha value.  This corrects the colors when drawing so that colors are blended properly with 1.0 for the alpha channel.  It also fixes the problems with image colors.  The coloring is different between the two functions.  To view the old coloring, uncheck "Separate RGB / Alpha Blending" in the Develop Menu.
      
              glBlendFuncSeparate(GL_SRC_ALPHA,           /* source (incoming) RGB blending factor */
                                  GL_ONE_MINUS_SRC_ALPHA, /* destination (frame buffer) RGB blending factor */
                                  GL_ZERO,                /* source (incoming) Alpha blending factor */
                                  GL_ONE);                /* destination (frame buffer) Alpha blending factor */
      6032d7ea
  4. Jan 08, 2021
  5. Jan 06, 2021
  6. Jan 05, 2021
  7. Dec 24, 2020
  8. Dec 23, 2020
  9. Dec 15, 2020
  10. Dec 12, 2020
  11. Dec 09, 2020
  12. Dec 08, 2020
    • John Harwell's avatar
    • John Harwell's avatar
      WB-926 Long scene descriptions cut off in scene selector: Added a command line... · 2da281ee
      John Harwell authored
      WB-926 Long scene descriptions cut off in scene selector: Added a command line option, "-scene-scroll   <number>" to wb_view that allows testing of two different options on the scene dialog for resolving this issue.  If this option is not specified, wb_view uses the existing functionality that chops off long scene descriptions.
      
      "wb_view  -scene-scroll  1" places the description of the each scene inside a scroll area so that the user can scroll and read long scene descriptions.   The problem with this option is that it places "scroll regions" (for each scene) inside a larger scroll region (the scroll bar that scrolls all scenes). On a Mac (and maybe other platforms) this is cumbersome with trackpad scrolling.  If the mouse is over a scene description, the scene description is scrolled but if the user moves the mouse left of the scene description, the all scenes are scrolled.
      
       "wb_view  -scene-scroll  2" displays the full description for each scene.  If each scene contains a long description, the user will need to perform more scrolling to view each of the available scenes.  In my opinion, this is the preferred solution.
      
      For testing a scene file that contains several scenes with long descriptions, try  /mnt/myelin/caret7_gui_design/data/HCP_WB_Tutorial_1.0/WB_1.0_SCENES.32k_fs_LR.scene.  Keep in mind this is an old scene file that contains "default descriptions" for each scene.  These "default descriptions" have been disabled for new scenes (but can be inserted using the "Add Window Info" button on the new scene dialog).
      2da281ee
    • John Harwell's avatar
      In the dialog displayed while loading a spec file or a showing a scene, a... · 909e454a
      John Harwell authored
      In the dialog displayed while loading a spec file or a showing a scene,  a counter and number of total files in the progress dialog.
      909e454a
    • John Harwell's avatar
    • John Harwell's avatar
      Add tooltips to scene menu in toolbar. · e0bffa0d
      John Harwell authored
      e0bffa0d
  13. Dec 05, 2020