Init Repo
This commit is contained in:
indigo 2023-09-01 03:54:36 +08:00
commit 084aaefcd0
188 changed files with 15486 additions and 0 deletions

1
.env Normal file
View File

@ -0,0 +1 @@
PYTHONPATH=C:\Autodesk\mtoa\4.2.4\2020\scripts

22
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,22 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${default}"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.18362.0",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}

34
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,34 @@
{
//"cmake.configureEnvironment": {
// "ARNOLD_LOCATION": "D:/library/external/Arnold-5.1.1.1"
//},
"C_Cpp.default.includePath": [
//"D:\\library\\external\\Arnold-5.1.1.1\\include"
"C:/Program Files/Autodesk/Maya2020/plug-ins/xgen/include",
"C:/Program Files/Autodesk/Maya2020/include",
"D:/library/external/Arnold-6.2.1.1/include",
"C:/Autodesk/mtoa/4.2.4/2020/include"
],
"C_Cpp.default.intelliSenseMode": "windows-msvc-x64",
"files.associations": {
"xstring": "cpp",
"initializer_list": "c",
"list": "c",
"map": "c",
"sstream": "c",
"unordered_map": "c",
"unordered_set": "c",
"vector": "c",
"xhash": "c",
"xmemory": "c",
"xtree": "c",
"tuple": "c",
"memory": "cpp",
"xutility": "cpp",
"utility": "cpp"
},
"python.analysis.extraPaths": [
"C:/Autodesk/mtoa/4.2.4/2020/scripts"
],
"python.envFile": "${workspaceFolder}/.env"
}

40
CMakeLists.txt Normal file
View File

@ -0,0 +1,40 @@
project(apShaders)
cmake_minimum_required(VERSION 3.2)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
${CMAKE_SOURCE_DIR}/cmake/modules
${CMAKE_SOURCE_DIR}/cmake/macros)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
if(WIN32)
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0")
add_definitions("-W3 -MP -D_CRT_SECURE_NO_WARNINGS -wd4005 -wd4996 -wd4305 -wd4244 -nologo")
add_definitions(-DPLATFORM_WINDOWS -DPLATFORM=WINDOWS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
elseif(APPLE)
add_definitions(-DPLATFORM_DARWIN -DPLATFORM=DARWIN)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
else()
add_definitions(-DPLATFORM_LINUX -DPLATFORM=LINUX -D_LINUX)
endif()
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()
if("${CMAKE_BUILD_TYPE}" MATCHES "Debug")
add_definitions(-DDEBUG=1 -UNDEBUG)
elseif("${CMAKE_BUILD_TYPE}" MATCHES "Release")
add_definitions(-DNDEBUG=1 -UDEBUG)
if(NOT WIN32)
add_definitions(-O3)
endif()
endif()
Find_Package(Arnold)
Find_Package(Mtoa)
add_subdirectory(src)

79
CMakePresets.json Normal file
View File

@ -0,0 +1,79 @@
{
"version": 2,
"configurePresets": [
{
"name": "Arnold_6.2.1.1_Maya2020",
"displayName": "Mtoa 4.2.4 for Maya 2020 (Arnold 6.2.0.1)",
"description": "Sets Visual Studio 17 2022 Win64 generator, build and install directory",
"generator": "Visual Studio 17 2022",
"toolset": "v141",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/2020",
"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "/Od /Zi",
"CMAKE_CXX_FLAGS_RELEASE": "/O2"
},
"environment": {
"MAYA_VERSION": "2020",
"ARNOLD_LOCATION": "D:/library/external/Arnold-6.2.1.1",
"MTOA_LOCATION":"C:/Autodesk/mtoa/4.2.4/2020"
}
},
{
"name": "Arnold-7.1.3.2_Maya2020",
"displayName": "Mtoa 5.2.1.1 Maya 2020 (Arnold 7.1.3.2)",
"description": "Sets Visual Studio 17 2022 Win64 generator, build and install directory",
"generator": "Visual Studio 17 2022",
"toolset": "v141",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/2020",
"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "/Od /Zi",
"CMAKE_CXX_FLAGS_RELEASE": "/O2"
},
"environment": {
"MAYA_VERSION": "2020",
"ARNOLD_LOCATION": "D:/library/external/Arnold-7.1.3.2",
"MTOA_LOCATION":"C:/Autodesk/mtoa/5.2.1.1/2020"
}
}
],
"buildPresets": [
{
"name": "Arnold_6.2.0.1_Release",
"description": "Release Build",
"displayName": "Mtoa 4.2.4 (Arnold_6.2) for Maya 2020 Release",
"configurePreset": "Arnold_6.2.1.1_Maya2020",
"configuration": "Release",
"targets": "install"
},
{
"name": "Arnold_6.2.0.1_RelWithDebInfo",
"description": "Release Build",
"displayName": "Mtoa 4.2.4 (Arnold_6.2) for Maya 2020 RelWithDebInfo",
"configurePreset": "Arnold_6.2.1.1_Maya2020",
"configuration": "RelWithDebInfo",
"targets": "install"
},
{
"name": "Arnold_7.1.3.2_Release",
"description": "Release Build",
"displayName": "Mtoa 5.2.1.1 (Arnold_7.1) for Maya 2022 Release",
"configurePreset": "Arnold-7.1.3.2_Maya2020",
"configuration": "Release",
"targets": "install"
},
{
"name": "Arnold_7.1.3.2_RelWithDebInfo",
"description": "Release Build",
"displayName": "Mtoa 5.2.1.1 (Arnold_7.1) for Maya 2022 RelWithDebInfo",
"configurePreset": "Arnold-7.1.3.2_Maya2020",
"configuration": "RelWithDebInfo",
"targets": "install"
}
]
}

5
build.bat Normal file
View File

@ -0,0 +1,5 @@
@echo off
set ARNOLD_LOCATION=D:\library\external\Arnold-5.1.1.1
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=C:\workspace\apShaders\install ..
cmake --build . --target install --config Release

View File

@ -0,0 +1,108 @@
include (FindPackageHandleStandardArgs)
set(ARNOLD_INC_SUFFIX "include")
set(ARNOLD_LIB_SUFFIX "lib")
set(ARNOLD_PLUGIN_EXTENSION ".so")
set(ARNOLD_AI_LIB ai)
set(ARNOLD_KICK_NAME kick)
if(WIN32)
set(ARNOLD_PLUGIN_EXTENSION ".dll")
elseif(APPLE)
else()
set(ARNOLD_LIB_SUFFIX "bin")
endif()
if(DEFINED ENV{ARNOLD_LOCATION})
set(ARNOLD_LOCATION $ENV{ARNOLD_LOCATION})
endif()
if(DEFINED ENV{ARNOLD_ROOT})
set(ARNOLD_LOCATION $ENV{ARNOLD_ROOT})
endif()
string(REPLACE "\\" "/" ARNOLD_LOCATION ${ARNOLD_LOCATION})
set(ARNOLD_ROOT ${ARNOLD_LOCATION})
set(ARNOLD_INCLUDE_PATH ARNOLD_INCLUDE_PATH-NOTFOUND)
find_path(ARNOLD_INCLUDE_PATH ai.h
PATHS
${ARNOLD_ROOT}
PATH_SUFFIXES
"${ARNOLD_INC_SUFFIX}"
NO_DEFAULT_PATH
DOC "Arnold include path")
set(ARNOLD_AI_LIBRARY ARNOLD_AI_LIBRARY-NOTFOUND)
find_library(ARNOLD_AI_LIBRARY ai
PATHS
${ARNOLD_ROOT}
PATH_SUFFIXES
"${ARNOLD_LIB_SUFFIX}"
NO_DEFAULT_PATH
DOC "Arnold ai library")
set(ARNOLD_LIBRARY_PATH ARNOLD_LIBRARY_PATH-NOTFOUND)
if(ARNOLD_AI_LIBRARY)
set(ARNOLD_LIBRARY_PATH "${ARNOLD_ROOT}/${ARNOLD_LIB_SUFFIX}")
endif()
find_program(ARNOLD_KICK
${ARNOLD_KICK_NAME}
PATHS
"${ARNOLD_ROOT}/bin"
NO_DEFAULT_PATH
DOC "Arnold kick Path")
set(ARNOLD_VERSION ARNOLD_VERSION-NOTFOUND)
#if(EXISTS ${ARNOLD_KICK})
# execute_process(COMMAND "${ARNOLD_KICK}" "-av"
# WORKING_DIRECTORY "${ARNOLD_ROOT}/bin"
# RESULT_VARIABLE ARNOLD_KICK_RESULT
# OUTPUT_VARIABLE ARNOLD_VERSION)
# if(${ARNOLD_KICK_RESULT} GREATER 0)
# message(FATAL_ERROR "Fail to get arnold version : ${ARNOLD_KICK_RESULT}")
# endif()
#endif()
set(ARNOLD_VERSION_HEADER "${ARNOLD_INCLUDE_PATH}/ai_version.h")
if(EXISTS ${ARNOLD_VERSION_HEADER})
file(STRINGS ${ARNOLD_VERSION_HEADER} arnold_version_str REGEX "#define AI_VERSION_ARCH_NUM ")
string(REGEX REPLACE "#define AI_VERSION_ARCH_NUM" "" AI_VERSION_ARCH_NUM "${arnold_version_str}")
string(STRIP "${AI_VERSION_ARCH_NUM}" AI_VERSION_ARCH_NUM)
file(STRINGS ${ARNOLD_VERSION_HEADER} arnold_version_str REGEX "#define AI_VERSION_MAJOR_NUM ")
string(REGEX REPLACE "#define AI_VERSION_MAJOR_NUM" "" AI_VERSION_MAJOR_NUM "${arnold_version_str}")
string(STRIP "${AI_VERSION_MAJOR_NUM}" AI_VERSION_MAJOR_NUM)
file(STRINGS ${ARNOLD_VERSION_HEADER} arnold_version_str REGEX "#define AI_VERSION_MINOR_NUM ")
string(REGEX REPLACE "#define AI_VERSION_MINOR_NUM" "" AI_VERSION_MINOR_NUM "${arnold_version_str}")
string(STRIP "${AI_VERSION_MINOR_NUM}" AI_VERSION_MINOR_NUM)
file(STRINGS ${ARNOLD_VERSION_HEADER} arnold_version_str REGEX "#define AI_VERSION_FIX ")
string(REGEX REPLACE "#define AI_VERSION_FIX" "" AI_VERSION_FIX "${arnold_version_str}")
string(STRIP "${AI_VERSION_FIX}" AI_VERSION_FIX)
string(REGEX REPLACE "\"" "" AI_VERSION_FIX "${AI_VERSION_FIX}")
unset(arnold_version_str)
set(ARNOLD_VERSION "${AI_VERSION_ARCH_NUM}.${AI_VERSION_MAJOR_NUM}.${AI_VERSION_MINOR_NUM}.${AI_VERSION_FIX}")
endif()
message(STATUS "ARNOLD_ROOT : ${ARNOLD_ROOT}")
message(STATUS "ARNOLD_INCLUDE_PATH : ${ARNOLD_INCLUDE_PATH}")
message(STATUS "ARNOLD_LIBRARY_PATH : ${ARNOLD_LIBRARY_PATH}")
message(STATUS "ARNOLD_AI_LIBRARY : ${ARNOLD_AI_LIBRARY}")
message(STATUS "ARNOLD_VERSION : ${ARNOLD_VERSION}")
find_package_handle_standard_args(Arnold
REQUIRED_VARS
ARNOLD_ROOT
ARNOLD_INCLUDE_PATH
ARNOLD_LIBRARY_PATH
ARNOLD_AI_LIBRARY
VERSION_VAR
ARNOLD_VERSION
)

View File

