sobotka / filmic-blender

Film Emulsion-Like Camera Rendering Transforms for Blender
https://sobotka.github.io/filmic-blender/
2.07k stars 147 forks source link

Installing on a Mac #9

Open fabulousrice opened 7 years ago

fabulousrice commented 7 years ago

I am looking forward to using this great tool. However I am on a Mac.

The instructions indicate "Replace your current OpenColorIO configuration in Blender", does that mean within the application's package contents?

When I open the package for the Blender app it doesn't list the required folder.

Blender / Contents contains the following files: _CodeSignature Info.plist MacOS PkgInfo Resources

What I am looking for is "BLENDER/bin/VERSIONNUMBER/datafiles/colormanagement"

Thank you for your help.

sobotka commented 7 years ago

On MacOS there is an alternate user data path, and I believe that is the path you need to overwrite.

The cleaner approach would be to set an environment variable to your Filmic installation.

If someone can come up with clear documentation on how to do both approaches above, I would happily add it to the readme.

fabulousrice commented 7 years ago

I found this, I will try and let you know:

/Applications/blender-2.77a-OSX_10.6-x86_64/Blender 2.77.app/Contents/Resources/2.77/datafiles/colormanagement

I was planning on installing it on Blender 2.77 to keep it to one of the iterations of the app that I have installed (I also kept 2.76 and 2.78 around). Looking forward to sort this out and let you know.

sobotka commented 7 years ago

Environment variables are the cleanest. It would look something like "export OCIO=/path/to/Filmic/config.ocio". After running that in the terminal, Blender and any other OCIO enabled application should honour the configuration you set.

fabulousrice commented 7 years ago

I confirm that replacing the folder in the path given above on a Mac works and installs your Filmic color profiles. Feel free to add this info for people wishing to use it only on one iteration of their app. I'm still trying to figure out how to use it (is there a sample file or tutorial somewhere?) before I apply it to all my versions - it's a lot to process for someone who didn't go to MIT heheh 😉

sobotka commented 7 years ago

Try https://www.youtube.com/shared?ci=4cPARjmIdXY and read the readme.

sobotka commented 7 years ago

Please try the following to confirm the environment variable approach works as well.

https://gist.github.com/predat/392d9e5373d67946cdc4840d2d0b722d

conbonbonnifer commented 7 years ago

Just in case any body else is an idiot like me and couldn't find the correct blender folder on mac, if you right click on the app icon and select 'show package contents' then it'll be there!

alexkaessner commented 7 years ago

I've also installed at via the applications content in /Applications/blender.app/Contents/Resources/2.78/datafiles/colormanagement. You should may add this to the readme.

Btw, great work! 👌

schroef commented 7 years ago

@conbonbonnifer But there is no other location for it to install. Where was this other location?

Frizi commented 7 years ago

@sobotka I tried the instruction from the gist and it worked on first try. Just dumped the plist file into ~/Library/LaunchAgents/environment.plist, loaded with launchctl and cloned filmic-blender into /usr/local/etc. Just worked next time I opened blender 👍

sobotka commented 7 years ago

Thanks so much to all you folks hammering away on MacOS. If anyone is capable, would you be able to get current instructions on the environment variable approach? On Linux it looks like:

export OCIO=/path/to/where/Filmic/is/config.ocio
Frizi commented 7 years ago

The gist is essentially the one. You can do the export on Mac too, but you will have to start blender from the terminal with correct rc file loaded. Launchclt is taking care of environment of the whole desktop, so you have to set it up.

Frizi commented 7 years ago

Alternatively you should be able to just run setenv OCIO /usr/local/etc/filmic-blender/config.ocio and next blender instance should pick it up. It's better to automate that though.

Cherna commented 7 years ago

OSX 10.11.4 (El Capitan). Copying the folder and just changing the name of the old colormanagement folder works fine.

image

Like this

Sorry if it's redundant.

Edit: Couldn't work out the env variables approach.

sobotka commented 7 years ago

Is anyone is on a newer Apple P3 display here?

schroef commented 7 years ago

perhaps write a *.sh files which can be dropped into termanial which then installs inside that folder. Easier for the starter/novice user

sobotka commented 7 years ago

Read through the comments on YouTube and Twitter. Much better to not make it easier for new folks.

khtang commented 7 years ago

Here is another PER-USER method to activate filmic:

The "by-design" way of loading user content, in this case, is to override the default colormanagement. This can be done by placing filmic in Blender's platform-dependent USER configuration directory. There is also the "SYSTEM" configuration directory which should setup filmic for everyone. However in my tests the SYSTEM files only kick in as backups instead of as overrides.

