This file contains hidden or 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
| # ffmpeg -y -framerate 30 -i Test.FinalImage.%04d.png -vf palettegen palette.png | |
| # ffmpeg -y -framerate 30 -i Test.FinalImage.%04d.png -i palette.png -lavfi paletteuse=alpha_threshold=128 -gifflags -offsetting output.gif |
This file contains hidden or 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
| # Visual Studio | |
| .vs/ | |
| # Rider | |
| .idea/ | |
| Plugins/Developer/RiderLink/* | |
| # Executable and Libraries | |
| *.slo | |
| *.lo |
This file contains hidden or 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
| # run methods | |
| # py img_to_video.py --input inputdir --output outputdir --img_format fmt | |
| # default input dir - current dir | |
| # default output dir - current_dir/output | |
| # default img_format - png | |
| import os | |
| import os.path | |
| import glob | |
| import argparse |
This file contains hidden or 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
| // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. | |
| using UnrealBuildTool; | |
| public class CustomTestPlugin : ModuleRules | |
| { | |
| public CustomTestPlugin(ReadOnlyTargetRules Target) : base(Target) | |
| { | |
| PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; | |
This file contains hidden or 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
| USkeletalMeshComponent* mesh = GetMesh(); | |
| USkeletalMesh * skelMesh = mesh->SkeletalMesh; | |
| TMap< FName, int32 > myMap = skelMesh->MorphTargetIndexMap; | |
| for (TPair< FName, int32> Entry : myMap) { | |
| Morphs.Add(Entry.Key.ToString()); | |
| } |
This file contains hidden or 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
| // Fill out your copyright notice in the Description page of Project Settings. | |
| #include "ScreenShootMaker.h" | |
| #include "ImageUtils.h" | |
| #include "Misc/FileHelper.h" | |
| #include "Runtime/Engine/Classes/Engine/World.h" | |
| #include "HighResScreenshot.h" | |
| #include "Runtime/Engine/Classes/Engine/Engine.h" | |
| #include "Runtime/Engine/Classes/Engine/GameViewportClient.h" | |
| #include "Runtime/Engine/Public/Slate/SceneViewport.h" |
This file contains hidden or 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
| // Fill out your copyright notice in the Description page of Project Settings. | |
| #include <AudioActor.h> | |
| #include <Sound/SoundWave.h> | |
| #include <Sound/SoundCue.h> | |
| #include <ConstructorHelpers.h> | |
| #include <WaveFileManager.h> | |
| #include <Runtime/Engine/Classes/Components/AudioComponent.h> | |
| #include <Runtime/Engine/Public/AudioDecompress.h> | |
| #include <Engine.h> |
This file contains hidden or 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
| #include <stdio.h> | |
| #define __STDC_CONSTANT_MACROS | |
| #ifdef _WIN32 | |
| //Windows | |
| extern "C" | |
| { | |
| #include "libavformat/avformat.h" | |
| #include "libavutil/mathematics.h" |
This file contains hidden or 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
| cmake_minimum_required(VERSION 3.6) | |
| project(sandbox) | |
| add_subdirectory(googletest-master) | |
| include_directories(googletest-master/googletest/include) | |
| include_directories(googletest-master/googlemock/include) | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | |
| set(SOURCE_FILES main.cpp SimpleTest.cpp) | |
| add_executable(sandbox ${SOURCE_FILES}) |