@ -0,0 +1,210 @@
include(FindPackageHandleStandardArgs)
if(NOT DEFINED MAYA_VERSION)
set(MAYA_VERSION 2018)
endif()
if(DEFINED ENV{MAYA_VERSION})
set(MAYA_VERSION $ENV{MAYA_VERSION})
endif()
set(MAYA_BIN_SUFFIX "bin")
set(MAYA_INC_SUFFIX "include")
set(MAYA_LIB_SUFFIX "lib")
if(WIN32)
set(MAYA_LOCATION "$ENV{ProgramFiles}/Autodesk/Maya${MAYA_VERSION}")
set(MAYA_PLUGIN_EXT ".mll")
set(MAYA_COMPILE_FLAGS "/MD /D \"NT_PLUGIN\" /D \"REQUIRE_IOSTREAM\" /D \"_BOOL\"" )
set(MAYA_LINK_FLAGS " /export:initializePlugin /export:uninitializePlugin " )
elseif(APPLE)
set(MAYA_LOCATION "/Applications/Autodesk/maya${MAYA_VERSION}")
set(MAYA_PLUGIN_EXT ".bundle")
set(MAYA_COMPILE_FLAGS "-DAW_NEW_IOSTREAMS -DCC_GNU_ -DOSMac_ -DOSMacOSX_ -DOSMac_MachO_ -DREQUIRE_IOSTREAM -fno-gnu-keywords -D_LANGUAGE_C_PLUS_PLUS")
set(MAYA_LINK_FLAGS "-fno-gnu-keywords -framework System -framework SystemConfiguration -framework CoreServices -framework Carbon -framework Cocoa -framework ApplicationServices -framework Quicktime -framework IOKit -bundle -fPIC -L${ALEMBIC_MAYA_LIB_ROOT} -Wl,-executable_path,${ALEMBIC_MAYA_LIB_ROOT}")
else()
set(MAYA_LOCATION "/usr/autodesk/maya${MAYA_VERSION}")
set(MAYA_PLUGIN_EXT ".so")
set(MAYA_COMPILE_FLAGS "-m64 -g -pthread -pipe -D_BOOL -DLINUX -DLINUX_64 -DREQUIRE_IOSTREAM -fPIC -Wno-deprecated -fno-gnu-keywords")
set(MAYA_LINK_FLAGS "-shared -m64 -g -pthread -pipe -D_BOOL -DLINUX -DLINUX_64 -DREQUIRE_IOSTREAM -fPIC -Wno-deprecated -fno-gnu-keywords -Wl,-Bsymbolic")
endif()
set(MAYA_ROOT ${MAYA_LOCATION})
string(REPLACE "\\" "/" MAYA_ROOT ${MAYA_ROOT})
if(DEFINED ENV{MAYA_LOCATION})
set(MAYA_ROOT $ENV{MAYA_LOCATION})
endif()
set(MAYA_EXE MAYA_EXE-NOTFOUND)
find_program(MAYA_EXE maya
PATHS
${MAYA_ROOT}
PATH_SUFFIXES
"${MAYA_BIN_SUFFIX}"
NO_DEFAULT_PATH
DOC "Maya Executable Path")
set(MAYA_PY_EXE MAYA_PY_EXE-NOTFOUND)
find_program(MAYA_PY_EXE mayapy
PATHS
${MAYA_ROOT}
PATH_SUFFIXES
"${MAYA_BIN_SUFFIX}"
NO_DEFAULT_PATH
DOC "Maya Python Executable Path")
set(MAYA_INCLUDE_PATH MAYA_INCLUDE_PATH-NOTFOUND)
find_path(MAYA_INCLUDE_PATH "maya/MFn.h"
PATHS
${MAYA_ROOT}
PATH_SUFFIXES
"${MAYA_INC_SUFFIX}"
NO_DEFAULT_PATH
DOC "Maya Include Dir")
set(MAYA_OPENMAYA_LIBRARY MAYA_OPENMAYA_LIBRARY-NOTFOUND)
find_library(MAYA_OPENMAYA_LIBRARY OpenMaya
PATHS
"${MAYA_ROOT}/lib"
DOC "OpenMaya Libray Path")
if(MAYA_OPENMAYA_LIBRARY)
set(MAYA_LIBRARY_PATH "${MAYA_ROOT}/lib")
endif()
set(MAYA_OPENMAYAFX_LIBRARY MAYA_OPENMAYAFX_LIBRARY-NOTFOUND)
find_library(MAYA_OPENMAYAFX_LIBRARY OpenMayaFX
PATHS
"${MAYA_ROOT}/lib"
DOC "OpenMayaFX Libray Path")
set(MAYA_OPENMAYAANIM_LIBRARY MAYA_OPENMAYAANIM_LIBRARY-NOTFOUND)
find_library(MAYA_OPENMAYAANIM_LIBRARY OpenMayaAnim
PATHS
"${MAYA_ROOT}/lib"
DOC "OpenMayaAnim Libray Path")
set(MAYA_OPENMAYAUI_LIBRARY MAYA_OPENMAYAUI_LIBRARY-NOTFOUND)
find_library(MAYA_OPENMAYAUI_LIBRARY OpenMayaUI
PATHS
"${MAYA_ROOT}/lib"
DOC "OpenMayaUI Libray Path")
set(MAYA_OPENMAYARENDER_LIBRARY MAYA_OPENMAYARENDER_LIBRARY-NOTFOUND)
find_library(MAYA_OPENMAYARENDER_LIBRARY OpenMayaRender
PATHS
"${MAYA_ROOT}/lib"
DOC "OpenMayaRender Libray Path")
set(MAYA_FOUNDATION_LIBRARY MAYA_FOUNDATION_LIBRARY-NOTFOUND)
find_library(MAYA_FOUNDATION_LIBRARY Foundation
PATHS
"${MAYA_ROOT}/lib"
DOC "Foundation Libray Path")
set(XGEN_PLUGIN "plug-ins/xgen")
set(MAYA_XGEN_ROOT MAYA_XGEN_ROOT-NOTFOUND)
if(EXISTS "${MAYA_ROOT}/plug-ins/xgen")
set(MAYA_XGEN_ROOT "${MAYA_ROOT}/plug-ins/xgen")
endif()
set(MAYA_XGEN_INCLUDE_PATH MAYA_XGEN_INCLUDE_PATH-NOTFOUND)
find_path(MAYA_XGEN_INCLUDE_PATH "XGen/XgWinExport.h"
PATHS
${MAYA_ROOT}
PATH_SUFFIXES
"${XGEN_PLUGIN}/${MAYA_INC_SUFFIX}"
NO_DEFAULT_PATH
DOC "Maya XGen Include Dir")
if(MAYA_VERSION GREATER_EQUAL 2020)
find_path(MAYA_XGEN_INCLUDE_PATH "xgen/src/xgcore/XgConfig.h"
PATHS
${MAYA_ROOT}
PATH_SUFFIXES
"${XGEN_PLUGIN}/${MAYA_INC_SUFFIX}"
NO_DEFAULT_PATH
DOC "Maya XGen Include Dir")
endif()
set(MAYA_ADSKXGEN_LIBRARY MAYA_ADSKXGEN_LIBRARY-NOTFOUND)
find_library(MAYA_ADSKXGEN_LIBRARY
AdskXGen
libAdskXGen
PATHS
"${MAYA_ROOT}/plug-ins/xgen/lib"
DOC "libAdskXGen Libray Path")
set(MAYA_XGEN_LIBRARY_PATH MAYA_XGEN_LIBRARY_PATH-NOTFOUND)
if(MAYA_ADSKXGEN_LIBRARY)
set(MAYA_XGEN_LIBRARY_PATH "${MAYA_ROOT}/plug-ins/xgen/lib")
endif()
set(MAYA_ADSKXPD_LIBRARY MAYA_ADSKXPD_LIBRARY-NOTFOUND)
find_library(MAYA_ADSKXPD_LIBRARY
AdskXpd
libAdskXpd
PATHS
"${MAYA_ROOT}/plug-ins/xgen/lib"
DOC "libAdskXpd Libray Path")
set(MAYA_ADSKSEEXPR_LIBRARY MAYA_ADSKSEEXPR_LIBRARY-NOTFOUND)
find_library(MAYA_ADSKSEEXPR_LIBRARY
AdskSeExpr
libAdskSeExpr
PATHS
"${MAYA_ROOT}/plug-ins/xgen/lib"
DOC "libAdskSeExpr Libray Path")
set(MAYA_LIBRARIES
${MAYA_FOUNDATION_LIBRARY}
${MAYA_OPENMAYA_LIBRARY}
${MAYA_OPENMAYAANIM_LIBRARY}
${MAYA_OPENMAYAFX_LIBRARY}
${MAYA_OPENMAYARENDER_LIBRARY}
${MAYA_OPENMAYAUI_LIBRARY})
set(MAYA_XGEN_LIBRARIES
${MAYA_ADSKXGEN_LIBRARY}
${MAYA_ADSKXPD_LIBRARY}
${MAYA_ADSKSEEXPR_LIBRARY})
message(STATUS "MAYA_ROOT : ${MAYA_ROOT}")
message(STATUS "MAYA_EXE : ${MAYA_EXE}")
message(STATUS "MAYA_PY_EXE : ${MAYA_PY_EXE}")
message(STATUS "MAYA_INCLUDE_PATH : ${MAYA_INCLUDE_PATH}")
message(STATUS "MAYA_LIBRARY_PATH : ${MAYA_LIBRARY_PATH}")
message(STATUS "MAYA_FOUNDATION_LIBRARY : ${MAYA_FOUNDATION_LIBRARY}")
message(STATUS "MAYA_OPENMAYA_LIBRARY : ${MAYA_OPENMAYA_LIBRARY}")
message(STATUS "MAYA_OPENMAYAANIM_LIBRARY : ${MAYA_OPENMAYAANIM_LIBRARY}")
message(STATUS "MAYA_OPENMAYAFX_LIBRARY : ${MAYA_OPENMAYAFX_LIBRARY}")
message(STATUS "MAYA_OPENMAYARENDER_LIBRARY : ${MAYA_OPENMAYARENDER_LIBRARY}")
message(STATUS "MAYA_OPENMAYAUI_LIBRARY : ${MAYA_OPENMAYAUI_LIBRARY}")
message(STATUS "----------------------------------------------")
message(STATUS "Maya XGen SDK")
message(STATUS "----------------------------------------------")
message(STATUS "MAYA_XGEN_ROOT : ${MAYA_XGEN_ROOT}")
message(STATUS "MAYA_XGEN_INCLUDE_PATH : ${MAYA_XGEN_INCLUDE_PATH}")
message(STATUS "MAYA_XGEN_LIBRARY_PATH : ${MAYA_XGEN_LIBRARY_PATH}")
message(STATUS "MAYA_ADSKXGEN_LIBRARY : ${MAYA_ADSKXGEN_LIBRARY}")
message(STATUS "MAYA_ADSKXPD_LIBRARY : ${MAYA_ADSKXPD_LIBRARY}")
message(STATUS "MAYA_ADSKSEEXPR_LIBRARY : ${MAYA_ADSKSEEXPR_LIBRARY}")
find_package_handle_standard_args(Maya
REQUIRED_VARS
MAYA_ROOT
MAYA_INCLUDE_PATH
MAYA_LIBRARY_PATH
MAYA_FOUNDATION_LIBRARY
MAYA_OPENMAYA_LIBRARY
MAYA_OPENMAYAANIM_LIBRARY
MAYA_OPENMAYAFX_LIBRARY
MAYA_OPENMAYARENDER_LIBRARY
MAYA_OPENMAYAUI_LIBRARY
VERSION_VAR
MAYA_VERSION
)

View File

@ -0,0 +1,143 @@
include(FindPackageHandleStandardArgs)
if(NOT DEFINED MTOA_MAYA_VERSION)
set(MTOA_MAYA_VERSION 2018)
if(DEFINED MAYA_VERSION)
set(MTOA_MAYA_VERSION ${MAYA_VERSION})
endif()
if(DEFINED ENV{MAYA_VERSION})
set(MTOA_MAYA_VERSION $ENV{MAYA_VERSION})
endif()
endif()
set(MTOA_INC_SUFFIX "include")
set(MTOA_LIB_SUFFIX "lib")
set(MTOA_PLUGIN_EXTENSION ".so")
set(MTOA_API_NAME mtoa_api)
set(MTOA_KICK_NAME kick)
if(WIN32)
set(MTOA_LOCATION "C:/solidangle/mtoadeploy/${MTOA_MAYA_VERSION}")
if(${MTOA_MAYA_VERSION} GREATER 2019)
set(MTOA_LOCATION "C:/Program Files/Autodesk/Arnold/maya${MTOA_MAYA_VERSION}")
endif()
set(MTOA_KICK_NAME "kick.exe")
set(MTOA_PLUGIN_EXTENSION ".dll")
elseif(APPLE)
if(${MTOA_MAYA_VERSION} GREATER 2019)
set(MTOA_LOCATION "/Applications/Autodesk/Arnold/maya${MTOA_MAYA_VERSION}")
endif()
else()
set(MTOA_LOCATION "/opt/solidangle/mtoa/${MTOA_MAYA_VERSION}")
if(${MTOA_MAYA_VERSION} GREATER 2019)
set(MTOA_LOCATION "/usr/autodesk/arnold/maya${MTOA_MAYA_VERSION}")
endif()
set(MTOA_LIB_SUFFIX "bin")
endif()
if(DEFINED ENV{MTOA_LOCATION})
set(MTOA_LOCATION $ENV{MTOA_LOCATION})
endif()
message(STATUS "MAYA_VERSION : $ENV{MAYA_VERSION}")
message(STATUS "MTOA_MAYA_VERSION : ${MTOA_MAYA_VERSION}")
message(STATUS "MTOA_LOCATION : ${MTOA_LOCATION}")
set(MTOA_ROOT ${MTOA_LOCATION})
if(DEFINED ENV{MTOA_LOCATION})
set(MTOA_ROOT $ENV{MTOA_LOCATION})
endif()
set(MTOA_INCLUDE_PATH MTOA_INCLUDE_PATH-NOTFOUND)
find_path(MTOA_INCLUDE_PATH extension/Extension.h
PATHS
${MTOA_LOCATION}
PATH_SUFFIXES
"${MTOA_INC_SUFFIX}/mtoa"
NO_DEFAULT_PATH
DOC "Mtoa Include Dir")
set(MTOA_VERSION_HEADER "${MTOA_INCLUDE_PATH}/utils/Version.h")
if(EXISTS ${MTOA_VERSION_HEADER})
file(STRINGS ${MTOA_VERSION_HEADER} SRC_CONTENT)
foreach(SRC_LINE ${SRC_CONTENT})
if(${SRC_LINE} MATCHES "^#define MTOA_ARCH_VERSION_NUM")
set(MTOA_VERSION_TYPE MTOA_ARCH_VERSION)
elseif(${SRC_LINE} MATCHES "^#define MTOA_MAJOR_VERSION_NUM")
set(MTOA_VERSION_TYPE MTOA_MAJOR_VERSION_NUM)
elseif(${SRC_LINE} MATCHES "^#define MTOA_MINOR_VERSION_NUM")
set(MTOA_VERSION_TYPE MTOA_MINOR_VERSION_NUM)
elseif(${SRC_LINE} MATCHES "^#define MTOA_FIX_VERSION")
set(MTOA_VERSION_TYPE MTOA_FIX_VERSION)
else()
endif()
# message(${SRC_LINE})
string(STRIP "${SRC_LINE}" LINE_BUFFER)
string(REPLACE " " ";" LINE_BUFFER_LIST ${LINE_BUFFER})
list(LENGTH LINE_BUFFER_LIST _LINE_LENGTH)
list(GET LINE_BUFFER_LIST -1 "${MTOA_VERSION_TYPE}")
# message("## ${LINE_BUFFER_LIST} - ${MTOA_VERSION_TYPE} : ${_LINE_LENGTH}")
endforeach()
if(DEFINED MTOA_FIX_VERSION)
string(SUBSTRING "${MTOA_FIX_VERSION}" 1 1 MTOA_FIX_VERSION)
set(MTOA_VERSION "${MTOA_ARCH_VERSION}.${MTOA_MAJOR_VERSION_NUM}.${MTOA_MINOR_VERSION_NUM}.${MTOA_FIX_VERSION}")
else()
set(MTOA_VERSION "${MTOA_ARCH_VERSION}.${MTOA_MAJOR_VERSION_NUM}.${MTOA_MINOR_VERSION_NUM}")
endif()
else()
message(FATAL_ERROR "Could not find version header : ${MTOA_VERSION_HEADER}")
endif()
if(NOT DEFINED MTOA_VERSION)
message(FATAL_ERROR "Could not find MTOA_VERSION")
endif()
set(MTOA_API_LIBRARY MTOA_API_LIBRARY-NOTFOUND)
find_library(MTOA_API_LIBRARY ${MTOA_API_NAME}
PATHS
"${MTOA_LOCATION}/${MTOA_LIB_SUFFIX}"
DOC "mtoa_api Libray Path")
if(MTOA_API_LIBRARY)
set(MTOA_LIBRARY_PATH "${MTOA_LOCATION}/${MTOA_LIB_SUFFIX}")
endif()
find_program(MTOA_KICK
${MTOA_KICK_NAME}
PATHS
"${MTOA_LOCATION}/bin"
NO_DEFAULT_PATH
DOC "mtoa kick Path")
if(EXISTS ${MTOA_KICK})
execute_process(COMMAND "${MTOA_KICK}" "-av"
WORKING_DIRECTORY "${MTOA_LOCATION}/bin"
RESULT_VARIABLE MTOA_KICK_RESULT
OUTPUT_VARIABLE MTOA_ARNOLD_VERSION)
if(${MTOA_KICK_RESULT} GREATER 0)
message(FATAL_ERROR "Fail to get arnold version : ${MTOA_KICK_RESULT}")
endif()
endif()
message(STATUS "MTOA_ROOT : ${MTOA_ROOT}")
message(STATUS "MTOA_VERSION : ${MTOA_VERSION}")
message(STATUS "MTOA_ARNOLD_VERSION : ${MTOA_ARNOLD_VERSION}")
message(STATUS "MTOA_INCLUDE_PATH : ${MTOA_INCLUDE_PATH}")
message(STATUS "MTOA_LIBRARY_PATH : ${MTOA_LIBRARY_PATH}")
message(STATUS "MTOA_API : ${MTOA_API_LIBRARY}")
message(STATUS "MTOA_KICK : ${MTOA_KICK}")
find_package_handle_standard_args(Mtoa
REQUIRED_VARS
MTOA_INCLUDE_PATH
MTOA_LIBRARY_PATH
MTOA_API_LIBRARY
VERSION_VAR
MTOA_VERSION
)

View File

