SamatsWiki

Phrases

Preserve:

osTicket

php - osticket, create ticket through REST API - Stack Overflow

Using the osTicket 1.8.1.2 API

API documentation: osTicket/tickets.md at develop ยท osTicket/osTicket

Wordpress Website

Image slider plugin: https://github.com/kavyasukumar/imgSlider. Need to upgrade to 2.0, works in mobile. Can be scripted to have automatic sliding.

https://github.com/zurb/twentytwenty is used by the new (Jan 2017) website.

Carousel: http://owlgraphic.com/owlcarousel/

https://wpsimplepay.com/

Project management

InnoBright project management

Linux builds

from https://www.bitkeeper.org/download.html:

Tests to write

Building OIIO

   1 # Build script for OIIO on Windows; based off off
   2 #  https://github.com/OpenImageIO/oiio/blob/master/appveyor.yml
   3 
   4 # http://piratepad.net/0rqEZFwrKg
   5 #  also has a very useful build script
   6 
   7 ####################
   8 # Environment
   9 ####################
  10 
  11 # TODO: Turn this into sane logic
  12 # We use these to complete filenames/build targets. Everything is different
  13 # for different projects, so we name them all...
  14 $env:CMAKE_PLATFORM = "Visual Studio 12 2013 Win64"
  15 $env:tbs_tools = "msvc12"
  16 $env:tbs_tools2 = "vs2013"
  17 $env:tbs_tools3 = "msvc-12.0"
  18 
  19 $env:CMAKE_PLATFORM = "Visual Studio 14 2015 Win64"
  20 $env:tbs_tools = "msvc14"
  21 $env:tbs_tools2 = "vs2015"
  22 $env:tbs_tools3 = "msvc-14.0"
  23 
  24 $env:tbs_arch = "x64"
  25 $env:PYTHON_DIR = "C:\\Python27"
  26 
  27 $env:DEPENDENCY_DIR = "N:\Documents\OIIO-Dependencies.VS2013"
  28 $env:CMAKE_LIBRARY_PATH = $env:DEPENDENCY_DIR
  29 $env:CMAKE_INCLUDE_PATH = $env:DEPENDENCY_DIR
  30 
  31 cd $env:DEPENDENCY_DIR
  32 
  33 # ZLIB
  34 # Finish me
  35 $env:ZLIB_LIBRARY = "M:\releng\altus-deps-$env:tbs_tools2-x86_64-release\lib\zlib.lib"
  36 $env:ZLIB_INCLUDE_DIR = "M:\releng\altus-deps-$env:tbs_tools2-x86_64-release\include"
  37 
  38 # TIFF
  39 nuget install libtiff-$env:tbs_tools-$env:tbs_arch-master -Source https://ci.appveyor.com/nuget/libtiff-i3h8tqqy7o7b
  40 move libtiff*\* . -force
  41 
  42 # PNG
  43 nuget install libpng-$env:tbs_tools-$env:tbs_arch-master -Version 1.6.18.44 -Source https://ci.appveyor.com/nuget/libpng-7hwq4pmmrc48
  44 move libpng*\* . -force
  45 
  46 # JPEG
  47 nuget install libjpeg-$env:tbs_tools-$env:tbs_arch-master -Version 1.4.80.21 -Source https://ci.appveyor.com/nuget/libjpegturbo-o6k4js4y7pjw
  48 move libjpeg*\* . -force
  49 
  50 # OpenEXR
  51 $env:OPENEXR_HOME = "M:\releng\altus-deps-$env:tbs_tools2-x86_64-release"
  52 
  53 $env:BOOST_ROOT = "C:\local\boost_1_61_0\"
  54 $env:BOOST_LIBRARYDIR = "C:\local\boost_1_61_0\lib64-$env:tbs_tools3"
  55 $env:CMAKE_PREFIX_PATH = $env:CMAKE_PREFIX_PATH + $env:BOOST_ROOT
  56 
  57 cmake -G "$env:CMAKE_PLATFORM" -DPYTHON_INCLUDE_DIR:PATH=$env:PYTHON_DIR/include -DPYTHON_LIBRARY:FILEPATH=$env:PYTHON_DIR/libs/python27.lib -DPYTHON_EXECUTABLE:FILEPATH=$env:PYTHON_DIR/python.exe -DCMAKE_LIBRARY_PATH=$env:CMAKE_LIBRARY_PATH -DCMAKE_INCLUDE_PATH=$env:CMAKE_INCLUDE_PATH  -DCMAKE_PREFIX_PATH=$env:CMAKE_PREFIX_PATH -DOPENEXR_HOME=$env:OPENEXR_HOME -DZLIB_LIBRARY=$env:ZLIB_LIBRARY -DZLIB_INCLUDE_DIR=$env:ZLIB_INCLUDE_DIR -DVERBOSE=1 N:\Documents\GitHub\oiio

