Skip to content

Commit

Permalink
name change
Browse files Browse the repository at this point in the history
  • Loading branch information
zpelgrims committed Feb 21, 2016
1 parent b425df3 commit 3f58245
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 2,693 deletions.
4 changes: 2 additions & 2 deletions ae/aiZenoCameraTemplate.py → ae/aiZoicTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import maya.cmds as cmds
import mtoa.ui.ae.utils as aeUtils

class aiZenoCameraTemplate(templates.AttributeTemplate):
class aiZoicTemplate(templates.AttributeTemplate):

def filenameEdit(self, mData) :
attr = self.nodeAttr('aiBokehPath')
Expand Down Expand Up @@ -41,4 +41,4 @@ def setup(self):
self.addControl("aiUseImage", label="Enable Image based bokeh")
self.addCustom('aiBokehPath', self.filenameNew, self.filenameReplace)

templates.registerTranslatorUI(aiZenoCameraTemplate, "camera", "zenoCamera")
templates.registerTranslatorUI(aiZoicTemplate, "camera", "zoic")
Binary file not shown.
Binary file removed bin/zenoCamera.o
Binary file not shown.
Binary file removed bin/zenoCamera.so
Binary file not shown.
6 changes: 3 additions & 3 deletions bin/zenoCamera.mtd → bin/zoic.mtd
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# zenoCamera 0x00070007
[node zenoCamera]
# zoic 0x00070007
[node zoic]
desc STRING "Extended camera shader with added options for mage based bokeh shapes and optical vignetting."
maya.name STRING "camera"
maya.id INT 0x00070007
maya.translator STRING "zenoCamera"
maya.translator STRING "zoic"

[attr sensorWidth]
maya.name STRING "aiSensorWidth"
Expand Down
Binary file added bin/zoic.so
Binary file not shown.
12 changes: 3 additions & 9 deletions src/arnoldCamera.pro
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,15 @@ LIBS += \


SOURCES += \
zenoCamera.cpp \
imageReader.cpp \
testFile.cpp \
zoic.cpp

HEADERS += \
arnoldcamera.h\
arnoldcamera_global.h \
oblique_lensdistortion.h \
imageReader.h

unix {
target.path = /usr/lib
INSTALLS += target
}

DISTFILES += \
../z_ae/aiZenoCameraTemplate.py \
../z_bin/zenoCamera.mtd
../ae/aiZoicTemplate.py \
../bin/zoic.mtd
13 changes: 0 additions & 13 deletions src/arnoldcamera.h

This file was deleted.

12 changes: 0 additions & 12 deletions src/arnoldcamera_global.h

This file was deleted.

File renamed without changes.
2,103 changes: 0 additions & 2,103 deletions src/testScene.ass

This file was deleted.

Binary file removed src/testScene.exr
Binary file not shown.
546 changes: 0 additions & 546 deletions src/testScene.ma

This file was deleted.

11 changes: 6 additions & 5 deletions src/zenoCamera.cpp → src/zoic.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Arnold camera shader with options for image based bokeh shapes and optical vignetting.
// ZOIC - Arnold camera shader with options for image based bokeh shapes and optical vignetting.

// Special thanks to Marc-Antoine Desjardins for the help on the image sampling
// Special thanks to Benedikt Bitterli for the information on optical vignetting
Expand Down Expand Up @@ -86,7 +86,8 @@ even losing samples in the middle..
#include <cstring>
#include <OpenImageIO/imageio.h>

AI_CAMERA_NODE_EXPORT_METHODS(zenoCameraMethods)
// Arnold thingy
AI_CAMERA_NODE_EXPORT_METHODS(zoicMethods)

bool debug = false;

Expand Down Expand Up @@ -591,7 +592,7 @@ node_parameters {
AiParameterFLT("focalDistance", 110.0f); // distance from lens to focal point
AiParameterFLT("opticalVignetting", 0.0f); //distance of the opticalVignetting virtual aperture
AiParameterBOOL("useImage", true);
AiParameterStr("bokehPath", "/home/i7210038/qt_arnoldCamera/arnoldCamera/imgs/collected_real/bokeh_18_graded.jpg"); //bokeh shape image location
AiParameterStr("bokehPath", ""); //bokeh shape image location
}


Expand Down Expand Up @@ -738,9 +739,9 @@ camera_create_ray {
node_loader {
if (i > 0)
return false;
node->methods = zenoCameraMethods;
node->methods = zoicMethods;
node->output_type = AI_TYPE_NONE;
node->name = "zenoCamera";
node->name = "zoic";
node->node_type = AI_NODE_CAMERA;
strcpy(node->version, AI_VERSION);
return true;
Expand Down
Binary file renamed src/zenoCamera.os → src/zoic.os
Binary file not shown.

0 comments on commit 3f58245

Please sign in to comment.