@ -0,0 +1,135 @@
include(FindPackageHandleStandardArgs)
if(DEFINED ENV{PHX_LOCATION})
set(PHX_LOCATION $ENV{PHX_LOCATION})
endif()
set(PHX_INC_SUFFIX "include")
set(PHX_LIB_SUFFIX "lib")
find_path(PHX_INCLUDE_PATH phoenix_ver.h
PATHS
${PHX_LOCATION}
PATH_SUFFIXES
"${PHX_INC_SUFFIX}"
NO_DEFAULT_PATH
DOC "PhoenixFD Include Dir")
set(PHX_VERSION_HEADER "${MTOA_INCLUDE_PATH}/phoenix_ver.h")
if(EXISTS ${PHX_VERSION_HEADER})
file(STRINGS ${PHX_VERSION_HEADER} SRC_CONTENT)
foreach(SRC_LINE ${SRC_CONTENT})
if(${SRC_LINE} MATCHES "^#define PHOENIX_VERSION")
set(PHX_VERSION_TYPE PHOENIX_VERSION)
elseif(${SRC_LINE} MATCHES "^#define PHOENIX_VERSION_SHORT")
set(PHX_VERSION_TYPE PHOENIX_VERSION_SHORT)
elseif(${SRC_LINE} MATCHES "^#define PHOENIX_VERSION_NUMERIC")
set(PHX_VERSION_TYPE PHOENIX_VERSION_NUMERIC)
else()
continue()
endif()
string(STRIP "${SRC_LINE}" LINE_BUFFER)
string(REPLACE " " ";" LINE_BUFFER_LIST ${LINE_BUFFER})
list(LENGTH LINE_BUFFER_LIST _LINE_LENGTH)
list(GET LINE_BUFFER_LIST -1 "${PHX_VERSION_TYPE}")
endforeach()
if(DEFINED PHOENIX_VERSION)
set(PHX_VERSION ${PHOENIX_VERSION})
endif()
endif()
if(NOT DEFINED PHX_VERSION)
message(FATAL_ERROR "Could not find PHX_VERSION")
endif()
set(PHX_AURLOADER_LIBRARY PHX_AULOADER_LIBRARY_LIBRARY-NOTFOUND)
find_library(PHX_AURLOADER_LIBRARY aurloader_s
PATHS
"${PHX_LOCATION}/${PHX_LIB_SUFFIX}"
DOC "aurloader library"
)
if(PHX_AURLOADER_LIBRARY)
set(PHX_LIBRIRES PHX_AURLOADER_LIBRARY)
endif()
set(PHX_AURRAMP_LIBRARY PHX_AURRAMP_LIBRARY-NOTFOUND)
find_library(PHX_AURRAMP_LIBRARY aurramp_s
PATHS
"${PHX_LOCATION}/${PHX_LIB_SUFFIX}"
DOC "aurramp library"
)
if(PHX_AURRAMP_LIBRARY)
list(APPEND PHX_LIBRIRES PHX_AURRAMP_LIBRARY)
endif()
set(PHX_PHXUTILS_LIBRARY PHX_PHXUTILS_LIBRARY-NOTFOUND)
find_library(PHX_PHXUTILS_LIBRARY phxutils_s
PATHS
"${PHX_LOCATION}/${PHX_LIB_SUFFIX}"
DOC "phxutils library"
)
if(PHX_PHXUTILS_LIBRARY)
list(APPEND PHX_LIBRIRES PHX_PHXUTILS_LIBRARY)
endif()
set(PHX_VUTILS_LIBRARY PHX_VUTILS_LIBRARY-NOTFOUND)
find_library(PHX_PHXUTILS_LIBRARY vutils_s
PATHS
"${PHX_LOCATION}/${PHX_LIB_SUFFIX}"
DOC "vutils library"
)
if(PHX_VUTILS_LIBRARY)
list(APPEND PHX_LIBRIRES PHX_VUTILS_LIBRARY)
endif()
set(PHX_GUI_UTILS_QT_LIBRARY PHX_GUI_UTILS_QT_LIBRARY-NOTFOUND)
find_library(PHX_GUI_UTILS_QT_LIBRARY gui_utils_qt_s
PATHS
"${PHX_LOCATION}/${PHX_LIB_SUFFIX}"
DOC "gui_utils_qt library"
)
if(PHX_GUI_UTILS_QT_LIBRARY)
list(APPEND PHX_LIBRIRES PHX_GUI_UTILS_QT_LIBRARY)
endif()
set(PHX_LIBRARY_PATH PHX_LIBRARY_PATH-NOTFOUND)
if(PHX_PHXUTILS_LIBRARY)
set(PHX_LIBRARY_PATH "${PHX_LOCATION}/${PHX_LIB_SUFFIX}")
endif()
#set(PHX_LIBRIRES
# ${PHX_AURLOADER_LIBRARY}
# ${PHX_AURRAMP_LIBRARY}
# ${PHX_PHXUTILS_LIBRARY}
# ${PHX_VUTILS_LIBRARY}
# ${PHX_GUI_UTILS_QT_LIBRARY}
#)
message(STATUS "PHX_LOCATION : ${PHX_LOCATION}")
message(STATUS "PHX_VERSION : ${PHX_VERSION}")
message(STATUS "PHX_INCLUDE_PATH : ${PHX_INCLUDE_PATH}")
message(STATUS "PHX_LIBRARY_PATH : ${PHX_LIBRARY_PATH}")
message(STATUS "PHX_AURLOADER_LIBRARY : ${PHX_AURLOADER_LIBRARY}")
message(STATUS "PHX_AURRAMP_LIBRARY : ${PHX_AURRAMP_LIBRARY}")
message(STATUS "PHX_PHXUTILS_LIBRARY : ${PHX_PHXUTILS_LIBRARY}")
message(STATUS "PHX_VUTILS_LIBRARY : ${PHX_VUTILS_LIBRARY}")
message(STATUS "PHX_GUI_UTILS_QT_LIBRARY : ${PHX_GUI_UTILS_QT_LIBRARY}")
find_package_handle_standard_args(PHX
REQUIRED_VARS
PHX_INCLUDE_PATH
PHX_LIBRARY_PATH
PHX_LIBRIRES
VERSION_VAR
PHX_VERSION
)

View File

@ -0,0 +1,72 @@
@echo off
setlocal enabledelayedexpansion
set SOLUTION_NAME=%1
set PROJECT_NAME=%2
set TARGET_PATH=%3
set DEST=%~f4
set CURRENT_DIR=%~dp0
set PROJECT_SRC_DIR=%CURRENT_DIR:~0,-1%\..\src\%PROJECT_NAME%
for %%f in ("%PROJECT_SRC_DIR%") do ( set PROJECT_SRC_DIR=%%~ff )
echo %PROJECT_SRC_DIR%
echo %TARGET_PATH%
:: Deploy dll
::------------------------------------
echo ## Deploy dll
set DEST_DIR=%DEST%\extensions
if not exist "!DEST_DIR!" (
mkdir !DEST_DIR!
)
for %%f in ("%TARGET_PATH%") do (
set FILENAME=%%~ff
)
copy !FILENAME! !DEST_DIR! /Y/B > nul
echo ## Deploy !FILENAME! to !DEST_DIR!
:: Deploy mtd
::------------------------------------
echo ## Deploy mtd
for /R %PROJECT_SRC_DIR% %%a in (*.mtd) do (
set DEST_DIR=%DEST%\extensions
if not exist "!DEST_DIR!" (
mkdir !DEST_DIR!
)
copy %%a !DEST_DIR! /Y/B > nul
for %%f in ("%%a") do (
set FILENAME=%%~ff
)
echo ## Deploy !FILENAME! to !DEST_DIR!
)
:: Deploy templete
::------------------------------------
echo ## Deploy template
for /R %PROJECT_SRC_DIR% %%a in (*.py) do (
set DEST_DIR=%DEST%\templates
if not exist "!DEST_DIR!" (
mkdir !DEST_DIR!
)
copy %%a !DEST_DIR! /Y/B > nul
for %%f in ("%%a") do (
set FILENAME=%%~ff
)
echo ## Deploy !FILENAME! to !DEST_DIR!
)
echo ## Deploy Finish
endlocal

72
cmd/post_build_shader.bat Normal file
View File

@ -0,0 +1,72 @@
@echo off
setlocal enabledelayedexpansion
set SOLUTION_NAME=%1
set PROJECT_NAME=%2
set TARGET_PATH=%3
set DEST=%~f4
set CURRENT_DIR=%~dp0
set PROJECT_SRC_DIR=%CURRENT_DIR:~0,-1%\..\src\%PROJECT_NAME%
for %%f in ("%PROJECT_SRC_DIR%") do ( set PROJECT_SRC_DIR=%%~ff )
echo %PROJECT_SRC_DIR%
echo %TARGET_PATH%
:: Deploy dll
::------------------------------------
echo ## Deploy dll
set DEST_DIR=%DEST%\shaders
if not exist "!DEST_DIR!" (
mkdir !DEST_DIR!
)
for %%f in ("%TARGET_PATH%") do (
set FILENAME=%%~ff
)
copy !FILENAME! !DEST_DIR! /Y/B > nul
echo ## Deploy !FILENAME! to !DEST_DIR!
:: Deploy mtd
::------------------------------------
echo ## Deploy mtd
for /R %PROJECT_SRC_DIR% %%a in (*.mtd) do (
set DEST_DIR=%DEST%\shaders
if not exist "!DEST_DIR!" (
mkdir !DEST_DIR!
)
copy %%a !DEST_DIR! /Y/B > nul
for %%f in ("%%a") do (
set FILENAME=%%~ff
)
echo ## Deploy !FILENAME! to !DEST_DIR!
)
:: Deploy templete
::------------------------------------
echo ## Deploy template
for /R %PROJECT_SRC_DIR% %%a in (*.py) do (
set DEST_DIR=%DEST%\templates
if not exist "!DEST_DIR!" (
mkdir !DEST_DIR!
)
copy %%a !DEST_DIR! /Y/B > nul
for %%f in ("%%a") do (
set FILENAME=%%~ff
)
echo ## Deploy !FILENAME! to !DEST_DIR!
)
echo ## Deploy Finish
endlocal

28
msvc/Maya.props Normal file
View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<MAYA_VER>2018</MAYA_VER>
<MAYA_LOCATION>C:\Program Files\Autodesk\Maya$(MAYA_VER)</MAYA_LOCATION>
</PropertyGroup>
<PropertyGroup>
<TargetExt>.dll</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup>
<Link>
<AdditionalLibraryDirectories>$(MAYA_LOCATION)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>Foundation.lib;OpenMaya.lib;OpenMayaAnim.lib;OpenMayaFX.lib;OpenMayaRender.lib;OpenMayaUI.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<ClCompile>
<AdditionalIncludeDirectories>$(MAYA_LOCATION)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="MAYA_VER">
<Value>$(MAYA_VER)</Value>
</BuildMacro>
<BuildMacro Include="MAYA_LOCATION">
<Value>$(MAYA_LOCATION)</Value>
</BuildMacro>
</ItemGroup>
</Project>

31
msvc/Mtoa.props Normal file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<MTOA_ROOT>C:\solidangle\mtoadeploy</MTOA_ROOT>
<MTOA_LOCATION>$(MTOA_ROOT)\$(MAYA_VER)</MTOA_LOCATION>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(MTOA_LOCATION)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(MTOA_LOCATION)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>mtoa_api.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy $(TargetPath) $(solutionDir)..\build\$(solutionName)\extensions /Y/B
$(SolutionDir)..\cmd\post_build_extension.bat $(SolutionName) $(ProjectName) $(TargetPath) $(solutionDir)..\build\$(solutionName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="MTOA_ROOT">
<Value>$(MTOA_ROOT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="MTOA_LOCATION">
<Value>$(MTOA_LOCATION)</Value>
</BuildMacro>
</ItemGroup>
</Project>

View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}</ProjectGuid>
<RootNamespace>apBoolean</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apBoolean\apBoolean.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apBoolean\apBoolean.mtd" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apBoolean\apBoolean.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apBoolean\apBoolean.mtd">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,125 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{F5008C52-3846-4E97-A2E2-469151020F32}</ProjectGuid>
<RootNamespace>apChaosMosaic</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apChaosMosaic\apChaosMosaic.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apChaosMosaic\apChaosMosaic.mtd" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apChaosMosaic\apChaosMosaic.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apChaosMosaic\apChaosMosaic.mtd">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}</ProjectGuid>
<RootNamespace>apClosure</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="..\..\src\apClosure\apClosure.mtd" />
<None Include="..\..\src\apClosure\apClosureTemplate.py" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apClosure\apClosure.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apClosure\apClosure.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apClosure\apClosureTemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apClosure\apClosure.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,40 @@
#include "CurveStandIn.h"
#include <maya/MTypeId.h>
#include <maya/MFnNumericAttribute.h>
#include <maya/MFnTypedAttribute.h>
MTypeId CurveStandIn::id(0x88015);
MObject CurveStandIn::aFileName;
MObject CurveStandIn::aOutputCurve;
CurveStandIn::CurveStandIn()
{
}
CurveStandIn::~CurveStandIn()
{
}
MStatus CurveStandIn::compute(const MPlug& plug, MDataBlock& dataBlock)
{
return MS::kSuccess;
}
void* CurveStandIn::creator()
{
return new CurveStandIn();
}
MStatus CurveStandIn::initialize()
{
MStatus status;
MFnTypedAttribute tAttr;
aFileName = tAttr.create("fileName", "fn", MFnData::kString, &status);
tAttr.setUsedAsFilename(true);
addAttribute(aFileName);
aOutputCurve = tAttr.create("outputCurve", "oc", MFnData::kNurbsCurve, &status);
addAttribute(aOutputCurve);
return status;
}

View File

@ -0,0 +1,17 @@
#include <maya/MPxSurfaceShape.h>
class CurveStandIn : public MPxSurfaceShape
{
public:
CurveStandIn();
virtual ~CurveStandIn();
virtual MStatus compute(const MPlug& plug, MDataBlock& dataBlock);
static void* creator();
static MStatus initialize();
public:
static MTypeId id;
static MObject aFileName;
static MObject aOutputCurve;
};

View File

@ -0,0 +1 @@
#pragma once

View File

@ -0,0 +1,27 @@
#include "CurveStandInUI.h"
CurveStandInUI::CurveStandInUI()
{
}
CurveStandInUI::~CurveStandInUI()
{
}
void CurveStandInUI::getDrawRequests(const MDrawInfo& info, bool objectAndActiveOnly, MDrawRequestQueue& requests)
{
}
void CurveStandInUI::draw(const MDrawRequest& requests, M3dView& view) const
{
}
bool CurveStandInUI::select(MSelectInfo& selectInfo, MSelectionList& selectionList, MPointArray& worldSpaceSelectPts) const
{
return false;
}
void* CurveStandInUI::creator()
{
return new CurveStandInUI();
}

View File

@ -0,0 +1,23 @@
#pragma once
#include <maya/MPxSurfaceShapeUI.h>
class CurveStandInUI : public MPxSurfaceShapeUI
{
public:
CurveStandInUI();
~CurveStandInUI() override;
void getDrawRequests(const MDrawInfo& info,
bool objectAndActiveOnly,
MDrawRequestQueue& requests) override;
void draw( const MDrawRequest& requests,
M3dView& view) const override;
// Main selection routine
//
bool select( MSelectInfo& selectInfo,
MSelectionList& selectionList,
MPointArray& worldSpaceSelectPts ) const override;
static void* creator();
};

View File

@ -0,0 +1,22 @@
#include "CurveStandIn.h"
#include <extension/Extension.h>
extern "C"
{
DLLEXPORT void initializeExtension(CExtension& plugin)
{
plugin.Requires("AbcImport");
plugin.RegisterNode("CurveStandIn",
CurveStandIn::id,
CurveStandIn::creator,
CurveStandIn::initialize,
MPxNode::kSurfaceShape);
//extension.RegisterTranslator("CurveStandIn", "CurveStandInTranslator");
}
DLLEXPORT void deinitializeExtension(CExtension &plugin)
{
}
}

View File

