(apologies if this gets sent 2x - was over the limit with attachments on the 
previous attempt)

Hey all!

I've been spending some time fixing up the tests so they can be running on 
windows, but I've run into a problem with texture-icwrite.

Basically, for some reason, the test is writing out completely different images 
from those found in the /ref folder.  The images generated from the test can be 
found here:
https://drive.google.com/open?id=0B8Z7B1V68zADazVPVUJJc1RFeHM

Are there any insights out there for why this particular test generates 
different images on the windows platform?

If its ok to be different, then I'll add the series of images to the ref folder 
as out1-win.tif, etc.

Thanks!
-J

Created texture system
Testing IC write, mode 1
Result of get_texture_info resolution = 1 512x512
Result of get_texture_info channels = 1 3
Result of get_texture_info channels = 1 3
Result of get_texture_info data format = 1 float
Result of get_texture_info datetime = 0 
Result of get_texture_info averagecolor = yes 0 0.1 0 0
Result of get_texture_info averagealpha = no
Result of get_texture_info constantcolor = no
Texture type is 1 Plain Texture

Testing 2d texture ../../../../../, output = out1.tif
Memory use: 21.7 MB

ustrings: unique 45, 12.0 MB

OpenImageIO ImageCache statistics (shared) ver 1.6.12
  Options:  max_memory_MB=256.0 max_open_files=100 autotile=0
            autoscanline=0 automip=0 forcefloat=0 accept_untiled=1
            accept_unmipped=1 read_before_insert=0 deduplicate=1
            unassociatedalpha=0 failure_retries=0 
  Images : 1 unique
    ImageInputs : 1 created, 1 current, 1 peak
    Total size of all images referenced : 4.0 MB
    Read from disk : 1023 KB
    File I/O time : 0.0s (0.0s average per thread)
    File open time only : 0.0s
  Tiles: 89 created, 88 current, 88 peak
    total tile requests : 548019
    micro-cache misses : 28602 (5.21916%)
    main cache misses : 25 (0.00456189%)
    Peak cache memory : 4.0 MB
  Image file statistics:
        opens   tiles  MB read  I/O time  res              File
      1    1       24      1.0      0.0s   512x 512x3.f32  ../../../../../ 
MIP-COUNT [0,16,4,1,1,1,0,0,0,1]

  Tot:     1       24      1.0      0.0s


Created texture system
Testing IC write, mode 1
Result of get_texture_info resolution = 1 512x512
Result of get_texture_info channels = 1 3
Result of get_texture_info channels = 1 3
Result of get_texture_info data format = 1 float
Result of get_texture_info datetime = 0 
Result of get_texture_info averagecolor = yes 0.499023 0.499023 0.19281 0
Result of get_texture_info averagealpha = no
Result of get_texture_info constantcolor = no
Texture type is 1 Plain Texture

Testing 2d texture ../../../../../, output = out2.tif
Memory use: 22.1 MB

ustrings: unique 46, 12.0 MB

OpenImageIO ImageCache statistics (shared) ver 1.6.12
  Options:  max_memory_MB=256.0 max_open_files=100 autotile=0
            autoscanline=0 automip=1 forcefloat=0 accept_untiled=1
            accept_unmipped=1 read_before_insert=0 deduplicate=1
            unassociatedalpha=0 failure_retries=0 
  Images : 1 unique
    ImageInputs : 1 created, 1 current, 1 peak
    Total size of all images referenced : 3.0 MB
    Read from disk : 0 B
    File I/O time : 0.1s (0.0s average per thread)
    File open time only : 0.0s
  Tiles: 73 created, 73 current, 73 peak
    total tile requests : 624453
    micro-cache misses : 14265 (2.2844%)
    main cache misses : 9 (0.00144126%)
    Peak cache memory : 4.0 MB
  Image file statistics:
        opens   tiles  MB read  I/O time  res              File
      1    1        0      0.0      0.1s   512x 512x3.f32  ../../../../../ 
UNMIPPED MIP-COUNT [0,1,1,1,1,1,1,1,1,1]

  Tot:     1        0      0.0      0.1s
  0 not tiled, 1 not MIP-mapped


Created texture system
Testing IC write, mode 2
Result of get_texture_info resolution = 1 512x512
Result of get_texture_info channels = 1 3
Result of get_texture_info channels = 1 3
Result of get_texture_info data format = 1 float
Result of get_texture_info datetime = 0 
Result of get_texture_info averagecolor = yes 0 0.1 0 0
Result of get_texture_info averagealpha = no
Result of get_texture_info constantcolor = no
Texture type is 1 Plain Texture

