fb1ae9d3a6
Hydra's HdxColorCorrectionTask rendered prims black in OCIO mode and could corrupt the GlfDrawTarget bind stack on failure (skipping Unbind), blacking out every later frame including sRGB. Replace it with our own GL post-process: the scene renders linear (RGBA16F) and is corrected by a fullscreen shader -- linear->sRGB encode, or OCIO via the OCIO 2.1 GPU API (GpuShaderDesc plus uploaded 1D/3D LUT textures). OCIO build failures fall back to sRGB (never black) and USD diagnostics are routed to the app log. - core: ViewportColorCorrector + ApplyViewportColorCorrection in UsdSceneRenderer - utils: OcioConfigParser enumerates displays/views/colorspaces/looks from $OCIO - ui: gear-menu OCIO controls (ViewportTile) + per-viewport persistence (ViewportPanel) - Application: point $OCIO at the bundled ACES 1.2 config - CMake: link/copy OpenColorIO, download ACES 1.2 config; plus hdCycles build config (disable OpenVDB/Embree, fix TBB/OpenSubdiv/Imath dirs, exclude CRT DLLs) - main: pre-flight plugin DLL load check to skip plugins with missing deps Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
81 lines
834 B
Plaintext
81 lines
834 B
Plaintext
# Build directories
|
|
build/
|
|
install/
|
|
out/
|
|
.kilocode/
|
|
.kilo/
|
|
third_party/
|
|
example/
|
|
|
|
# CMake
|
|
CMakeCache.txt
|
|
CMakeFiles/
|
|
cmake_install.cmake
|
|
*.cmake
|
|
!CMakeLists.txt
|
|
!cmake/modules/*.cmake
|
|
!CMakePresets.json
|
|
|
|
# Visual Studio
|
|
.vs/
|
|
*.vcxproj
|
|
*.vcxproj.filters
|
|
*.vcxproj.user
|
|
*.sln
|
|
*.suo
|
|
*.user
|
|
*.userosscache
|
|
*.sln.docstates
|
|
|
|
# Compiled Object files
|
|
*.o
|
|
*.obj
|
|
*.lo
|
|
*.slo
|
|
|
|
# Compiled Dynamic libraries
|
|
*.so
|
|
*.dylib
|
|
*.dll
|
|
|
|
# Compiled Static libraries
|
|
*.a
|
|
*.lib
|
|
*.lai
|
|
*.la
|
|
|
|
# Executables
|
|
*.exe
|
|
*.out
|
|
*.app
|
|
|
|
# Debug files
|
|
*.pdb
|
|
*.ilk
|
|
*.exp
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
|
|
# ImGui layout (saved to %APPDATA%\UsdLayerManager at runtime)
|
|
imgui.ini
|
|
|
|
# OCIO config LUT files — downloaded automatically at CMake configure time
|
|
resources/OpenColorIO-Configs/
|