|
Toshihiro Shimizu |
890ddd |
set(HEADERS
|
|
Toshihiro Shimizu |
890ddd |
../include/stdfx/shaderfx.h
|
|
Toshihiro Shimizu |
890ddd |
../include/stdfx/shaderinterface.h
|
|
Toshihiro Shimizu |
890ddd |
../include/stdfx/shadingcontext.h
|
|
Toshihiro Shimizu |
890ddd |
gradients.h
|
|
Toshihiro Shimizu |
890ddd |
hsvutil.h
|
|
Toshihiro Shimizu |
890ddd |
offscreengl.h
|
|
Toshihiro Shimizu |
890ddd |
particles.h
|
|
Toshihiro Shimizu |
890ddd |
particlesengine.h
|
|
Toshihiro Shimizu |
890ddd |
particlesfx.h
|
|
Toshihiro Shimizu |
890ddd |
particlesmanager.h
|
|
Toshihiro Shimizu |
890ddd |
perlinnoise.h
|
|
Toshihiro Shimizu |
890ddd |
pins.h
|
|
Toshihiro Shimizu |
890ddd |
stdfx.h
|
|
Toshihiro Shimizu |
890ddd |
texturefxP.h
|
|
Toshihiro Shimizu |
890ddd |
warp.h
|
|
Toshihiro Shimizu |
890ddd |
motionawarebasefx.h
|
|
Toshihiro Shimizu |
890ddd |
igs_color_blend.h
|
|
Toshihiro Shimizu |
890ddd |
igs_color_rgb_hls.h
|
|
Toshihiro Shimizu |
890ddd |
igs_color_rgb_hsv.h
|
|
Toshihiro Shimizu |
890ddd |
igs_density.h
|
|
Toshihiro Shimizu |
890ddd |
igs_fog.h
|
|
Toshihiro Shimizu |
890ddd |
igs_gaussian_blur.h
|
|
Toshihiro Shimizu |
890ddd |
igs_hls_add.h
|
|
Toshihiro Shimizu |
890ddd |
igs_hls_adjust.h
|
|
Toshihiro Shimizu |
890ddd |
igs_hls_noise.h
|
|
Toshihiro Shimizu |
890ddd |
igs_hls_noise_in_camera.h
|
|
Toshihiro Shimizu |
890ddd |
igs_hsv_add.h
|
|
Toshihiro Shimizu |
890ddd |
igs_hsv_adjust.h
|
|
Toshihiro Shimizu |
890ddd |
igs_hsv_noise.h
|
|
Toshihiro Shimizu |
890ddd |
igs_hsv_noise_in_camera.h
|
|
Toshihiro Shimizu |
890ddd |
igs_ifx_common.h
|
|
Toshihiro Shimizu |
890ddd |
igs_level_auto.h
|
|
Toshihiro Shimizu |
890ddd |
igs_level_auto_in_camera.h
|
|
Toshihiro Shimizu |
890ddd |
igs_levels.h
|
|
Toshihiro Shimizu |
890ddd |
igs_line_blur.h
|
|
Toshihiro Shimizu |
890ddd |
igs_math_random.h
|
|
Toshihiro Shimizu |
890ddd |
igs_maxmin.h
|
|
Toshihiro Shimizu |
890ddd |
igs_maxmin_getput.h
|
|
Toshihiro Shimizu |
890ddd |
igs_maxmin_lens_matrix.h
|
|
Toshihiro Shimizu |
890ddd |
igs_maxmin_multithread.h
|
|
Toshihiro Shimizu |
890ddd |
igs_maxmin_slrender.h
|
|
Toshihiro Shimizu |
890ddd |
igs_median_filter.h
|
|
Toshihiro Shimizu |
890ddd |
igs_median_filter_smooth.h
|
|
Toshihiro Shimizu |
890ddd |
igs_motion_blur.h
|
|
Toshihiro Shimizu |
890ddd |
igs_motion_wind.h
|
|
Toshihiro Shimizu |
890ddd |
igs_motion_wind_pixel.h
|
|
Toshihiro Shimizu |
890ddd |
igs_motion_wind_table.h
|
|
Toshihiro Shimizu |
890ddd |
igs_negate.h
|
|
Toshihiro Shimizu |
890ddd |
igs_os_type.h
|
|
Toshihiro Shimizu |
890ddd |
igs_perlin_noise.h
|
|
Toshihiro Shimizu |
890ddd |
igs_radial_blur.h
|
|
Toshihiro Shimizu |
890ddd |
igs_resource_msg_from_err.h
|
|
Toshihiro Shimizu |
890ddd |
igs_resource_multithread.h
|
|
Toshihiro Shimizu |
890ddd |
igs_resource_sleep.h
|
|
Toshihiro Shimizu |
890ddd |
igs_resource_thread.h
|
|
Toshihiro Shimizu |
890ddd |
igs_rotate_blur.h
|
|
Toshihiro Shimizu |
890ddd |
igs_warp.h
|
|
Toshihiro Shimizu |
890ddd |
ino_common.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_adjustexposurefx.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_directionalblurfx.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_gradientwarpfx.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_motionblurfx.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_particles.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_particlesengine.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_particlesfx.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_particlesmanager.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_perspectivedistortfx.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_spectrumfx.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_simplexnoise.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_noise1234.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_fresnel.h
|
|
Toshihiro Shimizu |
890ddd |
iwa_pnperspectivefx.h)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
set(SOURCES
|
|
Toshihiro Shimizu |
890ddd |
adjustlevelsfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
artcontourfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
backlitfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
blendtzfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
blurfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
bodyhighlightfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
bright_contfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
calligraphicfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
changecolorfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
channelmixerfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
cloudsfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
colorembossfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
cornerpinfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
despecklefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
diamondgradientfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
dissolvefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
embossfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
erodilatefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
externalpalettefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
fourpointsgradientfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
freedistortfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
gammafx.cpp
|
|
Toshihiro Shimizu |
890ddd |
glowfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
gradients.cpp
|
|
Toshihiro Shimizu |
890ddd |
hsvkeyfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
hsvscalefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
hsvutil.cpp
|
|
Toshihiro Shimizu |
890ddd |
kaleido.cpp
|
|
Toshihiro Shimizu |
890ddd |
linearwavefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
localblurfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
localtransparencyfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
mosaicfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
motionblurfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
multitonefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
noisefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
palettefilterfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
particles.cpp
|
|
Toshihiro Shimizu |
890ddd |
particlesengine.cpp
|
|
Toshihiro Shimizu |
890ddd |
particlesfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
particlesmanager.cpp
|
|
Toshihiro Shimizu |
890ddd |
perlinnoise.cpp
|
|
Toshihiro Shimizu |
890ddd |
perlinnoisefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
pins.cpp
|
|
Toshihiro Shimizu |
890ddd |
posterizefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
premultiplyfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
radialblurfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
randomwavefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
raylitfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
rgbkeyfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
rgbmcutfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
rgbmfadefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
rgbmscalefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
ripplefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
rotationalblurfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
saltpeppernoisefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
shaderfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
shaderinterface.cpp
|
|
Toshihiro Shimizu |
890ddd |
shadingcontext.cpp
|
|
Toshihiro Shimizu |
890ddd |
sharpenfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
solarizefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
squaregradientfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
stdfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
targetspotfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
texturefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
tilefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
tonecurvefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
unmultiplyfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
warp.cpp
|
|
Toshihiro Shimizu |
890ddd |
warpfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_attenuation_distribution.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_color_blend.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_color_rgb_hls.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_color_rgb_hsv.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_density.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_fog.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_gauss_distribution.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_gaussian_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_hls_add.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_hls_adjust.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_hls_noise.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_hls_noise_in_camera.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_hsv_add.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_hsv_adjust.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_hsv_noise.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_hsv_noise_in_camera.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_level_auto.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_level_auto_in_camera.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_levels.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_line_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_math_random.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_maxmin.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_maxmin_lens_matrix.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_maxmin_slrender.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_median_filter.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_median_filter_smooth.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_motion_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_motion_wind.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_motion_wind_pixel.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_motion_wind_table.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_negate.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_perlin_noise.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_radial_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_resource_msg_from_err.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_resource_multithread.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_resource_sleep.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_resource_thread.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_rotate_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_warp_hori.cpp
|
|
Toshihiro Shimizu |
890ddd |
igs_warp_vert.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_add.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_color_burn.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_color_dodge.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_cross_dissolve.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_darken.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_darker_color.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_divide.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_hard_light.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_hard_mix.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_lighten.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_lighter_color.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_linear_burn.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_linear_dodge.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_linear_light.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_multiply.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_over.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_overlay.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_pin_light.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_screen.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_soft_light.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_subtract.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blend_vivid_light.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_channel_selector.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_common.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_density.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_fog.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_hls_add.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_hls_adjust.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_hls_noise.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_hsv_add.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_hsv_adjust.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_hsv_noise.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_level_auto.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_level_master.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_level_rgba.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_line_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_maxmin.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_median.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_median_filter.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_motion_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_motion_wind.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_negate.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_pn_clouds.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_radial_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_spin_blur.cpp
|
|
Toshihiro Shimizu |
890ddd |
ino_warp_hv.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_adjustexposurefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_directionalblurfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_gradientwarpfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_motionblurfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_particles.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_particlesengine.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_particlesfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_particlesmanager.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_perspectivedistortfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_spectrumfx.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_tilefx.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_simplexnoise.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_noise1234.cpp
|
|
Toshihiro Shimizu |
890ddd |
iwa_pnperspectivefx.cpp)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
add_library(tnzstdfx SHARED ${HEADERS} ${SOURCES} ${OBJCSOURCES})
|
|
Toshihiro Shimizu |
890ddd |
add_definitions(-D_USRDLL -DTNZSTDFX_EXPORTS)
|
|
Toshihiro Shimizu |
890ddd |
if (APPLE)
|
|
Toshihiro Shimizu |
890ddd |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,-install_name,@rpath/libtnzstdfx.dylib")
|
|
Toshihiro Shimizu |
890ddd |
endif (APPLE)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
message("subdir: tnzstdfx")
|
|
Toshihiro Shimizu |
890ddd |
message("Bin: " ${CMAKE_CURRENT_BINARY_DIR})
|
|
Toshihiro Shimizu |
890ddd |
|
|
roentgen |
19af1b |
if(GLEW_FOUND)
|
|
roentgen |
19af1b |
include_directories(${GLEW_INCLUDE_DIRS})
|
|
roentgen |
19af1b |
else()
|
|
roentgen |
19af1b |
include_directories(${SDKROOT}/glew/glew-1.9.0/include)
|
|
roentgen |
19af1b |
endif()
|
|
roentgen |
19af1b |
|
|
Toshihiro Shimizu |
890ddd |
_find_toonz_library(TNZLIBS "tnzcore;tnzbase;toonzlib")
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
if (APPLE)
|
|
roentgen |
19af1b |
# macports を使っていると symbol が非互換の /opt/lib が引っ掛かってしまう
|
|
roentgen |
19af1b |
find_library(ICONV_LIB iconv HINTS /usr/lib)
|
|
roentgen |
19af1b |
if(ICONV_LIB-NOTFOUND)
|
|
roentgen |
19af1b |
message("************* NO ICONV ****************")
|
|
roentgen |
19af1b |
else()
|
|
roentgen |
19af1b |
message("************* ICONV:" ${ICONV_LIB})
|
|
roentgen |
19af1b |
endif()
|
|
Toshihiro Shimizu |
890ddd |
target_link_libraries(tnzstdfx Qt5::Core Qt5::Gui Qt5::OpenGL ${GL_LIB} ${GLEW_LIB} ${TNZLIBS} ${ICONV_LIB})
|
|
Toshihiro Shimizu |
890ddd |
else ()
|
|
Toshihiro Shimizu |
890ddd |
target_link_libraries(tnzstdfx Qt5::Core Qt5::Gui Qt5::OpenGL ${GL_LIB} ${GLEW_LIB} ${TNZLIBS})
|
|
Toshihiro Shimizu |
890ddd |
endif ()
|