@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="CurveStandIn.cpp" />
<ClCompile Include="CurveStandInTranslator.cpp" />
<ClCompile Include="CurveStandInUI.cpp" />
<ClCompile Include="Plugin.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="CurveStandIn.h" />
<ClInclude Include="CurveStandInTranslator.h" />
<ClInclude Include="CurveStandInUI.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{c0a60136-a1c2-456a-9d52-1ac63ae70566}</ProjectGuid>
<RootNamespace>apCurveStandIn</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
<Import Project="..\Mtoa.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;APCURVESTANDIN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;APCURVESTANDIN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;APCURVESTANDIN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;APCURVESTANDIN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Plugin.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="CurveStandIn.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="CurveStandInTranslator.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="CurveStandIn.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="CurveStandInTranslator.h">
<Filter>Source Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>false</ShowAllFiles>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,125 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}</ProjectGuid>
<RootNamespace>apEntrySwitch</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apEntrySwitch\apEntrySwitch.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apEntrySwitch\apEntrySwitch.mtd" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apEntrySwitch\apEntrySwitch.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apEntrySwitch\apEntrySwitch.mtd">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>false</ShowAllFiles>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{A750850B-D551-4A7A-BD85-A43EAC09B457}</ProjectGuid>
<RootNamespace>apGrayBall</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apGrayBall\apGrayBall.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apGrayBall\apGrayBall.mtd" />
<None Include="..\..\src\apGrayBall\apGrayBallTemplate.py" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\apGrayBall\apGrayBall.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apGrayBall\apGrayBall.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apGrayBall\apGrayBall.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apGrayBall\apGrayBallTemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\apGrayBall\apGrayBall.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}</ProjectGuid>
<RootNamespace>apHairBSDF</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apHairBSDF\apHairBSDF.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apHairBSDF\apHairBSDF.mtd" />
<None Include="..\..\src\apHairBSDF\apHairBSDFTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apHairBSDF\apHairBSDF.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apHairBSDF\apHairBSDFTemplate.py">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apHairBSDF\apHairBSDF.mtd">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{AF82561F-B596-4032-9674-A3D22BFCE7F0}</ProjectGuid>
<RootNamespace>apInteriorMapping</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apInteriorMapping\apInteriorMapping.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apInteriorMapping\apInteriorMapping.mtd" />
<None Include="..\..\src\apInteriorMapping\apInteriorMappingTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apInteriorMapping\apInteriorMapping.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apInteriorMapping\apInteriorMapping.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apInteriorMapping\apInteriorMappingTemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>false</ShowAllFiles>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{F7878B46-CB83-44D9-B1B2-D90590B4A956}</ProjectGuid>
<RootNamespace>apIrradianceCache</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apIrradianceCache\apIrradianceCache.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}</ProjectGuid>
<RootNamespace>apMetalBSDF</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apMetalBSDF\apMetalBSDF.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apMetalBSDF\apMetalBSDF.mtd" />
<None Include="..\..\src\apMetalBSDF\apMetalBSDFTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apMetalBSDF\apMetalBSDF.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apMetalBSDF\apMetalBSDF.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apMetalBSDF\apMetalBSDFTemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D065D515-FA81-46F1-9BF5-2BD8830B379A}</ProjectGuid>
<RootNamespace>apMicrofacetBSDF</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apMicrofacetBSDF\apMicrofacetBSDF.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apMicrofacetBSDF\apMicrofacetBSDF.mtd" />
<None Include="..\..\src\apMicrofacetBSDF\apMicrofacetBSDFTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apMicrofacetBSDF\apMicrofacetBSDF.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apMicrofacetBSDF\apMicrofacetBSDF.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apMicrofacetBSDF\apMicrofacetBSDFTemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2BE54595-4B99-4E0C-B743-FBC00E7D8082}</ProjectGuid>
<RootNamespace>apMicrofacetRefractionBSDF</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apMicrofacetRefractionBSDF\apMicrofacetRefractionBSDF.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apMicrofacetRefractionBSDF\apMicrofacetRefractionBSDF.mtd" />
<None Include="..\..\src\apMicrofacetRefractionBSDF\apMicrofacetRefractionBSDFemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apMicrofacetRefractionBSDF\apMicrofacetRefractionBSDF.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apMicrofacetRefractionBSDF\apMicrofacetRefractionBSDF.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apMicrofacetRefractionBSDF\apMicrofacetRefractionBSDFemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}</ProjectGuid>
<RootNamespace>apMotionVector</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apMotionVector\apMotionVector.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apMotionVector\apMotionVector.mtd" />
<None Include="..\..\src\apMotionVector\apMotionVectorTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{A0279F67-6D8F-404F-9D13-76538301E683}</ProjectGuid>
<RootNamespace>apOrenNayerBSDF</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apOrenNayerBSDF\apOrenNayerBSDF.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apOrenNayerBSDF\apOrenNayerBSDF.mtd" />
<None Include="..\..\src\apOrenNayerBSDF\apOrenNayerBSDFTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apOrenNayerBSDF\apOrenNayerBSDF.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apOrenNayerBSDF\apOrenNayerBSDF.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apOrenNayerBSDF\apOrenNayerBSDFTemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{5A75B594-5757-46A0-A498-7988EFFD2FDD}</ProjectGuid>
<RootNamespace>apParallaxMap</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apParallaxMap\apParallaxMap.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apParallaxMap\apParallaxMap.mtd" />
<None Include="..\..\src\apParallaxMap\apParallaxMapTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apParallaxMap\apParallaxMap.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apParallaxMap\apParallaxMap.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apParallaxMap\apParallaxMapTemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

211
msvc/apShaders.sln Normal file
View File

