diff options
author | Callum Prentice <callum@lindenlab.com> | 2021-08-20 08:28:48 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2021-08-20 08:28:48 -0700 |
commit | 0c89e67eb5bf2d82596d0c697831787cbbdf1e7f (patch) | |
tree | 070cc3da58f67f9935f66dbadae3c283af0ac401 /indra/cmake | |
parent | c40b8310b00f1d620a2f5a94f2514c8bf3531373 (diff) |
DRTVWR-534: Batch of modifications to 360 capture project after moving from internal repo to public one.
Diffstat (limited to 'indra/cmake')
-rw-r--r-- | indra/cmake/CubemapToEquirectangularJS.cmake | 5 | ||||
-rw-r--r-- | indra/cmake/JPEGEncoderBasic.cmake | 5 | ||||
-rw-r--r-- | indra/cmake/ThreeJS.cmake | 8 |
3 files changed, 18 insertions, 0 deletions
diff --git a/indra/cmake/CubemapToEquirectangularJS.cmake b/indra/cmake/CubemapToEquirectangularJS.cmake new file mode 100644 index 0000000000..bfe2926005 --- /dev/null +++ b/indra/cmake/CubemapToEquirectangularJS.cmake @@ -0,0 +1,5 @@ +# -*- cmake -*- +use_prebuilt_binary(cubemaptoequirectangular) + +# Main JS file +configure_file("${AUTOBUILD_INSTALL_DIR}/js/CubemapToEquirectangular.js" "${CMAKE_SOURCE_DIR}/newview/skins/default/html/common/equirectangular/js/CubemapToEquirectangular.js" COPYONLY) diff --git a/indra/cmake/JPEGEncoderBasic.cmake b/indra/cmake/JPEGEncoderBasic.cmake new file mode 100644 index 0000000000..0d2a3231bb --- /dev/null +++ b/indra/cmake/JPEGEncoderBasic.cmake @@ -0,0 +1,5 @@ +# -*- cmake -*- +use_prebuilt_binary(jpegencoderbasic) + +# Main JS file +configure_file("${AUTOBUILD_INSTALL_DIR}/js/jpeg_encoder_basic.js" "${CMAKE_SOURCE_DIR}/newview/skins/default/html/common/equirectangular/js/jpeg_encoder_basic.js" COPYONLY) diff --git a/indra/cmake/ThreeJS.cmake b/indra/cmake/ThreeJS.cmake new file mode 100644 index 0000000000..528adcbb25 --- /dev/null +++ b/indra/cmake/ThreeJS.cmake @@ -0,0 +1,8 @@ +# -*- cmake -*- +use_prebuilt_binary(threejs) + +# Main three.js file +configure_file("${AUTOBUILD_INSTALL_DIR}/js/three.min.js" "${CMAKE_SOURCE_DIR}/newview/skins/default/html/common/equirectangular/js/three.min.js" COPYONLY) + +# Controls to move around the scene using mouse or keyboard +configure_file("${AUTOBUILD_INSTALL_DIR}/js/OrbitControls.js" "${CMAKE_SOURCE_DIR}/newview/skins/default/html/common/equirectangular/js/OrbitControls.js" COPYONLY) |