Skip to content

Commit

Permalink
Compiled linux version to not use OIIO but AiTextureLoad. Thanks Gaetan
Browse files Browse the repository at this point in the history
  • Loading branch information
zpelgrims committed Feb 24, 2016
1 parent 7f7936d commit d5835b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file modified bin/zoic.so
Binary file not shown.
Binary file modified src/imgs/wip/testScene_lights.exr
Binary file not shown.
8 changes: 4 additions & 4 deletions src/zoic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// (C) Zeno Pelgrims, www.zenopelgrims.com

// to build on my linux machine:
// g++ -std=c++11 -o $ZENOCAMERA/src/zoic.os -c -fPIC -D_LINUX -I/run/media/i7210038/ZENO_MAJOR/Dropbox/majorproject/data/solidangle/Arnold-4.2.11.0-linux/include $ZENOCAMERA/src/zoic.cpp -L/usr/lib64 -lOpenImageIO -L/opt/appleseed/lib -ltiff
// g++ -o $ZENOCAMERA/bin/zoic.so -shared $ZENOCAMERA/src/zoic.os -L/run/media/i7210038/ZENO_MAJOR/Dropbox/majorproject/data/solidangle/Arnold-4.2.11.0-linux/bin -lai -L/usr/lib64 -lOpenImageIO -L/opt/appleseed/lib -ltiff"
// g++ -std=c++11 -o $ZENOCAMERA/src/zoic.os -c -fPIC -DNO_OIIO -D_LINUX -I/run/media/i7210038/ZENO_MAJOR/Dropbox/majorproject/data/solidangle/Arnold-4.2.11.0-linux/include $ZENOCAMERA/src/zoic.cpp -L/usr/lib64 -lOpenImageIO -L/opt/appleseed/lib -ltiff;
// g++ -o $ZENOCAMERA/bin/zoic.so -shared $ZENOCAMERA/src/zoic.os -DNO_OIIO -L/run/media/i7210038/ZENO_MAJOR/Dropbox/majorproject/data/solidangle/Arnold-4.2.11.0-linux/bin -lai -L/usr/lib64 -lOpenImageIO -L/opt/appleseed/lib -ltiff


// IDEAS
Expand Down Expand Up @@ -640,7 +640,7 @@ node_parameters {
AiParameterBOOL("useDof", true);
AiParameterFLT("fStop", 1.4f);
AiParameterFLT("focalDistance", 110.0f); // distance from lens to focal point
AiParameterFLT("opticalVignetting", 20.0f); //distance of the opticalVignetting virtual aperture
AiParameterFLT("opticalVignetting", 0.0f); //distance of the opticalVignetting virtual aperture
AiParameterFLT("highlightWidth", 0.2f);
AiParameterFLT("highlightStrength", 10.0f);
AiParameterBOOL("useImage", false);
Expand Down Expand Up @@ -677,7 +677,7 @@ node_update {
if (_useImage == true){
camera->image = readImage(_bokehPath);
if(!camera->image){
AiMsgError("Couldn't open image, please check that it is RGB/RGBA.");
AiMsgError("Couldn't open image!");
AiRenderAbort();
}

Expand Down
Binary file modified src/zoic.os
Binary file not shown.

0 comments on commit d5835b6

Please sign in to comment.