@ -0,0 +1,211 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apBoolean", "apBoolean\apBoolean.vcxproj", "{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apEntrySwitch", "apEntrySwitch\apEntrySwitch.vcxproj", "{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apUvRange", "apUvRange\apUvRange.vcxproj", "{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apChaosMosaic", "apChaosMosaic\apChaosMosaic.vcxproj", "{F5008C52-3846-4E97-A2E2-469151020F32}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apGrayBall", "apGrayBall\apGrayBall.vcxproj", "{A750850B-D551-4A7A-BD85-A43EAC09B457}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apParallaxMap", "apParallaxMap\apParallaxMap.vcxproj", "{5A75B594-5757-46A0-A498-7988EFFD2FDD}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apClosure", "apClosure\apClosure.vcxproj", "{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apOrenNayerBSDF", "apOrenNayerBSDF\apOrenNayerBSDF.vcxproj", "{A0279F67-6D8F-404F-9D13-76538301E683}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apMicrofacetBSDF", "apMicrofacetBSDF\apMicrofacetBSDF.vcxproj", "{D065D515-FA81-46F1-9BF5-2BD8830B379A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apMicrofacetRefractionBSDF", "apMicrofacetRefractionBSDF\apMicrofacetRefractionBSDF.vcxproj", "{2BE54595-4B99-4E0C-B743-FBC00E7D8082}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apMetalBSDF", "apMetalBSDF\apMetalBSDF.vcxproj", "{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apHairBSDF", "apHairBSDF\apHairBSDF.vcxproj", "{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apZinkeBSDF", "apZinkeBSDF\apZinkeBSDF.vcxproj", "{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apInteriorMapping", "apInteriorMapping\apInteriorMapping.vcxproj", "{AF82561F-B596-4032-9674-A3D22BFCE7F0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apSurfaceSample", "apSurfaceSample\apSurfaceSample.vcxproj", "{65D4408B-2D18-48B4-8132-63A0420E86DD}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apMotionVector", "apMotionVector\apMotionVector.vcxproj", "{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apIrradianceCache", "apIrradianceCache\apIrradianceCache.vcxproj", "{F7878B46-CB83-44D9-B1B2-D90590B4A956}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apCurveStandIn", "apCurveStandIn\apCurveStandIn.vcxproj", "{C0A60136-A1C2-456A-9D52-1AC63AE70566}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "apVolume", "apVolume\apVolume.vcxproj", "{3AF88D29-3590-4579-9ED6-FFF8F2311456}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}.Debug|x64.ActiveCfg = Debug|x64
{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}.Debug|x64.Build.0 = Debug|x64
{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}.Debug|x86.ActiveCfg = Debug|Win32
{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}.Debug|x86.Build.0 = Debug|Win32
{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}.Release|x64.ActiveCfg = Release|x64
{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}.Release|x64.Build.0 = Release|x64
{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}.Release|x86.ActiveCfg = Release|Win32
{7CB4B958-2FA5-4B56-A435-FF15C61B7CD9}.Release|x86.Build.0 = Release|Win32
{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}.Debug|x64.ActiveCfg = Debug|x64
{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}.Debug|x64.Build.0 = Debug|x64
{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}.Debug|x86.ActiveCfg = Debug|Win32
{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}.Debug|x86.Build.0 = Debug|Win32
{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}.Release|x64.ActiveCfg = Release|x64
{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}.Release|x64.Build.0 = Release|x64
{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}.Release|x86.ActiveCfg = Release|Win32
{7884B635-79EE-4F4F-A2E6-351DC4FFE5D1}.Release|x86.Build.0 = Release|Win32
{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}.Debug|x64.ActiveCfg = Debug|x64
{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}.Debug|x64.Build.0 = Debug|x64
{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}.Debug|x86.ActiveCfg = Debug|Win32
{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}.Debug|x86.Build.0 = Debug|Win32
{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}.Release|x64.ActiveCfg = Release|x64
{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}.Release|x64.Build.0 = Release|x64
{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}.Release|x86.ActiveCfg = Release|Win32
{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}.Release|x86.Build.0 = Release|Win32
{F5008C52-3846-4E97-A2E2-469151020F32}.Debug|x64.ActiveCfg = Debug|x64
{F5008C52-3846-4E97-A2E2-469151020F32}.Debug|x64.Build.0 = Debug|x64
{F5008C52-3846-4E97-A2E2-469151020F32}.Debug|x86.ActiveCfg = Debug|Win32
{F5008C52-3846-4E97-A2E2-469151020F32}.Debug|x86.Build.0 = Debug|Win32
{F5008C52-3846-4E97-A2E2-469151020F32}.Release|x64.ActiveCfg = Release|x64
{F5008C52-3846-4E97-A2E2-469151020F32}.Release|x64.Build.0 = Release|x64
{F5008C52-3846-4E97-A2E2-469151020F32}.Release|x86.ActiveCfg = Release|Win32
{F5008C52-3846-4E97-A2E2-469151020F32}.Release|x86.Build.0 = Release|Win32
{A750850B-D551-4A7A-BD85-A43EAC09B457}.Debug|x64.ActiveCfg = Debug|x64
{A750850B-D551-4A7A-BD85-A43EAC09B457}.Debug|x64.Build.0 = Debug|x64
{A750850B-D551-4A7A-BD85-A43EAC09B457}.Debug|x86.ActiveCfg = Debug|Win32
{A750850B-D551-4A7A-BD85-A43EAC09B457}.Debug|x86.Build.0 = Debug|Win32
{A750850B-D551-4A7A-BD85-A43EAC09B457}.Release|x64.ActiveCfg = Release|x64
{A750850B-D551-4A7A-BD85-A43EAC09B457}.Release|x64.Build.0 = Release|x64
{A750850B-D551-4A7A-BD85-A43EAC09B457}.Release|x86.ActiveCfg = Release|Win32
{A750850B-D551-4A7A-BD85-A43EAC09B457}.Release|x86.Build.0 = Release|Win32
{5A75B594-5757-46A0-A498-7988EFFD2FDD}.Debug|x64.ActiveCfg = Debug|x64
{5A75B594-5757-46A0-A498-7988EFFD2FDD}.Debug|x64.Build.0 = Debug|x64
{5A75B594-5757-46A0-A498-7988EFFD2FDD}.Debug|x86.ActiveCfg = Debug|Win32
{5A75B594-5757-46A0-A498-7988EFFD2FDD}.Debug|x86.Build.0 = Debug|Win32
{5A75B594-5757-46A0-A498-7988EFFD2FDD}.Release|x64.ActiveCfg = Release|x64
{5A75B594-5757-46A0-A498-7988EFFD2FDD}.Release|x64.Build.0 = Release|x64
{5A75B594-5757-46A0-A498-7988EFFD2FDD}.Release|x86.ActiveCfg = Release|Win32
{5A75B594-5757-46A0-A498-7988EFFD2FDD}.Release|x86.Build.0 = Release|Win32
{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}.Debug|x64.ActiveCfg = Debug|x64
{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}.Debug|x64.Build.0 = Debug|x64
{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}.Debug|x86.ActiveCfg = Debug|Win32
{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}.Debug|x86.Build.0 = Debug|Win32
{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}.Release|x64.ActiveCfg = Release|x64
{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}.Release|x64.Build.0 = Release|x64
{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}.Release|x86.ActiveCfg = Release|Win32
{DB51624F-B4D2-454B-B82D-01C1A1DA44A8}.Release|x86.Build.0 = Release|Win32
{A0279F67-6D8F-404F-9D13-76538301E683}.Debug|x64.ActiveCfg = Debug|x64
{A0279F67-6D8F-404F-9D13-76538301E683}.Debug|x64.Build.0 = Debug|x64
{A0279F67-6D8F-404F-9D13-76538301E683}.Debug|x86.ActiveCfg = Debug|Win32
{A0279F67-6D8F-404F-9D13-76538301E683}.Debug|x86.Build.0 = Debug|Win32
{A0279F67-6D8F-404F-9D13-76538301E683}.Release|x64.ActiveCfg = Release|x64
{A0279F67-6D8F-404F-9D13-76538301E683}.Release|x64.Build.0 = Release|x64
{A0279F67-6D8F-404F-9D13-76538301E683}.Release|x86.ActiveCfg = Release|Win32
{A0279F67-6D8F-404F-9D13-76538301E683}.Release|x86.Build.0 = Release|Win32
{D065D515-FA81-46F1-9BF5-2BD8830B379A}.Debug|x64.ActiveCfg = Debug|x64
{D065D515-FA81-46F1-9BF5-2BD8830B379A}.Debug|x64.Build.0 = Debug|x64
{D065D515-FA81-46F1-9BF5-2BD8830B379A}.Debug|x86.ActiveCfg = Debug|Win32
{D065D515-FA81-46F1-9BF5-2BD8830B379A}.Debug|x86.Build.0 = Debug|Win32
{D065D515-FA81-46F1-9BF5-2BD8830B379A}.Release|x64.ActiveCfg = Release|x64
{D065D515-FA81-46F1-9BF5-2BD8830B379A}.Release|x64.Build.0 = Release|x64
{D065D515-FA81-46F1-9BF5-2BD8830B379A}.Release|x86.ActiveCfg = Release|Win32
{D065D515-FA81-46F1-9BF5-2BD8830B379A}.Release|x86.Build.0 = Release|Win32
{2BE54595-4B99-4E0C-B743-FBC00E7D8082}.Debug|x64.ActiveCfg = Debug|x64
{2BE54595-4B99-4E0C-B743-FBC00E7D8082}.Debug|x64.Build.0 = Debug|x64
{2BE54595-4B99-4E0C-B743-FBC00E7D8082}.Debug|x86.ActiveCfg = Debug|Win32
{2BE54595-4B99-4E0C-B743-FBC00E7D8082}.Debug|x86.Build.0 = Debug|Win32
{2BE54595-4B99-4E0C-B743-FBC00E7D8082}.Release|x64.ActiveCfg = Release|x64
{2BE54595-4B99-4E0C-B743-FBC00E7D8082}.Release|x64.Build.0 = Release|x64
{2BE54595-4B99-4E0C-B743-FBC00E7D8082}.Release|x86.ActiveCfg = Release|Win32
{2BE54595-4B99-4E0C-B743-FBC00E7D8082}.Release|x86.Build.0 = Release|Win32
{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}.Debug|x64.ActiveCfg = Debug|x64
{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}.Debug|x64.Build.0 = Debug|x64
{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}.Debug|x86.ActiveCfg = Debug|Win32
{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}.Debug|x86.Build.0 = Debug|Win32
{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}.Release|x64.ActiveCfg = Release|x64
{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}.Release|x64.Build.0 = Release|x64
{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}.Release|x86.ActiveCfg = Release|Win32
{2ACA60C6-E8F1-4B5D-9088-5A95F6813C0F}.Release|x86.Build.0 = Release|Win32
{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}.Debug|x64.ActiveCfg = Debug|x64
{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}.Debug|x64.Build.0 = Debug|x64
{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}.Debug|x86.ActiveCfg = Debug|Win32
{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}.Debug|x86.Build.0 = Debug|Win32
{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}.Release|x64.ActiveCfg = Release|x64
{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}.Release|x64.Build.0 = Release|x64
{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}.Release|x86.ActiveCfg = Release|Win32
{56B453EF-BD2A-4165-A834-17EB2C3FA0B1}.Release|x86.Build.0 = Release|Win32
{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}.Debug|x64.ActiveCfg = Debug|x64
{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}.Debug|x64.Build.0 = Debug|x64
{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}.Debug|x86.ActiveCfg = Debug|Win32
{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}.Debug|x86.Build.0 = Debug|Win32
{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}.Release|x64.ActiveCfg = Release|x64
{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}.Release|x64.Build.0 = Release|x64
{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}.Release|x86.ActiveCfg = Release|Win32
{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}.Release|x86.Build.0 = Release|Win32
{AF82561F-B596-4032-9674-A3D22BFCE7F0}.Debug|x64.ActiveCfg = Debug|x64
{AF82561F-B596-4032-9674-A3D22BFCE7F0}.Debug|x64.Build.0 = Debug|x64
{AF82561F-B596-4032-9674-A3D22BFCE7F0}.Debug|x86.ActiveCfg = Debug|Win32
{AF82561F-B596-4032-9674-A3D22BFCE7F0}.Debug|x86.Build.0 = Debug|Win32
{AF82561F-B596-4032-9674-A3D22BFCE7F0}.Release|x64.ActiveCfg = Release|x64
{AF82561F-B596-4032-9674-A3D22BFCE7F0}.Release|x64.Build.0 = Release|x64
{AF82561F-B596-4032-9674-A3D22BFCE7F0}.Release|x86.ActiveCfg = Release|Win32
{AF82561F-B596-4032-9674-A3D22BFCE7F0}.Release|x86.Build.0 = Release|Win32
{65D4408B-2D18-48B4-8132-63A0420E86DD}.Debug|x64.ActiveCfg = Debug|x64
{65D4408B-2D18-48B4-8132-63A0420E86DD}.Debug|x64.Build.0 = Debug|x64
{65D4408B-2D18-48B4-8132-63A0420E86DD}.Debug|x86.ActiveCfg = Debug|Win32
{65D4408B-2D18-48B4-8132-63A0420E86DD}.Debug|x86.Build.0 = Debug|Win32
{65D4408B-2D18-48B4-8132-63A0420E86DD}.Release|x64.ActiveCfg = Release|x64
{65D4408B-2D18-48B4-8132-63A0420E86DD}.Release|x64.Build.0 = Release|x64
{65D4408B-2D18-48B4-8132-63A0420E86DD}.Release|x86.ActiveCfg = Release|Win32
{65D4408B-2D18-48B4-8132-63A0420E86DD}.Release|x86.Build.0 = Release|Win32
{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}.Debug|x64.ActiveCfg = Debug|x64
{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}.Debug|x64.Build.0 = Debug|x64
{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}.Debug|x86.ActiveCfg = Debug|Win32
{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}.Debug|x86.Build.0 = Debug|Win32
{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}.Release|x64.ActiveCfg = Release|x64
{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}.Release|x64.Build.0 = Release|x64
{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}.Release|x86.ActiveCfg = Release|Win32
{F39996B4-EC69-4E59-BF5C-2CEA4E0E679A}.Release|x86.Build.0 = Release|Win32
{F7878B46-CB83-44D9-B1B2-D90590B4A956}.Debug|x64.ActiveCfg = Debug|x64
{F7878B46-CB83-44D9-B1B2-D90590B4A956}.Debug|x64.Build.0 = Debug|x64
{F7878B46-CB83-44D9-B1B2-D90590B4A956}.Debug|x86.ActiveCfg = Debug|Win32
{F7878B46-CB83-44D9-B1B2-D90590B4A956}.Debug|x86.Build.0 = Debug|Win32
{F7878B46-CB83-44D9-B1B2-D90590B4A956}.Release|x64.ActiveCfg = Release|x64
{F7878B46-CB83-44D9-B1B2-D90590B4A956}.Release|x64.Build.0 = Release|x64
{F7878B46-CB83-44D9-B1B2-D90590B4A956}.Release|x86.ActiveCfg = Release|Win32
{F7878B46-CB83-44D9-B1B2-D90590B4A956}.Release|x86.Build.0 = Release|Win32
{C0A60136-A1C2-456A-9D52-1AC63AE70566}.Debug|x64.ActiveCfg = Debug|x64
{C0A60136-A1C2-456A-9D52-1AC63AE70566}.Debug|x64.Build.0 = Debug|x64
{C0A60136-A1C2-456A-9D52-1AC63AE70566}.Debug|x86.ActiveCfg = Debug|Win32
{C0A60136-A1C2-456A-9D52-1AC63AE70566}.Debug|x86.Build.0 = Debug|Win32
{C0A60136-A1C2-456A-9D52-1AC63AE70566}.Release|x64.ActiveCfg = Release|x64
{C0A60136-A1C2-456A-9D52-1AC63AE70566}.Release|x64.Build.0 = Release|x64
{C0A60136-A1C2-456A-9D52-1AC63AE70566}.Release|x86.ActiveCfg = Release|Win32
{C0A60136-A1C2-456A-9D52-1AC63AE70566}.Release|x86.Build.0 = Release|Win32
{3AF88D29-3590-4579-9ED6-FFF8F2311456}.Debug|x64.ActiveCfg = Debug|x64
{3AF88D29-3590-4579-9ED6-FFF8F2311456}.Debug|x64.Build.0 = Debug|x64
{3AF88D29-3590-4579-9ED6-FFF8F2311456}.Debug|x86.ActiveCfg = Debug|Win32
{3AF88D29-3590-4579-9ED6-FFF8F2311456}.Debug|x86.Build.0 = Debug|Win32
{3AF88D29-3590-4579-9ED6-FFF8F2311456}.Release|x64.ActiveCfg = Release|x64
{3AF88D29-3590-4579-9ED6-FFF8F2311456}.Release|x64.Build.0 = Release|x64
{3AF88D29-3590-4579-9ED6-FFF8F2311456}.Release|x86.ActiveCfg = Release|Win32
{3AF88D29-3590-4579-9ED6-FFF8F2311456}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4B60F505-AB1B-41D9-B844-9154DF64D5B4}
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{65D4408B-2D18-48B4-8132-63A0420E86DD}</ProjectGuid>
<RootNamespace>apSurfaceSample</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apSurfaceSample\apSurfaceSample.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apSurfaceSample\apSurfaceSample.mtd" />
<None Include="..\..\src\apSurfaceSample\apSurfaceSampleTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apSurfaceSample\apSurfaceSample.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apSurfaceSample\apSurfaceSample.mtd">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apSurfaceSample\apSurfaceSampleTemplate.py">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,125 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{7DB572DF-1CA8-43EA-AF0B-286ABBF0EAEA}</ProjectGuid>
<RootNamespace>apUvRange</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apUvRange\apUvRange.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apUvRange\apUvRange.mtd" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apUvRange\apUvRange.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apUvRange\apUvRange.mtd">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{3AF88D29-3590-4579-9ED6-FFF8F2311456}</ProjectGuid>
<RootNamespace>apVolume</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>false</SDLCheck>
<AdditionalIncludeDirectories>D:\library\vc14.0\openvdb-7.0.0\include;D:\library\vc14.0\openexr\include;D:\library\vc14.0\boost\include;D:\library\vc14.0\zlib\include;D:\library\vc14.0\c-blosc\include;D:\library\vc14.0\nanovdb\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>OPENVDB_PRIVATE;OPENVDB_OPENEXR_STATICLIB;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>libopenvdb.lib;zlibstatic.lib;libblosc.lib;Half.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>D:\library\vc14.0\openvdb-7.0.0\lib;D:\library\vc14.0\zlib\lib;D:\library\vc14.0\c-blosc\lib;D:\library\vc14.0\openexr\lib;D:\library\vc14.0\boost\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apVolume\apVolume.cpp" />
<ClCompile Include="..\..\src\apVolume\loader.cpp" />
<ClCompile Include="..\..\src\apVolume\VolumeCache.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apVolume\apVolume.mtd" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\apVolume\VolumeCache.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apVolume\apVolume.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\apVolume\loader.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\apVolume\VolumeCache.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apVolume\apVolume.mtd">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\apVolume\VolumeCache.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{9633BE9A-131A-453E-9AB9-CE77AEE9F72C}</ProjectGuid>
<RootNamespace>apZinkeBSDF</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\Maya.props" />
<Import Project="..\arnold.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apZinkeBSDF\apZinkeBSDF.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apZinkeBSDF\apZinkeBSDF.mtd" />
<None Include="..\..\src\apZinkeBSDF\apZinkeBSDFTemplate.py" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\apZinkeBSDF\apZinkeBSDF.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\apZinkeBSDF\apZinkeBSDFTemplate.py">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\src\apZinkeBSDF\apZinkeBSDF.mtd">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
</Project>

49
msvc/arnold.props Normal file
View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<ARNOLD_ROOT>D:\library\external</ARNOLD_ROOT>
<ARNOLD_VER>5.1.1.1</ARNOLD_VER>
<ARNOLD_LOCATION>$(ARNOLD_ROOT)\Arnold-$(ARNOLD_VER)</ARNOLD_LOCATION>
<MTOA_ROOT>C:\solidangle\mtoadeploy</MTOA_ROOT>
<MTOA_LOCATION>$(MTOA_ROOT)\$(MAYA_VER)</MTOA_LOCATION>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>Arnold SDK</_PropertySheetDisplayName>
<TargetExt>.dll</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(ARNOLD_LOCATION)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<Optimization>Disabled</Optimization>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(ARNOLD_LOCATION)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>ai.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy $(TargetPath) $(solutionDir)..\build\$(solutionName)\shaders /Y/B
$(SolutionDir)..\cmd\post_build_shader.bat $(SolutionName) $(ProjectName) $(TargetPath) $(solutionDir)..\build\$(solutionName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="ARNOLD_ROOT">
<Value>$(ARNOLD_ROOT)</Value>
</BuildMacro>
<BuildMacro Include="ARNOLD_VER">
<Value>$(ARNOLD_VER)</Value>
</BuildMacro>
<BuildMacro Include="ARNOLD_LOCATION">
<Value>$(ARNOLD_LOCATION)</Value>
</BuildMacro>
<BuildMacro Include="MTOA_ROOT">
<Value>$(MTOA_ROOT)</Value>
</BuildMacro>
<BuildMacro Include="MTOA_LOCATION">
<Value>$(MTOA_LOCATION)</Value>
</BuildMacro>
</ItemGroup>
</Project>

1
src/.env Normal file
View File

@ -0,0 +1 @@
PYTHONPATH=C:\Autodesk\mtoa\4.2.4\2020\scripts

17
src/CMakeLists.txt Normal file
View File

@ -0,0 +1,17 @@
add_subdirectory(apBoolean)
add_subdirectory(apChaosMosaic)
add_subdirectory(apCurveSample)
# add_subdirectory(apClosure)
add_subdirectory(apEntrySwitch)
add_subdirectory(apGrayBall)
# add_subdirectory(apHairBSDF)
add_subdirectory(apInteriorMapping)
# add_subdirectory(apMetalBSDF)
# add_subdirectory(apMicrofacetBSDF)
# add_subdirectory(apMicrofacetRefractionBSDF)
# add_subdirectory(apOrenNayerBSDF)
add_subdirectory(apParallaxMap)
add_subdirectory(apSurfaceSample)
add_subdirectory(apUvRange)
add_subdirectory(apCrossBlend)
add_subdirectory(apTextureRandom)

View File

@ -0,0 +1,18 @@
set(SHADER apBoolean)
set(SRC_FILES
"apBoolean.cpp")
set(META_FILES
"apBoolean.mtd")
include_directories(${ARNOLD_INCLUDE_PATH})
add_library(${SHADER} SHARED ${SRC_FILES})
set_target_properties(${SHADER} PROPERTIES PREFIX "")
target_link_libraries(${SHADER} ${ARNOLD_AI_LIBRARY})
set(INSTALL_SHADER_TARGET "${CMAKE_INSTALL_PREFIX}/${ARNOLD_VERSION}/${CMAKE_PROJECT_NAME}/shaders")
install(TARGETS ${SHADER} RUNTIME DESTINATION ${INSTALL_SHADER_TARGET})
install(FILES ${META_FILES} DESTINATION ${INSTALL_SHADER_TARGET})

552
src/apBoolean/apBoolean.cpp Normal file
View File

@ -0,0 +1,552 @@
#include "ai.h"
#include <string>
using namespace std;
AI_SHADER_NODE_EXPORT_METHODS(apBoolean)
enum BooleaOp {
kUnion = 0,
kDifference,
kIntersection
};
enum apBooleanParams {
p_operator,
p_object_a,
p_set_a,
p_shader_a,
p_object_b,
p_set_b,
p_shader_b,
p_swap,
p_max_depth
};
static const char* OperatorNames[] = {
"Union (A+B)",
"Difference (A-B)",
"Intersection (A & B)",
NULL
};
struct ShaderData
{
int boolean_operator;
bool swap;
int max_depth;
};
typedef struct
{
bool inside_a;
bool inside_b;
bool p_inside_a;
bool p_inside_b;
} RayState;
node_parameters
{
AiParameterEnum("operator", 0, OperatorNames);
AiParameterNode("object_a", NULL);
AiParameterStr("trace_set_a", "");
AiParameterClosure("shader_a");
AiParameterNode("object_b", NULL);
AiParameterStr("trace_set_b", "");
AiParameterClosure("shader_b");
AiParameterBool("swap", false);
AiParameterInt("max_depth", 10);
}
node_initialize
{
ShaderData *data = new ShaderData;
AiNodeSetLocalData(node, data);
}
node_update
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
}
node_finish
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
AiFree(data);
}
shader_evaluate
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
int bop = AiShaderEvalParamBool(p_operator);
bool swap = AiShaderEvalParamBool(p_swap);
int max_depth = AiShaderEvalParamInt(p_max_depth);
AtNode *object_a = (AtNode *)AiShaderEvalParamPtr(p_object_a);
AtClosureList closure_a = AiShaderEvalParamClosure(p_shader_a);
AtString object_a_name(AiNodeGetName(object_a));
//AiMsgInfo("A: %s", object_a_name.c_str());
AtNode *object_b = (AtNode *)AiShaderEvalParamPtr(p_object_b);
AtClosureList closure_b = AiShaderEvalParamClosure(p_shader_b);
AtString object_b_name(AiNodeGetName(object_b));
//AiMsgInfo("B: %s", object_b_name.c_str());
AtNode *object = sg->Op;
AtString object_name(AiNodeGetName(object));
bool inv_normal = AiV3Dot(-sg->Rd, sg->N) < 0;
if (sg->Rt & AI_RAY_SHADOW) {
// First shadow call
int first_shadow, cur_first_shadow;
//int cur_first_shadow = AiStateGetMsgInt(AtString("first_shadow"), &first_shadow) ? 0 : 1;
if (AiStateGetMsgInt(AtString("first_shadow"), &first_shadow))
cur_first_shadow = 0;
else
cur_first_shadow = 1;
AiStateSetMsgInt(AtString("first_shadow"), cur_first_shadow);
//cg_mat
bool inside_a;
bool inside_b;
bool p_inside_a;
bool p_inside_b;
/*RayState *shadow_state;
RayState csg_mat;
if (!AiStateGetMsgPtr(AtString("shadow_state"), (void**)&shadow_state))
{
csg_mat = *shadow_state;
}*/
// Initialize it
if (!AiStateGetMsgBool(AtString("inside_a"), &inside_a))
inside_a = false;
if (!AiStateGetMsgBool(AtString("inside_b"), &inside_a))
inside_b = false;
if (!AiStateGetMsgBool(AtString("p_inside_a"), &p_inside_a))
p_inside_a = false;
if (!AiStateGetMsgBool(AtString("p_inside_b"), &p_inside_a))
p_inside_b = false;
if (cur_first_shadow > 0) {
if (object_name == object_a_name)
if (!AiV3Dot(sg->Rd, sg->psg->Ng))
inside_a = true;
if (object_name == object_b_name)
if (!AiV3Dot(sg->Rd, sg->psg->Ng))
inside_b = true;
}
bool inside_a_shadow;
bool inside_b_shadow;
bool p_inside_a_shadow;
bool p_inside_b_shadow;
if (!AiStateGetMsgBool(AtString("inside_a_shadow"), &inside_a_shadow))
inside_a_shadow = false;
if (!AiStateGetMsgBool(AtString("inside_b_shadow"), &inside_b_shadow))
inside_b_shadow = false;
if (!AiStateGetMsgBool(AtString("p_inside_a_shadow"), &p_inside_a_shadow))
p_inside_a_shadow = false;
if (!AiStateGetMsgBool(AtString("p_inside_b_shadow"), &p_inside_b_shadow))
p_inside_a_shadow = false;
AtRGB shadow_transparency = AI_RGB_ZERO;
if (bop == BooleaOp::kUnion) {
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
return;
}
if (bop == BooleaOp::kDifference) {
if (cur_first_shadow > 0)
{
if (AiV3Dot(sg->Rd, sg->Ng) && (inside_a || inside_b))
{
inside_a = p_inside_a;
inside_b = p_inside_b;
}
if (inside_a && inside_b) //inside A & B
{
if (object_name == object_a_name)
{
AiStateSetMsgBool(AtString("inside_a_shadow"), (inv_normal) ? false : true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
return;
}
if (object_name == object_b_name)
{
AiStateSetMsgBool(AtString("inside_b_shadow"), (inv_normal) ? false : true);
/*AtScrSample shadow_sample;
AtRay ray = AiMakeRay(AI_RAY_SHADOW, sg->P, &sg->Rd, AI_INFINITE, sg);
if (AiTrace(ray, AI_RGB_WHITE, shadow_sample))
{
AtClosureList closures;
closures.add(AiClosureTransparent(sg, shadow_sample.opacity));
sg->out.CLOSURE() = closures;
}*/
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_WHITE));
sg->out.CLOSURE() = closures;
return;
}
// Not match any object names
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
return;
}
if (inside_a)
{
if (object_name == object_a_name || object_name == object_b_name)
{
if (object_name == object_a_name)
AiStateSetMsgBool(AtString("inside_a_shadow"), (inv_normal) ? false : true);
if (object_name == object_b_name)
AiStateSetMsgBool(AtString("inside_b_shadow"), (inv_normal) ? false : true);
/*AtScrSample shadow_sample;
AtRay ray = AiMakeRay(AI_RAY_SHADOW, sg->P, &sg->Rd, AI_INFINITE, sg);
if (AiTrace(ray, AI_RGB_WHITE, shadow_sample))
{
AtClosureList closures;
closures.add(AiClosureTransparent(sg, shadow_sample.opacity));
sg->out.CLOSURE() = closures;
}*/
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_WHITE));
sg->out.CLOSURE() = closures;
}
return;
}
if (inside_b)
{
if (object_name == object_b_name || object_name == object_a_name)
{
if (object_name == object_b_name)
AiStateSetMsgBool(AtString("inside_b_shadow"), (inv_normal) ? false : true);
if (object_name == object_a_name)
AiStateSetMsgBool(AtString("inside_a_shadow"), (inv_normal) ? false : true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
}
return;
}
//
if (object_name == object_a_name)
{
AiStateSetMsgBool(AtString("inside_a_shadow"), (inv_normal) ? false : true);
/*AtScrSample shadow_sample;
AtRay ray = AiMakeRay(AI_RAY_SHADOW, sg->P, &sg->Rd, AI_INFINITE, sg);
if (AiTrace(ray, AI_RGB_WHITE, shadow_sample))
{
AtClosureList closures;
closures.add(AiClosureTransparent(sg, shadow_sample.opacity));
sg->out.CLOSURE() = closures;
}*/
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_WHITE));
sg->out.CLOSURE() = closures;
}
else
{
AiStateSetMsgBool(AtString("inside_b_shadow"), (inv_normal) ? false : true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
}
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_WHITE));
sg->out.CLOSURE() = closures;
return;
}
else // secondary shadow call
{
if (inside_a_shadow && inside_b_shadow)
{
if (object_name == object_a_name || object_name == object_b_name)
{
if (object_name == object_a_name)
AiStateSetMsgBool(AtString("inside_a_shadow"), AiV3Dot(sg->Rd, sg->Ng) ? false : true);
if (object_name == object_b_name)
AiStateSetMsgBool(AtString("inside_b_shadow"), AiV3Dot(sg->Rd, sg->Ng) ? false : true);
}
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
return;
}
// inside A
if (inside_a_shadow)
{
if (object_name == object_a_name)
{
AiStateSetMsgBool(AtString("inside_a_shadow"), AiV3Dot(sg->Rd, sg->Ng) ? false : true);
/*AtScrSample shadow_sample;
AtRay ray = AiMakeRay(AI_RAY_SHADOW, sg->P, &sg->Rd, AI_INFINITE, sg);
if (AiTrace(ray, AI_RGB_WHITE, shadow_sample))
{
AtClosureList closures;
closures.add(AiClosureTransparent(sg, shadow_sample.opacity));
sg->out.CLOSURE() = closures;
}*/
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_WHITE));
sg->out.CLOSURE() = closures;
}
if (object_name == object_b_name)
{
AiStateSetMsgBool(AtString("inside_a_shadow"), AiV3Dot(sg->Rd, sg->Ng) ? false : true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
}
return;
}
// inside B
if (inside_b_shadow)
{
if (object_name == object_a_name || object_name == object_b_name)
{
if (object_name == object_b_name)
{
AiStateSetMsgBool(AtString("inside_b_shadow"), AiV3Dot(sg->Rd, sg->Ng) ? false : true);
/*AtScrSample shadow_sample;
AtRay ray = AiMakeRay(AI_RAY_SHADOW, sg->P, &sg->Rd, AI_INFINITE, sg);
if (AiTrace(ray, AI_RGB_WHITE, shadow_sample))
{
AtClosureList closures;
closures.add(AiClosureTransparent(sg, shadow_sample.opacity));
sg->out.CLOSURE() = closures;
}*/
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_WHITE));
sg->out.CLOSURE() = closures;
}
if (object_name == object_a_name)
{
AiStateSetMsgBool(AtString("inside_a_shadow"), AiV3Dot(sg->Rd, sg->Ng) ? false : true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
}
}
return;
}
// inside None
if (object_name == object_a_name)
{
AiStateSetMsgBool(AtString("inside_a_shadow"), AiV3Dot(sg->Rd, sg->Ng) ? false : true);
/*AtScrSample shadow_sample;
AtRay ray = AiMakeRay(AI_RAY_SHADOW, sg->P, &sg->Rd, AI_INFINITE, sg);
if (AiTrace(ray, AI_RGB_WHITE, shadow_sample))
{
AtClosureList closures;
closures.add(AiClosureTransparent(sg, shadow_sample.opacity));
sg->out.CLOSURE() = closures;
}*/
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_WHITE));
sg->out.CLOSURE() = closures;
return;
}
else
{
AiStateSetMsgBool(AtString("inside_b_shadow"), AiV3Dot(sg->Rd, sg->Ng) ? false : true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
sg->out.CLOSURE() = closures;
return;
}
AtClosureList closures;
closures.add(AiClosureTransparent(sg, AI_RGB_WHITE));
sg->out.CLOSURE() = closures;
}
return;
}
AtClosureList closures;
//closures.add(AiClosureTransparent(sg, AI_RGB_ZERO));
closures.add(AiClosureTransparent(sg, shadow_transparency));
sg->out.CLOSURE() = closures;
return;
}
bool inside_a = false;
bool inside_b = false;
AiStateGetMsgBool(AtString("inside_a"), &inside_a);
AiStateGetMsgBool(AtString("inside_b"), &inside_b);
// Union
if (bop == BooleaOp::kUnion)
{
if (inside_a && inside_b)
{
if (object_name == object_a_name)
AiStateSetMsgBool(AtString("inside_a"), (inv_normal) ? false : true);
else if (object_name == object_b_name)
AiStateSetMsgBool(AtString("inside_b"), (inv_normal) ? false : true);
else
{
AtClosureList closures;
closures.add(AiClosureEmission(sg, AI_RGB_RED));
return;
}
AtClosureList closures;
closures.add(AiClosureTransparent(sg));
sg->out.CLOSURE() = closures;
return;
}
else
{
if (inside_a)
{
if (object_name == object_a_name)
{
AiStateSetMsgBool(AtString("inside_a"), (inv_normal) ? false : true);
sg->out.CLOSURE() = closure_a;
return;
}
else
{
AiStateSetMsgBool(AtString("inside_b"), (inv_normal) ? false : true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg));
sg->out.CLOSURE() = closures;
return;
}
}
else
{
if (object_name == object_b_name)
{
}
}
}
}
// Difference
if (bop == BooleaOp::kDifference) {
// Inside A & B
if (inside_a == true && inside_b == true)
{
if (object_name == object_a_name)
{
AiStateSetMsgBool(AtString("inside_a"), (inv_normal) ? false : true);
sg->out.CLOSURE() = closure_a;
return;
}
if (object_name == object_b_name) {
AiStateSetMsgBool(AtString("inside_b"), (inv_normal) ? false : true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg));
sg->out.CLOSURE() = closures;
return;
}
} else {
// Inside A
if (inside_a) {
if (object_name == object_a_name) {
if (inv_normal)
AiStateSetMsgBool(AtString("inside_a"), false);
else
AiStateSetMsgBool(AtString("inside_a"), true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg));
sg->out.CLOSURE() = closures;
return;
} else {
if (inv_normal)
AiStateSetMsgBool(AtString("inside_b"), false);
else
AiStateSetMsgBool(AtString("inside_b"), true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg));
sg->out.CLOSURE() = closures;
return;
}
} else {
// Inside B
if (inside_b) {
if (object_name == object_b_name) {
if (inv_normal)
AiStateSetMsgBool(AtString("inside_b"), false);
else
AiStateSetMsgBool(AtString("inside_b"), true);
sg->out.CLOSURE() = closure_b;
return;
} else {
if (inv_normal)
AiStateSetMsgBool(AtString("inside_a"), false);
else
AiStateSetMsgBool(AtString("inside_a"), true);
sg->out.CLOSURE() = closure_a;
return;
}
} else {
// Inside None
if (object_name == object_a_name) {
if (inv_normal == false)
AiStateSetMsgBool(AtString("inside_a"), true);
AtClosureList closures;
closures.add(AiClosureTransparent(sg));
sg->out.CLOSURE() = closures;
return;
} else {
if (inv_normal == false)
AiStateSetMsgBool(AtString("inside_b"), true);
sg->out.CLOSURE() = closure_b;
return;
}
}
}
}
}
if (bop == BooleaOp::kIntersection){
}
sg->out.CLOSURE() = AiClosureEmission(sg, AtRGB(1.0, 0, 0));
}
node_loader
{
if (i > 0)
return false;
node->methods = apBoolean;
node->output_type = AI_TYPE_CLOSURE;
node->name = "apBoolean";
node->node_type = AI_NODE_SHADER;
strcpy(node->version, AI_VERSION);
return true;
}

