Skip to content

Instantly share code, notes, and snippets.

View olir's full-sized avatar
👨‍🎓
It may take a long time until i respond.

Oliver Rode olir

👨‍🎓
It may take a long time until i respond.
View GitHub Profile
@olir
olir / MakeCRNOH.bat
Last active November 17, 2021 10:54
Windows Batch Script for Texture Packing with ImageMagick. Tested with Quixel Bridge, Quixel Mixer and Unreal Engine. Automates the texture Packing process for surface textures. Takes up to 6 Quixel Bridge or Mixer "Megascan" Textures and packs them into two BC7 non sRGB Textures. Attributions to Ben Cloward and his tutorials https://www.youtube…
@ECHO OFF
SETLOCAL EnableDelayedExpansion
REM Pack_CR_NOH - Automation Script for Texture Packing with ImageMagick.
REM
REM Tested with Quixel Bridge, Quixel Mixer and Unreal Engine
REM
REM Automates the texture Packing process for surface textures.
REM Takes 6 Quixel Bridge or Mixer "Megascan" Textures and packs them into two BC7 non sRGB Textures.
REM Required: Albedo, Roughness, Normal, AO, Displacement. Optional: Cavity.
@olir
olir / TcpNetworkDispatcher.java
Last active August 16, 2017 14:07
Dispatch TCP (SSL) connections to a local server pool by a simple round-robin distribution strategy
/*
* Dispatch TCP connections from <daemonport> to <childcount> local child-server
* processes expected listening locally from port <firstchildport> upwards.
* child-server processes is some software not able to dispatch traffic to
* multiple processes, needs concurrency protection or SSL termination.
*
* The argument <concurrency> limits the maximum number of parallel connections
* per child. The number of threads used is equal to <childcount> *
* <concurrency> * 2.
*