Skip to content

Updates for Unreal Engine 5 tested with Microsoft Visual Studio 2022 #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# SimplexNoise

![SimplexNoise UE4 Plugin Screenshot](http://i.imgur.com/Fpw5mPX.png)
![SimplexNoise UE5 Plugin Screenshot](Resources/SimpleNoisePicture.png)


* This is a clean, fast, modern and free Perlin Simplex noise function.
* If we change float to double it could be even faster but there is no double type in Blueprint
Expand All @@ -25,3 +26,20 @@ I only request that you mention me in the credits for your game in the way that
This algorithm was originally designed by Ken Perlin, but my code has been
adapted and extended from the implementation written by Stefan Gustavson (stegu@itn.liu.se)
and modified to fit to Unreal Engine 4

Unreal Engine 5 (UE5)

This Git Hub Forked Repository has been updated in the SimplexNoise.uplugin for UE5 In the source code to get this built with Visual Studio 2022.
You will need to git clone outside the Engine Source build C:\User\Owner\source\repos is the root for UE5

and where "Owner" is your directory obtined from the Windows 10 system variable %USERPROFILE%

Download Git Bash/Git CMD from https://git-scm.com/download/win for Windows 10.

Open Git CMD

Text copy and paste and Execute each of these commands

There is a file simplexsetup.bat which contains the same commands


Binary file added Resources/SimpleNoisePicture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 23 additions & 19 deletions SimplexNoise.uplugin
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
{
"PluginFileVersion" : 1,

"FriendlyName" : "Simplex Noise",
"Version" : 1,
"VersionName" : "1.2.0",
"CreatedBy" : "DevDad",
"CreatedByURL" : "https://art-and-code.com/",
"EngineVersion":"4.25",
"Description" : "SimplexNoise Blueprint Library to use in Unreal Engine 4",
"Category" : "ArtAndCodeSuite.SimplexNoise",
"EnabledByDefault" : true,

"Modules" :
[
"FileVersion": 3,
"FriendlyName": "Simplex Noise",
"Version": 1,
"VersionName": "1.2.0",
"CreatedBy": "DevDad",
"CreatedByURL": "https://art-and-code.com/",
"DocsURL": "",
"MarketplaceURL": "",
"SupportURL": "",
"Description": "SimplexNoise Blueprint Library to use in Unreal Engine 4",
"Category": "ArtAndCodeSuite.SimplexNoise",
"EnabledByDefault": true,
"CanContainContent": true,
"IsBetaVersion": true,
"Installed": false,

"Modules": [
{
"Name" : "SimplexNoise",
"Type" : "Runtime",
"LoadingPhase" : "PreDefault",
"WhitelistPlatforms" : [ "Win64", "Win32", "Mac", "Linux" ]
},
"Name": "SimplexNoise",
"Type": "Runtime",
"LoadingPhase": "PreDefault",
"WhitelistPlatforms": [ "Win64", "Win32", "Mac", "Linux" ]
}



]
}
34 changes: 34 additions & 0 deletions simpleSetup.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

REM GIT root for REPOSITORIES for extra drive e.g D:\source\repos\

set GITREPO=%USERPROFILE%\source\repos

REM Set the UE5 Source path name below

set UE5REPO=%GITREPO%\ue5

dir %UE5REPO%

REM set SimplexNoise path below using one level up from UE5REPO

set SN=%GITREPO%\ArtAndCodeSuite

REM rmdir/s %UE5REPO%\Engine\Plugins\ArtAndCodeSuite

REM rmdir/s %SN%

mkdir %SN%

mkdir %UE5REPO%\Engine\Plugins\ArtAndCodeSuite\SimplexNoise

cd %SN%

git clone https://github.com/jimshalo10/SimplexNoise.git

rem stay in Git-cmd and copy the SimplexNoise.uplugin into UE5 plugins

REM go back to original path
cd %USERPROFILE%

copy %SN%\SimplexNoise\SimplexNoise.uplugin %UE5REPO%\Engine\Plugins\ArtAndCodeSuite\SimplexNoise\SimplexNoise.uplugin