Blender reads the datafiles folder in this order: LOCAL, USER, SYSTEM. The files in the USER folder override the LOCAL blender files(in blender.app/Contents/Resources/...). This method is done per user. (See: https://docs.blender.org/manual/en/dev/getting_started/installing/configuration/directories.html?highlight=datafiles)

On a Mac - USER config override:

  1. in Finder press [Ctrl]+[G] and go to "~/Library/Application Support/Blender/"
  2. open the Blender version. e.g.: "2.78"
  3. create the "datafiles" folder if it's not already there.
  4. rename filmic to "colormanagement" and place in this datafiles folder.

In reality this is not any easier or quicker than just modifying blender.app, but it might be useful in a shared environment where there are pros and cons for different methods listed in this issue page.

predat commented 7 years ago

@sobotka i've one of those iMac… What do you need to know ?

peacememories commented 7 years ago

@khtang This installation method is much cleaner and works like a charm. I would very much like to see this in the install instructions. Thank you!

@sobotka I've got a 2016 13" MacBook Pro if you need any testing.

sobotka commented 7 years ago

@peacememories and @predat:

I am going to add the proper transforms for Apple P3 this weekend. Would dearly appreciate testing.

peacememories commented 7 years ago

Looking into the blender doc I can see all releases of blender support overlay directories. I would suggest changing the install instructions to make this the preferred installation approach.

@sobotka I'd be happy to help. Just say what you need tested. I don't have color measuring equipment though.

sobotka commented 7 years ago

Ok Apple users, especially @peacememories and @predat, I need your help!

If you own a later model Apple P3 display, including:

Please trial the development branch of Filmic located at this link.

Q: What does it do? A: The Apple P3 versions listed above include a wider than BT.709 / sRGB display type. This means that the RGB lights per pixel are a different colour and more saturated when compared to the standard BT.709 / sRGB lights in a typical display. Blender does not use ICC based colour management, and as a result, all renders are incorrect when viewed on these devices. The testing Apple P3 transform located in the above link will correct the BT.709 internal Blender reference rendering space to the Apple P3 device.

Q: How can I test this? A: The development link above is exactly like the main branch of Filmic, with the sole difference being that it includes the development version of the Apple P3 view transform. The only view transform listed is the sRGB EOTF variant for simplicity and testing purposes. To test this, create any image using saturated primaries of red, green, and blue. In theory, if you have an sRGB device around with a D65 white point, the renders should look extremely close. Compare the Apple P3 device sRGB EOTF version versus the identical render on the sRGB device using the sRGB / REC.709 display sRGB EOTF view.

Q: This doesn't work or has problems! What can I do? A: Please post an issue on this tracker with the information. Even "This doesn't look right" is a huge help, as all future Filmic transformations will lean heavily on this test.

Q: The colour picker won't let me change to certain values when I move it around! Help? A: I believe the colour picker is locked to only positive values. Given that they are colour managed based on the view, the colour selection is currently locking down only the colours that fit within the Blender default reference space. These are good things to learn and discover, so please help me by posting all of your discoveries.

Thanks so much for all of your help and support.

prismhue commented 7 years ago

Installing Filmic Blender on Mac

  1. locate the Blender app and right click on the icon. In the drop down menu select Show Package Contents. Proceed into Content folder.

  2. Navigate into Resources folder

  3. Navigate to 2.78 folder - your reason might be older or or newer

  4. Navigate to datafiles folder and you should see the color management folder.

Filmic exclamation video https://www.youtube.com/watch?v=m9AT7H4GGrA

blender

peacememories commented 7 years ago

@prismhue I would not recommend this method of installing filmic-blender, since it messes with the application package directly. @khtang provided a way to install fimlic blender here that is in my opinion less disruptive.

Although this will probably not be very important in a few months, iirc filmic-blender is getting shipped with blender in the future?

prismhue commented 7 years ago

Cool, thanks G. Pickl:) Good to know that Blender is adding Filmic to the application. 

-------- Original Message -------- Subject: Re: [sobotka/filmic-blender] Installing on a Mac (#9) From: Gabriel Pickl notifications@github.com Date: Tue, July 04, 2017 5:20 am To: sobotka/filmic-blender filmic-blender@noreply.github.com Cc: prismhue cs@prismhue.com, Mention mention@noreply.github.com

@prismhue I would not recommend this method of installing filmic-blender, since it messes with the application package directly. @khtang provided a way to install fimlic blender here that is in my opinion less disruptive. Although this will probably not be very important in a few months, iirc filmic-blender is getting shipped with blender in the future? —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

JamesSylvester commented 6 years ago

Hi @sobotka, I've been playing around with the filmic transformations for a while now mostly in nuke. On my old sRGB iMac everything works great. I am now using a iMac pro with the p3 display.

I have downloaded the development branch with the p3 transform (sRGB variant) which seems to work great. The other filmic transforms however look incorrect.

In your earlier post you mentioned that "The only view transform listed is the sRGB EOTF variant for simplicity and testing purposes"

Do you have variants of the filmic transforms that are calibrated for a p3 display?

Thanks so much for help and support.

sobotka commented 6 years ago

Now that there is someone here to cross test with me, I will try to knock them out.

JamesSylvester commented 6 years ago

Thank you, that would be awesome.

I'll test them as best I can, If theres anything you need from me just let me know.

Cheers

sobotka commented 6 years ago

I suppose the best thing first here is to itemize the default ICMs on the MacBooks. When I first did my search on the very first Apple DCI-P3 iMac, the ICM showed a different set of primaries to the later ICMs, being from iMac-A7B96997-A225-ECFB-0501-11A19B2BADCC.

Which ICM for the default Apple DCI-P3 is your current MacBook using?

JamesSylvester commented 6 years ago

On my DCI-P3 2018 iMac Pro the ICM is iMac-B9491394-E824-BFF6-F378-1C143B7474F8.icc

I also have limited access to a p3 MacBook Pro (late 2017 I think) I can check the ICM on that later tonight.

JamesSylvester commented 6 years ago

Don't know If its useful, but heres the color profile,

iMac-B9491394-E824-BFF6-F378-1C143B7474F8.icc.zip

sobotka commented 6 years ago

An older iMac ICC / ICM that caused issues with negative values in some pixel management systems. New ICC / ICM listed above doesn't have the negative values in the rXYZ tag.

iMac-A7B96997-A225-ECFB-0501-11A19B2BADCC.zip

sobotka commented 5 years ago

@JamesSylvester I haven't forgotten about this. Been short on time, but am currently working on a fix. It ended up a little more involved, and versatile as a result.

Would you mind posting a new issue that directly deals with the Apple P3 displays?

sobotka commented 5 years ago

New branch called "AppleP3" which has the full set of transformations for Apple DCI-P3 displays. Give it a test. I filed a new issue as well for report tracking.