Testing 2d texture ../../../../../, output = out3.tif
Memory use: 21.0 MB

ustrings: unique 45, 12.0 MB

OpenImageIO ImageCache statistics (shared) ver 1.6.12
  Options:  max_memory_MB=256.0 max_open_files=100 autotile=0
            autoscanline=0 automip=0 forcefloat=0 accept_untiled=1
            accept_unmipped=1 read_before_insert=0 deduplicate=1
            unassociatedalpha=0 failure_retries=0 
  Images : 1 unique
    ImageInputs : 1 created, 1 current, 1 peak
    Total size of all images referenced : 4.0 MB
    Read from disk : 3.2 MB
    File I/O time : 0.1s (0.0s average per thread)
    File open time only : 0.0s
  Tiles: 74 created, 72 current, 72 peak
    total tile requests : 548019
    micro-cache misses : 28602 (5.21916%)
    main cache misses : 74 (0.0135032%)
    Peak cache memory : 3.3 MB
  Image file statistics:
        opens   tiles  MB read  I/O time  res              File
      1    1       72      3.2      0.1s   512x 512x3.f32  ../../../../../ 
MIP-COUNT [48,16,4,1,1,1,0,0,0,1]

  Tot:     1       72      3.2      0.1s


Created texture system
Testing IC write, mode 2
Result of get_texture_info resolution = 1 512x512
Result of get_texture_info channels = 1 3
Result of get_texture_info channels = 1 3
Result of get_texture_info data format = 1 float
Result of get_texture_info datetime = 0 
Result of get_texture_info averagecolor = yes 0.499023 0.525 0.499023 0
Result of get_texture_info averagealpha = no
Result of get_texture_info constantcolor = no
Texture type is 1 Plain Texture

Testing 2d texture ../../../../../, output = out4.tif
Memory use: 22.1 MB

ustrings: unique 46, 12.0 MB

OpenImageIO ImageCache statistics (shared) ver 1.6.12
  Options:  max_memory_MB=256.0 max_open_files=100 autotile=0
            autoscanline=0 automip=1 forcefloat=0 accept_untiled=1
            accept_unmipped=1 read_before_insert=0 deduplicate=1
            unassociatedalpha=0 failure_retries=0 
  Images : 1 unique
    ImageInputs : 1 created, 1 current, 1 peak
    Total size of all images referenced : 3.0 MB
    Read from disk : 3.0 MB
    File I/O time : 0.2s (0.0s average per thread)
    File open time only : 0.0s
  Tiles: 73 created, 73 current, 73 peak
    total tile requests : 624453
    micro-cache misses : 14265 (2.2844%)
    main cache misses : 73 (0.0116902%)
    Peak cache memory : 4.0 MB
  Image file statistics:
        opens   tiles  MB read  I/O time  res              File
      1    1       64      3.0      0.2s   512x 512x3.f32  ../../../../../ 
UNMIPPED MIP-COUNT [64,1,1,1,1,1,1,1,1,1]

  Tot:     1       64      3.0      0.2s
  0 not tiled, 1 not MIP-mapped


Comparing "out1.tif" and "ref/out1.tif"
256 x 256, 4 channel
  Mean error = 0.176224
  RMS error = 0.27812
  Peak SNR = 11.1154
  Max error  = 1 @ (152, 0, A)
  65536 pixels (100%) over 0.008
  65536 pixels (100%) over 0.004
FAILURE
Comparing "out2.tif" and "ref/out2.tif"
256 x 256, 4 channel
  Mean error = 0.168715
  RMS error = 0.276483
  Peak SNR = 11.1666
  Max error  = 1 @ (152, 0, A)
  65535 pixels (100%) over 0.008
  65536 pixels (100%) over 0.004
FAILURE
Comparing "out3.tif" and "ref/out3.tif"
256 x 256, 4 channel
  Mean error = 0.18979
  RMS error = 0.303097
  Peak SNR = 10.3684
  Max error  = 1 @ (152, 0, A)
  65536 pixels (100%) over 0.008
  65536 pixels (100%) over 0.004
FAILURE
Comparing "out4.tif" and "ref/out4.tif"
256 x 256, 4 channel
  Mean error = 0.231051
  RMS error = 0.368933
  Peak SNR = 8.66104
  Max error  = 1 @ (152, 0, A)
  65535 pixels (100%) over 0.008
  65536 pixels (100%) over 0.004
FAILURE
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to