This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from pthom/fix_runtimmecompil
Fix runtimmecompil
- Loading branch information
Showing
82 changed files
with
187 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.41 KB
assets/screenshots/samples_current/BoxTexturedNonPowerOfTwoGLTFScene.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+32 Bytes
(100%)
assets/screenshots/samples_current/CellShadingMaterialScene.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+20 Bytes
(100%)
assets/screenshots/samples_current/CustomRenderTargetsScene.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-339 Bytes
(92%)
assets/screenshots/samples_current/PBRMaterialORMWoodScene.jpg
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-437 Bytes
(85%)
assets/screenshots/samples_current/PBRMetallicRoughnessGoldMaterialScene.jpg
Oops, something went wrong.
Binary file modified
BIN
-400 Bytes
(85%)
assets/screenshots/samples_current/PBRMetallicRoughnessMaterialScene.jpg
Oops, something went wrong.
Binary file modified
BIN
+251 Bytes
(110%)
assets/screenshots/samples_current/PBRMetallicRoughnessTextureMaterialScene.jpg
Oops, something went wrong.
Binary file modified
BIN
-502 Bytes
(83%)
assets/screenshots/samples_current/PBRSpecularGlossinessMaterialScene.jpg
Oops, something went wrong.
Binary file modified
BIN
+8 Bytes
(100%)
assets/screenshots/samples_current/PBRSpecularGlossinessTextureMaterialScene.jpg
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+1.06 KB
(170%)
assets/screenshots/samples_current/ShaderMaterialPegasusGalaxyScene.jpg
Oops, something went wrong.
Binary file modified
BIN
-119 Bytes
(98%)
assets/screenshots/samples_current/ShaderMaterialSeascapeScene.jpg
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
assets/screenshots/samples_current/ShaderMaterialSpeedTracerScene.jpg
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+230 Bytes
(110%)
assets/screenshots/samples_current/StarfieldProceduralTextureScene.jpg
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+1.41 KB
assets/screenshots/samples_current/TriangleWithoutIndicesGLTFScene.jpg
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+6.54 KB
assets/screenshots/samples_updated/ShaderMaterialMorningCityScene.jpg
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+5.85 KB
assets/screenshots/samples_updated/ShaderMaterialSparseGridMarchingScene.jpg
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# pip install --upgrade scikit-image | ||
# pip install --upgrade imutils | ||
|
||
from skimage.measure import compare_ssim | ||
import argparse | ||
import imutils | ||
import cv2 | ||
import os | ||
import os.path | ||
import numpy as np | ||
import shutil | ||
|
||
THIS_SCRIPT_DIR=os.path.dirname(os.path.abspath(__file__)) | ||
|
||
def compare_image(image_file1, image_file2) -> (float, np.array): | ||
imageA = cv2.imread(image_file1) | ||
imageB = cv2.imread(image_file2) | ||
grayA = cv2.cvtColor(imageA, cv2.COLOR_BGR2GRAY) | ||
grayB = cv2.cvtColor(imageB, cv2.COLOR_BGR2GRAY) | ||
|
||
# compute the Structural Similarity Index (SSIM) between the two | ||
# images, ensuring that the difference image is returned | ||
(score, diff) = compare_ssim(grayA, grayB, full=True) | ||
diff = (diff * 255).astype("uint8") | ||
return score, diff | ||
|
||
def list_images(folder): | ||
r = [] | ||
for root, dirs, files in os.walk(folder, topdown=False): | ||
for file_name in files: | ||
if file_name[-4:] == ".jpg": | ||
r.append(file_name) | ||
return r | ||
|
||
CURRENT_IMAGES_FOLDER = THIS_SCRIPT_DIR + "/../samples_current/" | ||
NEW_IMAGES_FOLDER = THIS_SCRIPT_DIR + "/../samples_new" | ||
UPDATE_IMAGES_FOLDER = THIS_SCRIPT_DIR + "/../samples_updated" | ||
|
||
def do_compare(): | ||
current_images_files = list_images(CURRENT_IMAGES_FOLDER) | ||
new_images_files = list_images(NEW_IMAGES_FOLDER) | ||
if (os.path.isdir(UPDATE_IMAGES_FOLDER)): | ||
shutil.rmtree(UPDATE_IMAGES_FOLDER) | ||
os.mkdir(UPDATE_IMAGES_FOLDER) | ||
|
||
for image_file in new_images_files: | ||
new_image_fullpath = NEW_IMAGES_FOLDER + "/" + image_file | ||
shall_update = False | ||
if image_file in current_images_files: | ||
current_image_fullpath = CURRENT_IMAGES_FOLDER + "/" + image_file | ||
score, diff = compare_image(current_image_fullpath, new_image_fullpath) | ||
print("{} : score {}".format(new_image_fullpath, score)) | ||
if score < 0.7: | ||
shall_update = True | ||
else: | ||
print("{} : NEW".format(new_image_fullpath)) | ||
shall_update = True | ||
|
||
if shall_update: | ||
shutil.copyfile(new_image_fullpath, UPDATE_IMAGES_FOLDER + "/" + image_file) | ||
|
||
do_compare() |
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule RuntimeCompiledCPlusPlus
updated
1 files
+2 −2 | Aurora/RuntimeObjectSystem/RuntimeTracking.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.