[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56327] trunk/blender: Fixes for color management:

Sergey Sharybin sergey.vfx at gmail.com
Fri Apr 26 20:56:16 CEST 2013


Revision: 56327
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56327
Author:   nazgul
Date:     2013-04-26 18:56:15 +0000 (Fri, 26 Apr 2013)
Log Message:
-----------
Fixes for color management:

- Sequencer preview was clamping float buffers
- ACES color space wasn't correct, was noticeable when
  applying display processor from linear space to display.
- Extended sRGB LUT to sRGBf from nuke-default config.
  Makes sequencer behave much better in sRGB space.

Modified Paths:
--------------
    trunk/blender/release/datafiles/colormanagement/config.ocio
    trunk/blender/release/datafiles/colormanagement/luts/srgb.spi1d
    trunk/blender/source/blender/editors/space_sequencer/sequencer_draw.c

Modified: trunk/blender/release/datafiles/colormanagement/config.ocio
===================================================================
--- trunk/blender/release/datafiles/colormanagement/config.ocio	2013-04-26 18:45:05 UTC (rev 56326)
+++ trunk/blender/release/datafiles/colormanagement/config.ocio	2013-04-26 18:56:15 UTC (rev 56327)
@@ -105,7 +105,7 @@
     description: |
       ACES linear space
     isdata: false
-    allocation: uniform
+    allocation: lg2
     allocationvars: [-8.5, 5]
     to_reference: !<FileTransform> {src: rec709_to_aces.spimtx, interpolation: linear, direction: inverse}
 
@@ -243,10 +243,8 @@
       Standard RGB Display Space
     isdata: false
     allocation: uniform
-    allocationvars: [-0.125, 1.125]
-    to_reference: !<GroupTransform>
-      children:
-        - !<FileTransform> {src: srgb.spi1d, interpolation: linear}
+    allocationvars: [-0.125, 4.875]
+    to_reference: !<FileTransform> {src: srgb.spi1d, interpolation: linear}
 
   - !<ColorSpace>
     name: VD16

Modified: trunk/blender/release/datafiles/colormanagement/luts/srgb.spi1d
===================================================================
--- trunk/blender/release/datafiles/colormanagement/luts/srgb.spi1d	2013-04-26 18:45:05 UTC (rev 56326)
+++ trunk/blender/release/datafiles/colormanagement/luts/srgb.spi1d	2013-04-26 18:56:15 UTC (rev 56327)
@@ -1,4107 +1,65567 @@
 Version 1
