Git Product home page Git Product logo

touchengine-ue4-samples's Introduction

TouchEngine-UE4 Plugin Samples Repository

Current Unreal Engine version: 4.27.2

Current TouchEngine version: 2021.16410 (Latest official, download link)

The TouchEngine Plugin currently supports Custom Parameters, CHOP input/output, TOP input/output and DAT input/output.

Getting started

The TouchEngine plugin is referenced using a git submodule, clone using

git clone --recurse gitURL

When pulling updates, don't forget to do a submodule update to get the latest TouchEngine-UE4 Plugin version using

git submodule update

Build plugin from repository and submodules

Scroll down to the next section if you want to use prebuilt binaries.

On your first use of the project, or if you just pulled changes from the repository, you might be required to recompile the plugin binaries for your own hardware.

There is two ways you can get started compiling the latest source files, using a batch script OR using Visual Studio:

Using batch script

You can execute a .bat file with the following script

call "[UE4 Install Location]\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -Plugin=[Example Project Install Location]\Plugins\TouchEngine-UE4\TouchEngine.uplugin -Package=[Build Destination Location]\TouchEnigne-UE4 -Rocket

Where

  • UE4 Install Location is the root folder of your Unreal Engine installation. It should be similar to C:/Program Files/Epic Games/UE_4.27/ if you are using default locations.
  • Example Project Install Location is the path to the local copy of this repository on your computer.
  • Build Destination Location is the path to the folder where the compiled binaries will be moved.

Using Visual Studio

Follow the steps below to build from Visual Studio:

  1. Right click TouchEngineUE4Samp.uproject
  2. Select Generate Visual Studio project files Generate VS project files
  3. Launch the Visual Studio Solution TouchEngineUE4Samp.sln in Visual Studio 2019
  4. In Visual Studio, right click the project TouchEngineUE4Samp and Set as startup project, it should appear in Bold. Set startup project
  5. At the top of Visual Studio, you should see two drop down menus, set the configuration to Development Editor and the target platform to be Win64. Set configuration
  6. In Visual Studio, right click the solution and click on Rebuild solution. Rebuild solution
  7. It could take a few minutes. Grab a cup of coffee.
  8. Launch TouchEngineUE4Samp.uproject in Unreal Engine 4.27.1+

Use release version

  1. Go to the release page and download the latest release zip file.
  2. Unzip the downloaded file in Plugins/.
  3. A folder named TouchEngine-UE4 should now be here with the following structure. Plugin folder structure
  4. Launch TouchEngineUE4Samp.uproject in Unreal Engine 4.27.1+

Examples

Open the Level Blueprint to see the network of operations used to run TouchEngine.

For a detailed walkthrough of the examples, go here.

Using a specific build of TouchEngine

By default, the TouchEngine build used by the Unreal Plugin will be from the most recently installed TouchDesigner on the system.

To override and use a specific build, the Unreal Plugin looks for a shortcut named “TouchEngine” when loading.

If you place any of the following, named "TouchEngine", alongside the .tox you're opening, it will use that build

  • a Windows .lnk to a TouchDesigner installation
  • a symlink to a TouchDesigner installation
  • a full TouchDesigner installation

Troubleshooting

If errors occur the Message Log window should pop up automatically. However if it does not then you can manually open it via Windows->Developer Tools->Message Log.

The Unreal related options are missing from the context menu when right clicking the Unreal project file, what should I do ?

This seems to be an install bug, we encountered it on our end as well. With luck, the Epic Games Launcher will show up with a message mentioning to "Fix the project files", clicking "Fix now" should solve the issue. If the message doesn't show up, another solution is to open your project using right click -> Open with... and open the project with the UnrealVersionSelector.exe located in your Epic Games Launcher install folder (by default, C:\Program Files (x86)\Epic Games\Launcher\Engine\Binaries\Win64)

I am getting an error mentioning map/lighting, what should I do ?

Rebuild the map/lighting to fix the error that comes up when loading the project.

The examples seem to load forever, what should I do ?

It can take about 5 seconds (subject to change based on hardware) for the subprocess to boot and TouchEngine to load the .tox within Unreal Engine.

I just pulled the git repository and got some updates, my project is now starting with a lot of errors, what should I do ?

If you had compiled the plugin manually, chances are that it is now using an older version of the plugin while they are potentially new features in the Unreal Engine project. You can either grab the latest plugin version on our release page in the plugin repository, or re-compile manually the plugin.

If you don't use Visual Studio, delete the binaries from Plugins\TouchEngine-UE4\Binaries\Win64 and Unreal Engine should re-compile the plugin for you at startup.

I see multiple TouchEngine.exe processes in my task manager while nothing is running, what should I do ?

When Unreal is started and the TouchEngine plugin is loaded, it is normal to occasionally see instances of TouchEngine appear in your task manager even if you didn't hit Play in your Unreal Engine project. If a crash occurs, it can happen that some TouchEngine processes are still running, in which case you should terminate them.

Known issues and current limitations

  • When selecting one of the existing blueprints in the world editor, on the right hand side, you will see the world outliner and the details panel. It appears that tweaking the properties of the component section of the Actor (Blueprint) is causing issues and is coming with a performance cost, while selecting the TouchEngine Component directly from the world outliner, children of the said Actor, and tweaking its properties doesn't have the same impact.

TouchEngine-UE4 Plugin documentation

This repository is covering the sample project and examples, for a complete documentation of the TouchEngine-UE4 Plugin, follow this link.

touchengine-ue4-samples's People

Contributors

bangnoise avatar ddthejj avatar jetxs avatar mbechard avatar michela avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.