View File

@ -0,0 +1,42 @@
[node apBoolean]
maya.name STRING "apBoolean"
maya.id INT 0x0005101
maya.classification STRING "shader/surface"
[attr operator]
desc STRING "Boolean Operator"
maya.keyable BOOL false
linkable BOOL true
[attr object_a]
desc STRING "Object A"
maya.keyable BOOL false
linkable BOOL true
[attr trace_set_a]
maya.keyable BOOL false
linkable BOOL false
[attr shader_a]
maya.keyable BOOL false
linkable BOOL true
[attr object_b]
desc STRING "Object B"
maya.keyable BOOL false
linkable BOOL true
[attr trace_set_b]
maya.keyable BOOL false
linkable BOOL false
[attr shader_b]
maya.keyable BOOL false
linkable BOOL true
[attr swap]
maya.keyable BOOL false
linkable BOOL true
[attr max_depth]
maya.keyable BOOL false
linkable BOOL true

View File

@ -0,0 +1,23 @@
set(SHADER apChaosMosaic)
set(SRC_FILES
"apChaosMosaic.cpp")
set(META_FILES
"apChaosMosaic.mtd")
set(TEMPLATE_FILES
"apChaosMosaicTemplate.py")
include_directories(${ARNOLD_INCLUDE_PATH})
add_library(${SHADER} SHARED ${SRC_FILES})
set_target_properties(${SHADER} PROPERTIES PREFIX "")
target_link_libraries(${SHADER} ${ARNOLD_AI_LIBRARY})
set(INSTALL_SHADER_TARGET "${CMAKE_INSTALL_PREFIX}/${ARNOLD_VERSION}/${CMAKE_PROJECT_NAME}/shaders")
set(INSTALL_TEMPLATE_TARGET "${CMAKE_INSTALL_PREFIX}/${ARNOLD_VERSION}/${CMAKE_PROJECT_NAME}/templates")
install(TARGETS ${SHADER} RUNTIME DESTINATION ${INSTALL_SHADER_TARGET})
install(FILES ${META_FILES} DESTINATION ${INSTALL_SHADER_TARGET})
install(FILES ${TEMPLATE_FILES} DESTINATION ${INSTALL_TEMPLATE_TARGET})

View File

@ -0,0 +1,74 @@
#include "ai.h"
#include <cmath>
AI_SHADER_NODE_EXPORT_METHODS(apChaosMosaic)
enum apChaosMosaicParams {
p_input,
p_tile
};
struct ShaderData
{
int tile;
};
node_parameters
{
AiParameterRGB("input", 0, 0, 0);
AiParameterInt("tile", 10);
}
node_initialize
{
ShaderData *data = (ShaderData *)AiMalloc(sizeof(ShaderData));
AiNodeSetLocalData(node, data);
}
node_update
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
data->tile = AiNodeGetInt(node, "tile");
}
node_finish
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
AiFree(data);
}
shader_evaluate
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
float x, y;
x = fmod(sg->u, 1);
y = fmod(sg->v, 1);
float xi = floor(x*data->tile);
float yi = floor(y*data->tile);
AtVector p(sg->u, sg->v, 0);
float xp = AiCellNoise4(p, xi*data->tile + yi);
float yp = AiCellNoise4(p, xi*data->tile + yi + data->tile*data->tile);
float xoffset = fmod(fmod(x, 1.0 / data->tile) + xp, 1);
float yoffset = fmod(fmod(y, 1.0 / data->tile) + yp, 1);
sg->u = xoffset;
sg->v = yoffset;
sg->out.RGB() = AiShaderEvalParamRGB(p_input);
return;
}
node_loader
{
if (i > 0)
return false;
node->methods = apChaosMosaic;
node->output_type = AI_TYPE_RGB;
node->name = "apChaosMosaic";
node->node_type = AI_NODE_SHADER;
strcpy(node->version, AI_VERSION);
return true;
}

View File

@ -0,0 +1,13 @@
[node apChaosMosaic]
maya.name STRING "apChaosMosaic"
maya.id INT 0x0005104
maya.classification STRING "texture/utility"
[attr input]
desc STRING "Input Texture"
maya.keyable BOOL false
linkable BOOL true
[attr tile]
desc STRING "Tile"
maya.keyable BOOL false
linkable BOOL false

View File

@ -0,0 +1,88 @@
#include "ai.h"
AI_SHADER_NODE_EXPORT_METHODS(apClosure)
enum apClosureParams
{
p_input,
p_closure_type,
p_weight
};
static const char* ClosureNames[] = {
"Emission",
"Transparency",
"Matte",
"Background",
NULL
};
struct ShaderData
{
int closure_type;
};
node_parameters
{
AiParameterClosure("input");
AiParameterEnum("closure_type", 0, ClosureNames);
AiParameterRGB("weight", 1, 1, 1);
}
node_initialize
{
ShaderData *data = (ShaderData *)AiMalloc(sizeof(ShaderData));
AiNodeSetLocalData(node, data);
}
node_update
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
data->closure_type = AiNodeGetInt(node, "closure_type");
}
node_finish
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
AiFree(data);
}
shader_evaluate
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
AtRGB weight = AiShaderEvalParamRGB(p_weight);
AtClosureList closures;
closures.add(AiShaderEvalParamClosure(p_input));
switch (data->closure_type)
{
case 0:
closures.add(AiClosureEmission(sg, weight));
break;
case 1:
closures.add(AiClosureTransparent(sg, weight));
break;
case 2:
closures.add(AiClosureMatte(sg, weight));
break;
case 3:
closures.add(AiClosureBackground(sg, weight));
break;
}
sg->out.CLOSURE() = closures;
return;
}
node_loader
{
if (i > 0)
return false;
node->methods = apClosure;
node->output_type = AI_TYPE_CLOSURE;
node->name = "apClosure";
node->node_type = AI_NODE_SHADER;
strcpy(node->version, AI_VERSION);
return true;
}