-From -0.125 1.125
-Length 4101
+From -0.125 4.875
+Length 65561
 Components 1
 {
         -0.00967492260062
-        -0.00965132522842
-        -0.00962772785623
-        -0.00960413048403
-        -0.00958053311183
-        -0.00955693573964
-        -0.00953333836744
-        -0.00950974099524
-        -0.00948614362305
-        -0.00946254625085
-        -0.00943894887865
-        -0.00941535150646
-        -0.00939175413426
-        -0.00936815676206
-        -0.00934455938987
-        -0.00932096201767
-        -0.00929736464547
-        -0.00927376727328
-        -0.00925016990108
-        -0.00922657252888
-        -0.00920297515669
-        -0.00917937778449
-        -0.00915578041229
-        -0.0091321830401
-        -0.0091085856679
-        -0.0090849882957
-        -0.00906139092351
-        -0.00903779355131
-        -0.00901419617911
-        -0.00899059880692
-        -0.00896700143472
-        -0.00894340406252
-        -0.00891980669033
-        -0.00889620931813
-        -0.00887261194593
-        -0.00884901457374
-        -0.00882541720154
-        -0.00880181982934
-        -0.00877822245715
-        -0.00875462508495
-        -0.00873102771275
-        -0.00870743034056
-        -0.00868383296836
-        -0.00866023559616
-        -0.00863663822397
-        -0.00861304085177
-        -0.00858944347957
-        -0.00856584610738
-        -0.00854224873518
-        -0.00851865136298
-        -0.00849505399079
-        -0.00847145661859
-        -0.00844785924639
-        -0.0084242618742
-        -0.008400664502
-        -0.0083770671298
-        -0.00835346975761
-        -0.00832987238541
-        -0.00830627501321
-        -0.00828267764102
-        -0.00825908026882
-        -0.00823548289662
-        -0.00821188552443
-        -0.00818828815223
-        -0.00816469078003
-        -0.00814109340784
-        -0.00811749603564
-        -0.00809389866344
-        -0.00807030129125
-        -0.00804670391905
-        -0.00802310654685
-        -0.00799950917466
-        -0.00797591180246
-        -0.00795231443027
-        -0.00792871705807
-        -0.00790511968587
-        -0.00788152231368
-        -0.00785792494148
-        -0.00783432756928
-        -0.00781073019709
-        -0.00778713282489
-        -0.00776353545269
-        -0.0077399380805
-        -0.0077163407083
-        -0.0076927433361
-        -0.00766914596391
-        -0.00764554859171
-        -0.00762195121951
-        -0.00759835384732
-        -0.00757475647512
-        -0.00755115910292
-        -0.00752756173073
-        -0.00750396435853
-        -0.00748036698633
-        -0.00745676961414
-        -0.00743317224194
-        -0.00740957486974
-        -0.00738597749755
-        -0.00736238012535
-        -0.00733878275315
-        -0.00731518538096
-        -0.00729158800876
-        -0.00726799063656
-        -0.00724439326437
-        -0.00722079589217
-        -0.00719719851997
-        -0.00717360114778
-        -0.00715000377558
-        -0.00712640640338
-        -0.00710280903119
-        -0.00707921165899
-        -0.00705561428679
-        -0.0070320169146
-        -0.0070084195424
-        -0.0069848221702
-        -0.00696122479801
-        -0.00693762742581
-        -0.00691403005361
-        -0.00689043268142
-        -0.00686683530922
-        -0.00684323793702
-        -0.00681964056483
-        -0.00679604319263
-        -0.00677244582043
-        -0.00674884844824
-        -0.00672525107604
-        -0.00670165370384
-        -0.00667805633165
-        -0.00665445895945
-        -0.00663086158725
-        -0.00660726421506
-        -0.00658366684286
-        -0.00656006947066
-        -0.00653647209847
-        -0.00651287472627
-        -0.00648927735407
-        -0.00646567998188
-        -0.00644208260968
-        -0.00641848523748
-        -0.00639488786529
-        -0.00637129049309
-        -0.00634769312089
-        -0.0063240957487
-        -0.0063004983765
-        -0.0062769010043
-        -0.00625330363211
-        -0.00622970625991
-        -0.00620610888771
-        -0.00618251151552
-        -0.00615891414332
-        -0.00613531677112
-        -0.00611171939893
-        -0.00608812202673
-        -0.00606452465453
-        -0.00604092728234
-        -0.00601732991014
-        -0.00599373253794
-        -0.00597013516575
-        -0.00594653779355
-        -0.00592294042135
-        -0.00589934304916
-        -0.00587574567696
-        -0.00585214830476
-        -0.00582855093257
-        -0.00580495356037
-        -0.00578135618817
-        -0.00575775881598
-        -0.00573416144378
-        -0.00571056407158
-        -0.00568696669939
-        -0.00566336932719
-        -0.005639771955
-        -0.0056161745828
-        -0.0055925772106
-        -0.00556897983841
-        -0.00554538246621
-        -0.00552178509401
-        -0.00549818772182
-        -0.00547459034962
-        -0.00545099297742
-        -0.00542739560523
-        -0.00540379823303
-        -0.00538020086083
-        -0.00535660348864
-        -0.00533300611644
-        -0.00530940874424
-        -0.00528581137205
-        -0.00526221399985
-        -0.00523861662765
-        -0.00521501925546
-        -0.00519142188326
-        -0.00516782451106
-        -0.00514422713887
-        -0.00512062976667
-        -0.00509703239447
-        -0.00507343502228
-        -0.00504983765008
-        -0.00502624027788
-        -0.00500264290569
-        -0.00497904553349
-        -0.00495544816129
-        -0.0049318507891
-        -0.0049082534169
-        -0.0048846560447
-        -0.00486105867251
-        -0.00483746130031
-        -0.00481386392811
-        -0.00479026655592
-        -0.00476666918372
-        -0.00474307181152
-        -0.00471947443933
-        -0.00469587706713
-        -0.00467227969493
-        -0.00464868232274
-        -0.00462508495054
-        -0.00460148757834
-        -0.00457789020615
-        -0.00455429283395
-        -0.00453069546175
-        -0.00450709808956
-        -0.00448350071736
-        -0.00445990334516
-        -0.00443630597297
-        -0.00441270860077
-        -0.00438911122857
-        -0.00436551385638
-        -0.00434191648418
-        -0.00431831911198
-        -0.00429472173979
-        -0.00427112436759
-        -0.00424752699539
-        -0.0042239296232
-        -0.004200332251
-        -0.0041767348788
-        -0.00415313750661
-        -0.00412954013441
-        -0.00410594276221
-        -0.00408234539002
-        -0.00405874801782
-        -0.00403515064562
-        -0.00401155327343
-        -0.00398795590123
-        -0.00396435852903
-        -0.00394076115684
-        -0.00391716378464
-        -0.00389356641244
-        -0.00386996904025
-        -0.00384637166805
-        -0.00382277429585
-        -0.00379917692366
-        -0.00377557955146
-        -0.00375198217926
-        -0.00372838480707
-        -0.00370478743487
-        -0.00368119006267
-        -0.00365759269048
-        -0.00363399531828
-        -0.00361039794608
-        -0.00358680057389
-        -0.00356320320169
-        -0.00353960582949
-        -0.0035160084573
-        -0.0034924110851
-        -0.0034688137129
-        -0.00344521634071
-        -0.00342161896851
-        -0.00339802159632
-        -0.00337442422412
-        -0.00335082685192
-        -0.00332722947973
-        -0.00330363210753
-        -0.00328003473533
-        -0.00325643736314
-        -0.00323283999094
-        -0.00320924261874
-        -0.00318564524655
-        -0.00316204787435
-        -0.00313845050215
-        -0.00311485312996
-        -0.00309125575776
-        -0.00306765838556
-        -0.00304406101337
-        -0.00302046364117
-        -0.00299686626897
-        -0.00297326889678
-        -0.00294967152458
-        -0.00292607415238
-        -0.00290247678019
-        -0.00287887940799
-        -0.00285528203579
-        -0.0028316846636
-        -0.0028080872914
-        -0.0027844899192
-        -0.00276089254701
-        -0.00273729517481
-        -0.00271369780261
-        -0.00269010043042
-        -0.00266650305822
-        -0.00264290568602
-        -0.00261930831383
-        -0.00259571094163
-        -0.00257211356943
-        -0.00254851619724
-        -0.00252491882504
-        -0.00250132145284
-        -0.00247772408065
-        -0.00245412670845
-        -0.00243052933625
-        -0.00240693196406
-        -0.00238333459186
-        -0.00235973721966
-        -0.00233613984747
-        -0.00231254247527
-        -0.00228894510307
-        -0.00226534773088
-        -0.00224175035868
-        -0.00221815298648
-        -0.00219455561429
-        -0.00217095824209
-        -0.00214736086989
-        -0.0021237634977
-        -0.0021001661255
-        -0.0020765687533
-        -0.00205297138111
-        -0.00202937400891
-        -0.00200577663671
-        -0.00198217926452
-        -0.00195858189232
-        -0.00193498452012
-        -0.00191138714793
-        -0.00188778977573
-        -0.00186419240353
-        -0.00184059503134
-        -0.00181699765914
-        -0.00179340028694
-        -0.00176980291475
-        -0.00174620554255
-        -0.00172260817035
-        -0.00169901079816

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list