Skip to content

Install

Federico Ponchio edited this page Oct 19, 2021 · 7 revisions

Relight releases can be found a this url:

https://github.com/cnr-isti-vclab/relight/releases

If you want to use the bleeding edge latest build, you can find them here (you need to login in Github):

https://github.com/cnr-isti-vclab/relight/actions

where you select your system, pick the latest commit and download the executables in the Artifact section. You might want to install Python (version 3.something) and a few Python packages (opencv-python, sklearn and *pyvips) for some of the features such as computing normals and web friendly format.

Windows

Unzip the windows portable and you can run the relight.exe, you might need to install the vc_redist.x64.exe and the system will ask for a reboot, but it is not really needed. If Windows is protecting your PC, you can allow this executable to run with a right click on the executable selecting Properties, General tab and unblock the Security section.

Make sure you installed 'pip' when installing Python. Tou need to set the path of the executable in the File->Preferences->Scripts dialog. To find the exe location open a terminal (Command Prompt) and type where python.

From the command prompt run pip install opencv-python sklearn pyvips. To properly install pyvips you also need to install the libvips executable from github.

Mac

  • extract zip

  • move "relight.app" to Application folder

  • right click on relight.app, Show package content (🇫🇷 : Afficher les contenus du paquet)

  • navigate to Content

  • right click on Macos folder, New terminal at folder (🇫🇷 : Nouveau terminal au dossier)

  • in the terminal write sudo chmod +x relight

  • open MacOS folder then open relight, it will say that it's not from a certified developer (I am not, infact...)

  • open System Preferences panel -> Security -> Open anyway in General tab.

  • close everything, you should be able now to open relight.app directly from the Application folder.

Linux

Just download the appimage, extract it from the zip and mark it as executabl: Right mouse click -> Properties -> Permissions -> Allow executing file), or using the command line:

chmod +x Relight_linux.appimage

In Ubuntu:

sudo add-apt-repository universe sudo apt install python3 python3-pip libvips-dev pip3 install --user opencv-python sklearn pyvips

Clone this wiki locally