View File

@ -0,0 +1,19 @@
[node apClosure]
maya.name STRING "apClosure"
maya.id INT 0x0005107
maya.classification STRING "shader/surface"
[attr input]
desc STRING "Input Closure"
maya.keyable BOOL false
linkable BOOL true
[attr operator]
desc STRING "Closure Type"
maya.keyable BOOL false
linkable BOOL false
[attr object_a]
desc STRING "Weight"
maya.keyable BOOL false
linkable BOOL true

View File

@ -0,0 +1,16 @@
import maya.mel
from mtoa.ui.ae.shaderTemplate import ShaderAETemplate
class AEapClosureTemplate(ShaderAETemplate):
def setup(self):
self.addSwatch()
self.beginScrollLayout()
self.beginLayout("Closure Attributes", collapse=False)
self.addControl('input', label='Input')
self.addControl('closure_type', label='Closure Type')
self.addControl('weight', label='Weight')
self.endLayout()
maya.mel.eval('AEdependNodeTemplate '+self.nodeName)
self.addExtraControls()
self.endScrollLayout()

View File

@ -0,0 +1,23 @@
project(apCrossBlend)
set(SRC_FILES
"apCrossBlend.cpp")
set(META_FILES
"apCrossBlend.mtd")
set(TEMPLATE_FILES
"apCrossBlendTemplate.py")
include_directories(${ARNOLD_INCLUDE_PATH})
add_library(${PROJECT_NAME} SHARED ${SRC_FILES})
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
target_link_libraries(${PROJECT_NAME} ${ARNOLD_AI_LIBRARY})
set(INSTALL_SHADER_TARGET "${CMAKE_INSTALL_PREFIX}/${ARNOLD_VERSION}/${CMAKE_PROJECT_NAME}/shaders")
set(INSTALL_TEMPLATE_TARGET "${CMAKE_INSTALL_PREFIX}/${ARNOLD_VERSION}/${CMAKE_PROJECT_NAME}/templates")
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${INSTALL_SHADER_TARGET})
install(FILES ${META_FILES} DESTINATION ${INSTALL_SHADER_TARGET})
install(FILES ${TEMPLATE_FILES} DESTINATION ${INSTALL_TEMPLATE_TARGET})

View File

@ -0,0 +1,304 @@
#include <ai.h>
#include <string>
#include <algorithm>
#include <cmath>
using namespace std;
AI_SHADER_NODE_EXPORT_METHODS(apCrossBlend)
enum apCrossBlendParams
{
p_surface,
p_enable,
p_ray_max_length,
p_ray_nsamples,
p_ray_min_dist,
p_ray_max_dist,
p_ray_max_depth,
p_trace_sets,
p_verbose,
};
struct ShaderData
{
AtSampler *sampler;
bool enable;
float ray_max_length;
int ray_nsamples;
float ray_min_dist;
float ray_max_dist;
int ray_max_depth;
AtString trace_sets;
bool verbose;
const int seed = 3158863998;
const int ndim = 2;
};
struct SgCache
{
SgCache(AtShaderGlobals *sg)
: sg(sg),
N(sg->N),
Ng(sg->Ng),
Ns(sg->Ns)
{
}
void restore()
{
sg->N = N;
sg->Ng = Ng;
sg->Ns = Ns;
}
AtShaderGlobals *sg;
AtVector N;
AtVector Ng;
AtVector Ns;
};
inline AtVector uniformSampleHemisphere(float u1, float u2)
{
float y = u1;
float r = sqrtf(max(0.f, 1.f - y * y));
float phi = 2 * AI_PI * u2;
float x = r * cosf(phi);
float z = r * sinf(phi);
return AtVector(x, y, z);
}
inline void concentricSampleDisk(float u1, float u2, float &dx, float &dy)
{
float r, theta;
// Map uniform random numbers to $[-1,1]^2$
float sx = 2 * u1 - 1;
float sy = 2 * u2 - 1;
// Map square to $(r,\theta)$
// Handle degeneracy at the origin
if (sx == 0.0 && sy == 0.0)
{
dx = 0.0;
dy = 0.0;
return;
}
if (sx >= -sy)
{
if (sx > sy)
{
// Handle first region of disk
r = sx;
if (sy > 0.0)
theta = sy / r;
else
theta = 8.0f + sy / r;
}
else
{
// Handle second region of disk
r = sy;
theta = 2.0f - sx / r;
}
}
else
{
if (sx <= sy)
{
// Handle third region of disk
r = -sx;
theta = 4.0f - sy / r;
}
else
{
// Handle fourth region of disk
r = -sy;
theta = 6.0f + sx / r;
}
}
theta *= float(AI_PI) / 4.f;
dx = r * cosf(theta);
dy = r * sinf(theta);
}
node_parameters
{
AiParameterClosure("surface");
AiParameterBool("enable", true);
AiParameterFlt("ray_max_length", 1.0);
AiParameterInt("ray_nsamples", 64);
AiParameterFlt("ray_min_dist", 0.001);
AiParameterFlt("ray_max_dist", 1000);
AiParameterInt("ray_max_depth", 10);
AiParameterStr("trace_sets", "");
AiParameterBool("verbose", true);
}
node_initialize
{
ShaderData *data = (ShaderData *)AiMalloc(sizeof(ShaderData));
const int seed = 3158863998;
const int nsamples = AiNodeGetInt(node, "ray_nsamples");
const int ndim = 2;
data->sampler = AiSampler(seed, nsamples, ndim);
AiNodeSetLocalData(node, data);
}
node_finish
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
AiSamplerDestroy(data->sampler);
AiFree(data);
}
node_update
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
data->enable = AiNodeGetBool(node, "enable");
data->ray_max_length = AiNodeGetFlt(node, "ray_max_length");
data->ray_nsamples = AiNodeGetInt(node, "ray_nsamples");
data->ray_min_dist = AiNodeGetFlt(node, "ray_min_dist");
data->ray_max_dist = AiNodeGetFlt(node, "ray_max_dist");
data->ray_max_depth = AiNodeGetInt(node, "ray_max_depth");
data->trace_sets = AiNodeGetStr(node, "trace_sets");
data->verbose = AiNodeGetBool(node, "verbose");
if (data->sampler)
AiSamplerDestroy(data->sampler);
data->sampler = AiSampler(data->seed, data->ray_nsamples, data->ndim);
}
shader_evaluate
{
ShaderData *data = (ShaderData *)AiNodeGetLocalData(node);
AtClosureList surface = AiShaderEvalParamClosure(p_surface);
if (!data->enable)
{
sg->out.CLOSURE() = surface;
return;
}
if (sg->Rt & AI_RAY_SHADOW)
return;
AtVector n = AiV3Normalize(sg->N);
AtVector tangent = sg->dPdu;
AtVector bitangent = sg->dPdv;
SgCache sg_cache(sg);
string shading_object_name = AiNodeGetName(sg->Op);
AtRay ray;
AtVector rp = sg->P;
// AtVector n_sum = {0.f, 0.f, 0.f};
float samples[2];
AtSamplerIterator *iterator = AiSamplerIterator(data->sampler, sg);
AtVector sample_N, sample_Nf, sample_Ns;
AtClosureList sample_shader;
float ray_length = AI_BIG;
AiShaderGlobalsSetTraceSet(sg, data->trace_sets, false);
int sample_count = AiSamplerGetSampleCount(iterator);
int nsmp = 0;
while (AiSamplerGetSample(iterator, samples))
{
// float u, v;
// concentricSampleDisk(samples[0], samples[1], u, v);
// AtVector sample_dir = u * tangent + v * bitangent;
// sample_dir = AiV3Normalize(sample_dir);
AtVector sample_dir = AiV3Normalize(uniformSampleHemisphere(samples[0], samples[1]));
sample_dir += n;
sample_dir *= -1;
ray = AiMakeRay(AI_RAY_ALL_DIFFUSE, rp, &sample_dir, data->ray_max_dist, sg);
float sample_length;
AtShaderGlobals *sample_point = AiShaderGlobals();
if (!AiTraceProbe(ray, sample_point))
{
AiShaderGlobalsDestroy(sample_point);
nsmp++;
continue;
}
string sample_object_name = AiNodeGetName(sample_point->Op);
if (sample_object_name == shading_object_name)
{
AiShaderGlobalsDestroy(sample_point);
nsmp++;
continue;
}
sample_length = AiV3Length(sample_point->P - sg->P);
if (data->verbose)
{
AiMsgDebug("## id : %d", nsmp);
AiMsgDebug("## rp : %f, %f, %f", rp.x, rp.y, rp.z);
AiMsgDebug("## dir : %f, %f, %f", sample_dir.x, sample_dir.y, sample_dir.z);
AiMsgDebug("## smp : %f, %f, %f", sample_point->P.x, sample_point->P.y, sample_point->P.z);
AiMsgDebug("## len : %f", sample_length);
}
if (sample_length < ray_length)
{
ray_length = min(ray_length, sample_length);
sample_shader = sample_point->out.CLOSURE();
sample_N = sample_point->N;
sample_Nf = sample_point->Nf;
sample_Ns = sample_point->Ns;
nsmp++;
}
}
AiShaderGlobalsUnsetTraceSet(sg);
if (ray_length > data->ray_max_length)
{
sg->out.CLOSURE() = AiShaderEvalParamClosure(p_surface);
return;
}
float rv = ray_length / data->ray_max_length;
// Interploate normal
sg->N = ((1.0 - rv) * sample_N) + (rv * sg->N);
sg->Nf = ((1.0 - rv) * sample_Nf) + (rv * sg->Nf);
sg->Ns = ((1.0 - rv) * sample_Ns) + (rv * sg->Ns);
// Interpolate shading
// surface.add(AiClosureTransparent(sg, AtRGB(rv)));
// sample_shader.add(AiClosureTransparent(sg, AI_RGB_WHITE - AtRGB(rv)));
AtClosureList result;
if (rv < 1)
{
if (data->verbose)
AiMsgInfo("rv : %f", rv);
// result.add(sample_shader);
// sample_shader.add(AiClosureTransparent(sg, AI_RGB_WHITE - AtRGB(0.5)));
sg->out.CLOSURE() = AiClosureEmission(sg, AI_RGB_RED);
// return;
}
else
{
sg->out.CLOSURE() = AiClosureEmission(sg, AI_RGB_GREEN);
// sg->out.CLOSURE() = surface;
}
// result.add(surface);
// result.add(sample_shader);
// sg->out.CLOSURE() = result;
sg_cache.restore();
}
node_loader
{
if (i > 0)
return false;
node->methods = apCrossBlend;
node->output_type = AI_TYPE_CLOSURE;
node->name = "apCrossBlend";
node->node_type = AI_NODE_SHADER;
strcpy(node->version, AI_VERSION);
return true;
}

View File

@ -0,0 +1,48 @@
[node apCrossBlend]
maya.name STRING "apCrossBlend"
maya.id INT 0x0005119
maya.classification STRING "shader/surface"
[attr surface]
desc STRING "Input Surface"
maya.keyable BOOL false
linkable BOOL true
[attr enable]
desc STRING "Enable"
maya.keyable BOOL false
linkable BOOL false
[attr ray_max_length]
desc STRING "Blend Length"
maya.keyable BOOL false
linkable BOOL false
[attr ray_nsamples]
desc STRING "Num of Closest Point Samples"
maya.keyable BOOL false
maya.linkable BOOL false
[attr ray_min_dist]
desc STRING "Ray Sample Min Dist"
maya.keyable BOOL false
maya.linkable BOOL false
[attr ray_max_dist]
desc STRING "Ray Sample Max Dist"
maya.keyable BOOL false
maya.linkable BOOL false
[attr ray_max_depth]
desc STRING "Ray Sample Max Dist"
maya.keyable BOOL false
maya.linkable BOOL false
[attr trace_sets]
desc STRING "Sample Trace Sets"
maya.keyable BOOL false
maya.linkable BOOL false
[attr verbose]
desc STRING "Verbose"
maya.keyable BOOL false
maya.linkable BOOL false

View File

@ -0,0 +1,31 @@
import maya.mel
from mtoa.ui.ae.shaderTemplate import ShaderAETemplate
class AEapCrossBlendTemplate(ShaderAETemplate):
def setup(self):
self.addSwatch()
self.beginScrollLayout()
self.beginLayout("Material", collapse=False)
self.addControl('enable', label='Enable',
annotation='Enable Shader')
self.addControl('surface', label='Input Surface',
annotation='Input Surface')
self.addControl('ray_max_length', label='Blend Length',
annotation='Blend Length')
self.addControl('ray_nsamples', label='Ray Samples',
annotation='Closest Point Sample Number')
self.addControl('ray_min_dist', label='Ray Min Dist',
annotation='Ray Min Dist')
self.addControl('ray_max_dist', label='Ray Max Dist',
annotation='Ray Max Dist')
self.addControl('ray_max_depth', label='Ray Max Depth',
annotation='Ray Max Depth')
self.addControl('trace_sets', label='Trace Sets',
annotation='Trace Sets for Search Closest Point')
self.addControl('verbose', label='Verbose',
annotation='Verbose')
self.endLayout()
maya.mel.eval('AEdependNodeTemplate '+self.nodeName)
self.addExtraControls()
self.endScrollLayout()

View File

@ -0,0 +1,2 @@
add_subdirectory(extension)
add_subdirectory(shader)

View File

@ -0,0 +1,36 @@
project(apCurveDataTranslator)
set(SRC_FILES
"CurveDataTranslator.h"
"CurveDataTranslator.cpp"
"define.h"
"PfxHair.h"
"PfxHair.cpp"
"Plugin.cpp"
"Xgen.h"
"Xgen.cpp"
"utils.h"
"utils.cpp")
Find_Package(Maya)
include_directories(
${ARNOLD_INCLUDE_PATH}
${MTOA_INCLUDE_PATH}
${MAYA_INCLUDE_PATH}
${MAYA_XGEN_INCLUDE_PATH}
)
add_library(${PROJECT_NAME} SHARED ${SRC_FILES})
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
target_link_libraries(${PROJECT_NAME}
${ARNOLD_AI_LIBRARY}
${MTOA_API_LIBRARY}
${MAYA_LIBRARIES}
${MAYA_XGEN_LIBRARIES})
set(INSTALL_SHADER_TARGET "${CMAKE_INSTALL_PREFIX}/${ARNOLD_VERSION}/${CMAKE_PROJECT_NAME}/extensions")
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${INSTALL_SHADER_TARGET})

View File

@ -0,0 +1,70 @@
#include "define.h"
#include <maya/MObject.h>
#include <vector>
namespace CurveAPI
{
typedef StringArray MeshArray;
class CurveBaseAPI
{
public:
CurveBaseAPI();
virtual ~CurveBaseAPI() = 0;
virtual MObjectArray GetMeshFromIndex(int index) = 0;
virtual IntArray GetIndexesFromMesh(MObject &mesh) = 0;
virtual MObjectArray GetBaseMesh() = 0;
virtual MStatus GetRootPoints(MPointArray &) = 0;
virtual MStatus GetRootNormals(MVectorArray &) = 0;
virtual int GetSegment();
virtual int Count();
MObject &GetNode() { return m_node; };
MDagPath &GetDagPath();
void Set(MObject &node) { m_node = node; };
bool IsRenderable();
private:
MObject m_node;
};
class HairCurveAPI : public CurveBaseAPI
{
public:
HairCurveAPI(MObject &pfxNode);
HairCurveAPI(MString name);
~HairCurveAPI();
MObjectArray GetMeshFromIndex(int index) override;
MStatus GetRootPoints(MPointArray &rootPoints) override;
MStatus GetRootNormals(MVectorArray &rootNormals) override;
MObject GetHairSystem();
private:
MObject m_node;
};
class XGenIGSCurveAPI : public CurveBaseAPI
{
public:
XGenIGSCurveAPI(MObject &node);
XGenIGSCurveAPI(MString name);
~XGenIGSCurveAPI();
MStatus GetRootPoints(MPointArray &rootPoints) override;
MStatus GetRootNormals(MVectorArray &rootNormals) override;
private:
MObject m_node;
};
class YetiCurveAPI : public CurveBaseAPI
{
public:
YetiCurveAPI(MObject &node);
YetiCurveAPI(MString name);
~YetiCurveAPI();
MStatus GetRootPoints(MPointArray &rootPoints) override;
private:
MObject m_node;
};
}

