Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Graphics Displayed in Windows Photo Viewer vs OpenGL Texture Rendering

  1. #1
    Junior Member Regular Contributor
    Join Date
    Dec 2016
    Location
    Ocean Shores, WA USA
    Posts
    108

    Graphics Displayed in Windows Photo Viewer vs OpenGL Texture Rendering

    Hey guys,

    Anybody know exactly or what texture or display settings, the Windows Photo Viewer uses?

    I'm asking because I've recently looked at some graphics with fading colors in Windows Photo Viewer, that when translated into my program via texturing, show solid colors.

    Let me see if I can screen shot the example here:

    Here's the windows photo viewer render:

    Click image for larger version. 

Name:	windows_photo_viewer1.jpg 
Views:	52 
Size:	11.1 KB 
ID:	2819

    And here's the render, as it shows in opengl:

    Click image for larger version. 

Name:	opengl_render1.jpg 
Views:	47 
Size:	14.8 KB 
ID:	2820

    I'm going to fiddle with a few of the settings, and perhaps it's a blending or transparency thing?

    Anyways, any help would be appreciated, thanks,

    Jeff Cummings

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    2,984
    Quote Originally Posted by OceanJeff40 View Post
    Anybody know exactly or what texture or display settings, the Windows Photo Viewer uses?

    I'm asking because I've recently looked at some graphics with fading colors in Windows Photo Viewer, that when translated into my program via texturing, show solid colors.
    The most likely factors are related to gamma. One possibility is that one program is performing gamma correction and the other isn't. Another possibility is that the image is being resampled, and one program is performing interpolation on linear intensities while the other is using gamma-law values.

    Displaying the image pixel-for-pixel should confirm or refute the latter possibility. For the other, you can take a screenshot of the photo viewer and compare it to the image data you're uploading to the texture, performing a scatter plot of the R/G/B values.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •