Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Thomas Mansencal KelSolaar

🎯
Focusing
View GitHub Profile
View rmse.nkp
set cut_paste_input [stack 0]
version 12.1 v1
push $cut_paste_input
push 0
Group {
inputs 2
name RMSE
tile_color 0xffbf00ff
selected true
xpos -150
@KelSolaar
KelSolaar / global_tonemapping_operator_Lottes2016.rpp
Last active Nov 19, 2020
Global Tonemapping Operator - Lottes (2016)
View global_tonemapping_operator_Lottes2016.rpp
// https://github.com/KhronosGroup/glTF-Compressonator/blob/master/Compressonator/Applications/_Plugins/C3DModel_viewers/glTF_DX12_EX/DX12Util/shaders/Tonemapping.hlsl
kernel GlobalTonemappingOperator_Lottes2016 : ImageComputationKernel<ePixelWise>
{
Image<eRead, eAccessPoint, eEdgeClamped> src;
Image<eWrite> dst;
param:
float hdrMax;
float contrast;
@KelSolaar
KelSolaar / discover-aces-dev.log
Last active Jun 7, 2020
Discover "aces-dev" Log (Partial)
View discover-aces-dev.log
{'csc': {'ACEScc': {'ACEScsc.Academy.ACEScc': CTLTransform('ACES_to_ACEScc', 'ACEScsc.Academy.ACES_to_ACEScc.ctl')},
'ACEScct': {'ACEScsc.Academy.ACEScct': CTLTransform('ACES_to_ACEScct', 'ACEScsc.Academy.ACES_to_ACEScct.ctl')},
'ACEScg': {'ACEScsc.Academy.ACEScg': CTLTransform('ACEScg_to_ACES', 'ACEScsc.Academy.ACEScg_to_ACES.ctl')},
'ACESproxy': {'ACEScsc.Academy.ACESproxy10i': CTLTransform('ACES_to_ACESproxy10i', 'ACEScsc.Academy.ACES_to_ACESproxy10i.ctl'),
'ACEScsc.Academy.ACESproxy12i': CTLTransform('ACESproxy12i_to_ACES', 'ACEScsc.Academy.ACESproxy12i_to_ACES.ctl')},
'ADX': {'ACEScsc.Academy.ADX10': CTLTransform('ADX10_to_ACES', 'ACEScsc.Academy.ADX10_to_ACES.ctl'),
'ACEScsc.Academy.ADX16': CTLTransform('ADX16_to_ACES', 'ACEScsc.Academy.ADX16_to_ACES.ctl')},
'arri': {'ACEScsc.Academy.LogC_EI800_AWG': CTLTransformPair(CTLTransform('ACES_to_LogC_EI800_AWG', 'ACEScsc.Academy.ACES_to_LogC_EI800_AWG.ctl'), CTLTransform('LogC
@KelSolaar
KelSolaar / cornell_box_to_sRGB.py
Last active Dec 15, 2019
Cornell Box to sRGB
View cornell_box_to_sRGB.py
import numpy as np
import colour
D = np.array([
[400, 0.343, 0.092, 0.040],
[404, 0.445, 0.096, 0.046],
[408, 0.551, 0.098, 0.048],
[412, 0.624, 0.097, 0.053],
[416, 0.665, 0.098, 0.049],
[420, 0.687, 0.095, 0.050],
@KelSolaar
KelSolaar / pyproject.toml
Created Sep 28, 2019
Colour - pyproject.toml
View pyproject.toml
[tool.poetry]
name = "colour-science"
packages = [
{ include="colour", from="." },
]
version = "0.3.13"
description = "Colour Science for Python"
license = "BSD-3-Clause"
authors = [ "Colour Developers" ]
readme = 'README.rst'
@KelSolaar
KelSolaar / artifact.yml
Created Sep 18, 2019
A.R.T. - Artifact
View artifact.yml
name: A.R.T. - Artifact
on: [push]
jobs:
build:
runs-on: macOS-10.14
steps:
@KelSolaar
KelSolaar / .travis.yml
Created Sep 17, 2019
OpenImageIO - Artifacts
View .travis.yml
dist: bionic
sudo: true
language: python
matrix:
fast_finish: true
include:
- python: 3.6
env:
- PYTHON_VERSION="3.6"
View mock_for_colour.py
# -*- coding: utf-8 -*-
"""
Mock for Colour
===============
Defines various objects for mocking to use with
`Colour <https://github.com/colour-science/colour>`_.
References
----------
@KelSolaar
KelSolaar / Dockerfile
Last active Jul 17, 2019
ociolutimage - Docker Wrapper
View Dockerfile
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y \
build-essential \
git \
freeglut3-dev \
libglew-dev \
libilmbase-dev \
View cheatsheet.rst
You can’t perform that action at this time.