diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-10 14:39:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-10 14:39:37 +0300 |
commit | 0ec0f2a02fb4d6e87db8fe8c7b9027ceab0263af (patch) | |
tree | 20ca8b404098b87ac8539578809b852ce829a988 /source/blender/blenloader | |
parent | 397ece000812b6acd96f4131c1e2f31cd72be0ab (diff) |
Add an option for saving/loading DPX with in log color space with
reference black, reference white and gamma.
Added 16 bit TIFF saving.
This needs more work to cleanup code and add 16 bit TIFF reading, but
committing it now so it can be tested.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index ef3d5cd0680..3c42cf3ae51 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -7095,6 +7095,12 @@ static void do_versions(FileData *fd, Library *lib, Main *main) sce->r.simplify_shadowsamples= 16; sce->r.simplify_aosss= 1.0f; } + + if(sce->r.cineongamma == 0) { + sce->r.cineonblack= 95; + sce->r.cineonwhite= 685; + sce->r.cineongamma= 1.7f; + } } for(ntree=main->nodetree.first; ntree; ntree= ntree->id.next) |