Release engineering

Windows

   1 # For VS2015
   2 $DEPENDENCY_DIR = "M:\Dependencies\msvc14\"
   3 # For VS2013
   4 $DEPENDENCY_DIR = "M:\Dependencies\msvc12\"
   5 
   6 cd C:\Users\Public\Documents
   7 mkdir build
   8 cd build
   9 cmake --config Release -G "Visual Studio 14 2015 Win64" -B. `
  10       -D CMAKE_PREFIX_PATH=$DEPENDENCY_DIR `
  11       -D USE_RLM=ON `
  12       -D RLM_INCLUDE_PATH=M:\Dependencies\rlm-12.1\ `
  13       -D RLM_LIBRARY=M:\Dependencies\rlm-12.1\windows-msvc14\rlmclient_md.lib `
  14       -HN:\Documents\GitHub\Altus_Standalone

Build with (using max number of cores available):

   1 # Build everything
   2 cmake --build . --config Release --target ALL_BUILD -- /maxcpucount
   3 # Build only 1 target
   4 cmake --build . --config Release --target altus-cuda -- /maxcpucount
   5 
   6 # or using MSBuild
   7 
   8 & "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" .\altus.sln /p:Configuration=Release /maxcpucount

Instead of altus.sln, you can point directly to the vcxproj file to explicitly build a target (i.e. the CUDA version).

Linux

To build a release build:

   1 export DEPENDENCY_BASE=/mnt/megatron/releng/linux-deps/altus-deps-gcc-6.1.0/
   2 export TOOLCHAIN_BASE=/mnt/megatron/releng/linux-deps/toolchain-gcc-6.1.0/
   3 cmake -DCMAKE_BUILD_TYPE=Release \
   4       -DUSE_RLM=ON \
   5       -DRLM_INCLUDE_PATH=/mnt/megatron/libs/rlm/lib_links \
   6       -DRLM_LIBRARY=/mnt/megatron/libs/rlm/lib_links/linux/rlm.a \
   7       -DZLIB_INCLUDE_DIR=$DEPENDENCY_BASE/include \
   8       -DZLIB_LIBRARY_RELEASE=$DEPENDENCY_BASE/lib/libz.a \
   9       -DOPENEXR_HALF_LIBRARY=$DEPENDENCY_BASE/lib/libHalf.a \
  10       -DOPENEXR_IEX_LIBRARY=$DEPENDENCY_BASE/lib/libIex-2_2.a \
  11       -DOPENEXR_ILMIMF_LIBRARY=$DEPENDENCY_BASE/lib/libIlmImf-2_2.a \
  12       -DOPENEXR_ILMTHREAD_LIBRARY=$DEPENDENCY_BASE/lib/libIlmThread-2_2.a \
  13       -DOPENEXR_IMATH_LIBRARY=$DEPENDENCY_BASE/lib/libImath-2_2.a \
  14       -DOPENEXR_INCLUDE_PATH=$DEPENDENCY_BASE/include/OpenEXR

LANL meeting (20160921)

Competition

V-Ray's post-process denoiser

[https://rmanwiki.pixar.com/display/REN/Denoise+Workflow Denoise Workflow - RenderMan - Renderman Documentation]

Renderman - Feature - Denoiser

Press

Command-line snippets

# Convert OpenEXR to PNG, adjusting for gamma problems (if output image is too dark)
# Manually adjust gamma by 1/2.2
parallel --no-notice --eta -u 'oiiotool {} --ch R,G,B,A=1 --powc 0.454545454545,0.454545454545,0.454545454545,1.0 -o {}.png' ::: *exr

# Take RGBA out of a multi-layer EXR file
oiiotool Moet_Chandon_materials_S.528x800.currentSL8.timeSinceRenderStarted1m42s.exr --ch R=${CHANNEL}.R,G=${CHANNEL}.G,B=${CHANNEL}.B,A -o b0.${CHANNEL}.exr
# Take an arbitrary channel out of a multi-layer EXR file
# Assumes the channels are named ,R, G, B, and A (not always true, sometimes it's "red")
$CHANNEL="POSITION"
oiiotool Moet_Chandon_materials_S.528x800.currentSL8.timeSinceRenderStarted1m42s.exr --ch R=${CHANNEL}.R,G=${CHANNEL}.G,B=${CHANNEL}.B,A -o b0.${CHANNEL}.exr

SamatsWiki: Innobright (last edited 2017-04-26 04:52:26 by SamatJain)