View File

@ -0,0 +1,323 @@
#include "CurveDataTranslator.h"
#include "Xgen.h"
#include "PfxHair.h"
#include <time.h>
#include <ai.h>
#include <ai_msg.h>
#include <ai_nodes.h>
#include <maya/MFnSet.h>
#include <maya/MFnAttribute.h>
#include <maya/MFnDependencyNode.h>
#include <maya/MFnPfxGeometry.h>
#include <maya/MRenderLine.h>
#include <maya/MRenderLineArray.h>
#include <maya/MDagPath.h>
#include <maya/MPxData.h>
#include <maya/MSelectionList.h>
#include <maya/MFnPluginData.h>
#include <maya/MItDependencyGraph.h>
#include <maya/MItDependencyNodes.h>
#include <maya/MObject.h>
#include <maya/MObjectArray.h>
#include <maya/MPlug.h>
void CCurveDataTranslator::NodeInitializer(CAbTranslator context)
{
AiMsgInfo("[%s] : NodeInitializer()", kTranslatorName);
}
AtNode *CCurveDataTranslator::CreateArnoldNodes()
{
AiMsgInfo("[%s] : CreateArnoldNodes()", kTranslatorName);
return AddArnoldNode("apCurveSample");
}
void CCurveDataTranslator::Delete()
{
}
void CCurveDataTranslator::Update(AtNode *shader)
{
}
void CCurveDataTranslator::Export(AtNode *shader)
{
clock_t tic, toc;
tic = clock();
MStatus status;
AtNode *option = AiUniverseGetOptions();
AiMsgInfo("[%s] : Export()", kTranslatorName);
AiMsgInfo("[%s] : Starting translate %s", kTranslatorName, GetMayaNodeName().asChar());
MFnDependencyNode fnDepNode(GetMayaObject());
MPlug outColorPlug = fnDepNode.findPlug("outColor", true, &status);
MPlugArray destPlugArray;
outColorPlug.destinations(destPlugArray, &status);
MItDependencyNodes dgHairIt(MFn::kPfxHair);
AiMsgInfo("[%s] : Looking pfxHair ...", kTranslatorName);
for (; !dgHairIt.isDone(); dgHairIt.next())
{
MObject currentNode = dgHairIt.thisNode();
PfxHairHelper pfxHairHelper(currentNode);
MFnDagNode fnPfxHairNode(currentNode);
AiMsgInfo("[%s] : Current Node : %s", kTranslatorName, fnPfxHairNode.fullPathName().asChar());
if (!pfxHairHelper.IsRenderable())
continue;
MIntArray hairSegments = pfxHairHelper.GetHairBaseSegement();
int cvCount = hairSegments[0];
MString pfxHairPath = fnPfxHairNode.fullPathName();
pfxHairPath.substitute("|", "/");
const MString cvCountParam = MString(pfxHairPath + "_cv_count");
if (!AiNodeLookUpUserParameter(option, cvCountParam.asChar()))
AiNodeDeclare(option, cvCountParam.asChar(), "constant INT");
AiNodeSetInt(option, AtString(cvCountParam.asChar()), cvCount);
AiMsgInfo("[%s] : Export params : %s", kTranslatorName, cvCountParam.asChar());
AiMsgInfo("-------------------------------------");
AiMsgInfo("[%s] : pfxHair : %s", kTranslatorName, fnPfxHairNode.partialPathName().asChar());
AiMsgInfo("-------------------------------------");
MObjectArray hairBaseMeshList = pfxHairHelper.GetHairBaseMesh();
const MString meshParam = MString(pfxHairPath + "_meshs");
if (!AiNodeLookUpUserParameter(option, meshParam.asChar()))
AiNodeDeclare(option, meshParam.asChar(), "constant ARRAY STRING");
AtArray *meshArray = AiArrayAllocate(hairBaseMeshList.length(), 1, AI_TYPE_STRING);
for (unsigned int i = 0; i < hairBaseMeshList.length(); i++)
{
MFnDependencyNode meshNode(hairBaseMeshList[i]);
AiArraySetStr(meshArray, i, AtString(meshNode.name().asChar()));
}
AiNodeSetArray(option, meshParam.asChar(), meshArray);
AiMsgInfo("[%s] : array string[%d] : %s", kTranslatorName, hairBaseMeshList.length(), meshParam.asChar());
MPointArray rootPoints;
MVectorArray rootNormals;
pfxHairHelper.GetHairRootPointsAndNormals(rootPoints, rootNormals);
AiMsgInfo("[%s] : Export root points", kTranslatorName);
const MString rootPointParam = MString(pfxHairPath + "_points");
AiMsgInfo("[%s] : array vector[%d] : %s", kTranslatorName, rootPoints.length(), rootPointParam.asChar());
if (!AiNodeLookUpUserParameter(option, rootPointParam.asChar()))
AiNodeDeclare(option, rootPointParam.asChar(), "constant ARRAY VECTOR");
AtArray *pointArray = AiArrayAllocate(rootPoints.length(), 1, AI_TYPE_VECTOR);
for (unsigned i = 0; i < rootPoints.length(); i++)
{
MPoint rp = rootPoints[i];
AiArraySetVec(pointArray, i, AtVector(rp.x, rp.y, rp.z));
}
AiNodeSetArray(option, rootPointParam.asChar(), pointArray);
AiMsgInfo("-------------------------------------");
AiMsgInfo("[%s] : Export root normals", kTranslatorName);
const MString rootNormalParam = MString(pfxHairPath + "_normals");
AiMsgInfo("[%s] : array vector[%d] : %s", kTranslatorName, rootNormals.length(), rootNormalParam.asChar());
if (!AiNodeLookUpUserParameter(option, rootNormalParam.asChar()))
AiNodeDeclare(option, rootNormalParam.asChar(), "constant ARRAY VECTOR");
AtArray *normalArray = AiArrayAllocate(rootNormals.length(), 1, AI_TYPE_VECTOR);
for (unsigned i = 0; i < rootNormals.length(); i++)
{
MVector rn = rootNormals[i];
AiArraySetVec(normalArray, i, AtVector(rn.x, rn.y, rn.z));
}
AiNodeSetArray(option, rootNormalParam.asChar(), normalArray);
AiMsgInfo("-------------------------------------");
}
// Looking the shader assignment
MItDependencyGraph *dgIt;
dgIt = new MItDependencyGraph(outColorPlug, MFn::kShadingEngine,
MItDependencyGraph::kDownstream,
MItDependencyGraph::kBreadthFirst,
MItDependencyGraph::kNodeLevel,
&status);
for (; !dgIt->isDone(); dgIt->next())
{
// Get shading group from current item
MObject dest = dgIt->currentItem();
if (!dest.hasFn(MFn::kShadingEngine))
continue;
MFnSet fnSG(dest);
MSelectionList setMember;
fnSG.getMembers(setMember, true);
// Look each assignment of the SG
for (unsigned j = 0; j < setMember.length(); j++)
{
MObject desc;
MDagPath descPath;
setMember.getDependNode(j, desc);
setMember.getDagPath(j, descPath);
MFnDagNode fnDescNode(descPath);
XGenHelper xgenHelper(desc);
if (!descPath.isVisible())
continue;
MString descPathName = fnDescNode.fullPathName();
descPathName.substitute("|", "/");
MString descParamBaseName = descPathName + "_curves";
AiMsgInfo("[%s] : %s api_type=%s", kTranslatorName, fnDescNode.name().asChar(), desc.apiTypeStr());
AiMsgInfo("[%s] : %s node_type=%s", kTranslatorName, fnDescNode.name().asChar(), fnDescNode.typeName().asChar());
// XGen Interactive Groom Spline
// We only care about xgmSplineDescription
if (fnDescNode.typeName() == "xgmSplineDescription")
{
// Set Export RenderStats
fnDescNode.findPlug("castsShadows").setValue(0);
fnDescNode.findPlug("receiveShadows").setValue(0);
fnDescNode.findPlug("aiVisibleInDiffuseReflection").setValue(0);
fnDescNode.findPlug("aiVisibleInSpecularReflection").setValue(0);
static const MString sApplyRenderOverrideCmd = "xgmSplineApplyRenderOverride ";
MGlobal::executeCommand(sApplyRenderOverrideCmd + fnDescNode.partialPathName());
MObject splineBase = xgenHelper.GetSplineBase();
// GetSplineBaseNode(descObject, splineBase);
MFnDependencyNode fnSplineBase(splineBase);
// int cvCount = GetSplineBaseSegement(splineBase);
int cvCount = xgenHelper.GetBaseSegment();
const MString cvCountParam = descParamBaseName + "_cv_count";
if (!AiNodeLookUpUserParameter(option, cvCountParam.asChar()))
AiNodeDeclare(option, cvCountParam.asChar(), "constant INT");
AiNodeSetInt(option, AtString(cvCountParam.asChar()), cvCount);
// MSelectionList meshList = GetSplineBaseMesh(splineBase);
MObjectArray meshList = xgenHelper.GetSplineBaseMesh();
AiMsgInfo("-------------------------------------");
AiMsgInfo("[%s] : xgmSplineDescription : %s", kTranslatorName, fnDescNode.partialPathName().asChar());
AiMsgInfo("[%s] : xgmSplineBase : %s", kTranslatorName, fnSplineBase.name().asChar());
AiMsgInfo("-------------------------------------");
const MString meshParam = descParamBaseName + "_meshs";
if (!AiNodeLookUpUserParameter(option, meshParam.asChar()))
AiNodeDeclare(option, meshParam.asChar(), "constant ARRAY STRING");
AtArray *meshArray = AiArrayAllocate(meshList.length(), 1, AI_TYPE_STRING);
for (unsigned int i = 0; i < meshList.length(); i++)
{
MObject meshObj = meshList[i];
MFnDagNode meshNode(meshObj);
MString meshPath = meshNode.fullPathName();
meshPath.substitute("|", "/");
AiArraySetStr(meshArray, i, AtString(meshPath.asChar()));
}
AiNodeSetArray(option, meshParam.asChar(), meshArray);
MPointArray rootPoints;
MVectorArray rootNormals;
// GetSplineRootPointsAndNormals(fnDescNode.partialPathName().asChar(), rootPoints, rootNormals);
xgenHelper.GetSplineRootPointsAndNormals(rootPoints, rootNormals);
// getSplineRootPoints(fnDescNode.partialPathName().asChar(), rootPoints);
AiMsgInfo("[%s] : Export root points", kTranslatorName);
const MString rootPointParam = descParamBaseName + "_points";
AiMsgInfo("[%s] : array vector[%d] : %s", kTranslatorName, rootPoints.length(), rootPointParam.asChar());
if (!AiNodeLookUpUserParameter(option, rootPointParam.asChar()))
AiNodeDeclare(option, rootPointParam.asChar(), "constant ARRAY VECTOR");
AtArray *pointArray = AiArrayAllocate(rootPoints.length(), 1, AI_TYPE_VECTOR);
for (unsigned i = 0; i < rootPoints.length(); i++)
{
MPoint rp = rootPoints[i];
AiArraySetVec(pointArray, i, AtVector(rp.x, rp.y, rp.z));
}
AiNodeSetArray(option, rootPointParam.asChar(), pointArray);
AiMsgInfo("-------------------------------------");
// getSplineRootNormals(fnDescNode.partialPathName().asChar(), rootNormals);
AiMsgInfo("[%s] : Export root normals", kTranslatorName);
const MString rootNormalParam = descParamBaseName + "_normals";
AiMsgInfo("[%s] : array vector[%d] : %s", kTranslatorName, rootNormals.length(), rootNormalParam.asChar());
if (!AiNodeLookUpUserParameter(option, rootNormalParam.asChar()))
AiNodeDeclare(option, rootNormalParam.asChar(), "constant ARRAY VECTOR");
AtArray *normalArray = AiArrayAllocate(rootNormals.length(), 1, AI_TYPE_VECTOR);
for (unsigned i = 0; i < rootNormals.length(); i++)
{
MVector rn = rootNormals[i];
AiArraySetVec(normalArray, i, AtVector(rn.x, rn.y, rn.z));
}
AiNodeSetArray(option, rootNormalParam.asChar(), normalArray);
AiMsgInfo("-------------------------------------");
}
}
}
AiMsgInfo("[%s] : Exporting %s settings", kTranslatorName, GetMayaNodeName().asChar());
ProcessParameter(shader, "sample_data_type", AI_TYPE_INT, "sampleDataType");
ProcessParameter(shader, "normalize", AI_TYPE_BOOLEAN, "normalize");
ProcessParameter(shader, "trace_set", AI_TYPE_STRING, "traceSet");
ProcessParameter(shader, "ray_offset", AI_TYPE_FLOAT, "rayOffset");
ProcessParameter(shader, "ray_max_depth", AI_TYPE_INT, "rayMaxDepth");
ProcessParameter(shader, "ray_max_sample", AI_TYPE_INT, "rayMaxSample");
ProcessParameter(shader, "occ_min_dist", AI_TYPE_FLOAT, "occMinDist");
ProcessParameter(shader, "occ_max_dist", AI_TYPE_FLOAT, "occMaxDist");
ProcessParameter(shader, "occ_spread", AI_TYPE_FLOAT, "occSpread");
ProcessParameter(shader, "occ_falloff", AI_TYPE_FLOAT, "occFalloff");
ProcessParameter(shader, "error_color", AI_TYPE_RGB, "errorColor");
ProcessParameter(shader, "verbose", AI_TYPE_BOOLEAN, "verbose");
// Export parameter to shader tree or value
/*
ProcessParameter(shader, "root_color_gain", AI_TYPE_RGB, "rootColorGain");
ProcessParameter(shader, "root_color_offset", AI_TYPE_RGB, "rootColorOffset");
ProcessParameter(shader, "tip_color_gain", AI_TYPE_RGB, "tipColorGain");
ProcessParameter(shader, "tip_color_offset", AI_TYPE_RGB, "tipColorOffset");
ProcessParameter(shader, "ray_offset", AI_TYPE_FLOAT, "rayOffset");
ProcessParameter(shader, "ray_max_depth", AI_TYPE_INT, "rayMaxDepth");
ProcessParameter(shader, "ray_max_sample", AI_TYPE_INT, "rayMaxSample");
ProcessParameter(shader, "trace_set", AI_TYPE_STRING, "traceSet");
ProcessParameter(shader, "verbose", AI_TYPE_BOOLEAN, "verbose");
ProcessParameter(shader, "debug", AI_TYPE_BOOLEAN, "debug");
*/
toc = clock();
AiMsgInfo("[%s] : Export in %lf sec", kTranslatorName, (toc - tic) / (double)CLOCKS_PER_SEC);
AiMsgInfo("[%s] : Export finish : %s", kTranslatorName, fnDepNode.name().asChar());
}

View File

@ -0,0 +1,28 @@
#pragma once
//#include <translators/shape/ShapeTranslator.h>
//#include <translators/NodeTranslator.h>
#include <translators/shader/ShaderTranslator.h>
#include <iostream>
#include "define.h"
using namespace std;
class CCurveDataTranslator : public CShaderTranslator
{
public:
AtNode *CreateArnoldNodes();
virtual void Export(AtNode *shader);
virtual void Update(AtNode *shader);
static void *creator()
{
AiMsgInfo(" [%s] :: initialized.", kTranslatorName);
AiMsgInfo("-----------------------------------------------------------------------------------");
AiMsgInfo(" [%s] : Compile at %s : %s", kTranslatorName, __DATE__, __TIME__);
AiMsgInfo("-----------------------------------------------------------------------------------");
return new CCurveDataTranslator();
}
static void NodeInitializer(CAbTranslator context);
virtual void Delete();
};

Some files were not shown because too many files have changed in this diff Show More