Differences between revisions 1 and 33 (spanning 32 versions)
Revision 1 as of 2015-12-11 23:40:00
Size: 637
Editor: SamatJain
Comment:
Revision 33 as of 2017-04-26 04:52:26
Size: 7902
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from innoBright

== Phrases ==

 * physically-based rendering
 * Monte Carlo rendering
 * operates in image space, no knowledge of scene geometry required
 * Altus CLI = post-process plugin, made to be integrated in your pipeline management software (Muster, Royal Render, Deadline, etc)
 * temporal filtering/cross-frame filtering

Preserve:

 * texture detail
 * motion blur
 * depth of field
 * minimize flicker

== osTicket ==

[[http://stackoverflow.com/questions/23539793/osticket-create-ticket-through-rest-api|php - osticket, create ticket through REST API - Stack Overflow]]

[[http://tmib.net/using-osticket-1812-api|Using the osTicket 1.8.1.2 API | tmib.net]]

API documentation: [[https://github.com/osTicket/osTicket/blob/develop/setup/doc/api/tickets.md|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/
Line 5: Line 40:
[[https://docs.google.com/spreadsheets/d/1ONS59_7YPDcfk0iZXSXj7x9rgZTttkerhyYtDZ65Bbk/edit?ts=5660a94b#gid=0|Altus v1.1 updates and fixes]]

== CL_ERRORS ==

=== CL_INVALID_WORK_DIMENSION (-53) ===

[[https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/errors.html|Official documentation]]: Returned by clEnqueueNDRangeKernel if work_dim is not a valid value.

Valid value is 0 < work_dim <= 3.

Called with value of 3 throughout Altus_Standalone codebase; does not appear to have a way to be triggered?
== Linux builds ==

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

 * Linux x86 Glibc 2.19 ( 32-bit | 64-bit ): Debian 8, Fedora 21, Ubuntu 14.04LTS
 * Linux x86 Glibc 2.13 ( 32-bit | 64-bit ): Debian 7, RHEL 7.1, Fedora 15, Ubuntu 12.04LTS
 * Linux x86 Glibc 2.11 ( 32-bit | 64-bit ): Debian 6, RHEL 6.6, Fedora 12

== Tests to write ==

 * Passing arguments out-of-order (worked in old builds, no longer works in new ones)

== Building OIIO ==

{{{#!highlight powershell
# Build script for OIIO on Windows; based off off
# https://github.com/OpenImageIO/oiio/blob/master/appveyor.yml

# http://piratepad.net/0rqEZFwrKg
# also has a very useful build script

####################
# Environment
####################

# TODO: Turn this into sane logic
# We use these to complete filenames/build targets. Everything is different
# for different projects, so we name them all...
$env:CMAKE_PLATFORM = "Visual Studio 12 2013 Win64"
$env:tbs_tools = "msvc12"
$env:tbs_tools2 = "vs2013"
$env:tbs_tools3 = "msvc-12.0"

$env:CMAKE_PLATFORM = "Visual Studio 14 2015 Win64"
$env:tbs_tools = "msvc14"
$env:tbs_tools2 = "vs2015"
$env:tbs_tools3 = "msvc-14.0"

$env:tbs_arch = "x64"
$env:PYTHON_DIR = "C:\\Python27"

$env:DEPENDENCY_DIR = "N:\Documents\OIIO-Dependencies.VS2013"
$env:CMAKE_LIBRARY_PATH = $env:DEPENDENCY_DIR
$env:CMAKE_INCLUDE_PATH = $env:DEPENDENCY_DIR

cd $env:DEPENDENCY_DIR

# ZLIB
# Finish me
$env:ZLIB_LIBRARY = "M:\releng\altus-deps-$env:tbs_tools2-x86_64-release\lib\zlib.lib"
$env:ZLIB_INCLUDE_DIR = "M:\releng\altus-deps-$env:tbs_tools2-x86_64-release\include"

# TIFF
nuget install libtiff-$env:tbs_tools-$env:tbs_arch-master -Source https://ci.appveyor.com/nuget/libtiff-i3h8tqqy7o7b
move libtiff*\* . -force

# PNG
nuget install libpng-$env:tbs_tools-$env:tbs_arch-master -Version 1.6.18.44 -Source https://ci.appveyor.com/nuget/libpng-7hwq4pmmrc48
move libpng*\* . -force

# JPEG
nuget install libjpeg-$env:tbs_tools-$env:tbs_arch-master -Version 1.4.80.21 -Source https://ci.appveyor.com/nuget/libjpegturbo-o6k4js4y7pjw
move libjpeg*\* . -force

# OpenEXR
$env:OPENEXR_HOME = "M:\releng\altus-deps-$env:tbs_tools2-x86_64-release"

$env:BOOST_ROOT = "C:\local\boost_1_61_0\"
$env:BOOST_LIBRARYDIR = "C:\local\boost_1_61_0\lib64-$env:tbs_tools3"
$env:CMAKE_PREFIX_PATH = $env:CMAKE_PREFIX_PATH + $env:BOOST_ROOT

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 ===

{{{#!highlight powershell
# For VS2015
$DEPENDENCY_DIR = "M:\Dependencies\msvc14\"
# For VS2013
$DEPENDENCY_DIR = "M:\Dependencies\msvc12\"

cd C:\Users\Public\Documents
mkdir build
cd build
cmake --config Release -G "Visual Studio 14 2015 Win64" -B. `
      -D CMAKE_PREFIX_PATH=$DEPENDENCY_DIR `
      -D USE_RLM=ON `
      -D RLM_INCLUDE_PATH=M:\Dependencies\rlm-12.1\ `
      -D RLM_LIBRARY=M:\Dependencies\rlm-12.1\windows-msvc14\rlmclient_md.lib `
      -HN:\Documents\GitHub\Altus_Standalone
}}}

Build with (using max number of cores available):

{{{#!highlight powershell
# Build everything
cmake --build . --config Release --target ALL_BUILD -- /maxcpucount
# Build only 1 target
cmake --build . --config Release --target altus-cuda -- /maxcpucount

# or using MSBuild

& "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:

{{{#!highlight sh
export DEPENDENCY_BASE=/mnt/megatron/releng/linux-deps/altus-deps-gcc-6.1.0/
export TOOLCHAIN_BASE=/mnt/megatron/releng/linux-deps/toolchain-gcc-6.1.0/
cmake -DCMAKE_BUILD_TYPE=Release \
      -DUSE_RLM=ON \
      -DRLM_INCLUDE_PATH=/mnt/megatron/libs/rlm/lib_links \
      -DRLM_LIBRARY=/mnt/megatron/libs/rlm/lib_links/linux/rlm.a \
      -DZLIB_INCLUDE_DIR=$DEPENDENCY_BASE/include \
      -DZLIB_LIBRARY_RELEASE=$DEPENDENCY_BASE/lib/libz.a \
      -DOPENEXR_HALF_LIBRARY=$DEPENDENCY_BASE/lib/libHalf.a \
      -DOPENEXR_IEX_LIBRARY=$DEPENDENCY_BASE/lib/libIex-2_2.a \
      -DOPENEXR_ILMIMF_LIBRARY=$DEPENDENCY_BASE/lib/libIlmImf-2_2.a \
      -DOPENEXR_ILMTHREAD_LIBRARY=$DEPENDENCY_BASE/lib/libIlmThread-2_2.a \
      -DOPENEXR_IMATH_LIBRARY=$DEPENDENCY_BASE/lib/libImath-2_2.a \
      -DOPENEXR_INCLUDE_PATH=$DEPENDENCY_BASE/include/OpenEXR
}}}

== LANL meeting (20160921) ==

 * kokkos
 * thrust: C++ templte library, work in terms of iterators, etc
 * legion

== Competition ==

[[https://docs.chaosgroup.com/display/VRAY3MAX/V-Ray+Denoiser+%7C+VRayDenoiser+|V-Ray's post-process denoiser]]

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

[[https://renderman.pixar.com/view/denoiser|Renderman - Feature - Denoiser]]

== Press ==

 * [[https://www.abqjournal.com/861988/rise-of-the-rest-pulls-into-albuquerque.html|Rise of the Rest pulls into Albuquerque]] [Albuquerque Journal, 6 Oct 2016]
 * [[https://www.abqjournal.com/911503/abq-startup-innobright-ready-for-commercial-launch.html|ABQ startup InnoBright ready for commercial launch]] [Albuquerque Journal, 18 Dec 2016]

== Command-line snippets ==

{{{#!highlight sh numbers=off

# 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

}}}

Phrases

  • physically-based rendering
  • Monte Carlo rendering
  • operates in image space, no knowledge of scene geometry required
  • Altus CLI = post-process plugin, made to be integrated in your pipeline management software (Muster, Royal Render, Deadline, etc)
  • temporal filtering/cross-frame filtering

Preserve:

  • texture detail
  • motion blur
  • depth of field
  • minimize flicker

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:

  • Linux x86 Glibc 2.19 ( 32-bit | 64-bit ): Debian 8, Fedora 21, Ubuntu 14.04LTS
  • Linux x86 Glibc 2.13 ( 32-bit | 64-bit ): Debian 7, RHEL 7.1, Fedora 15, Ubuntu 12.04LTS
  • Linux x86 Glibc 2.11 ( 32-bit | 64-bit ): Debian 6, RHEL 6.6, Fedora 12

Tests to write

  • Passing arguments out-of-order (worked in old builds, no longer works in new ones)

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)

  • kokkos
  • thrust: C++ templte library, work in terms of iterators, etc
  • legion

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)