Giter VIP home page Giter VIP logo

fglivelinkreceiver's Introduction

FaceGood

LiveLink Source for receiving JSON over sockets.

This is an example of how a LiveLink plugin can be implemented inside UE4. The plugin is not intended to be used in production.

See https://docs.unrealengine.com/en-US/Engine/Animation/LiveLinkPlugin/index.html for more information about UE4 LiveLink.

image

Build

Build from Source ,you can learn from https://dev.epicgames.com/community/learning/tutorials/qz93/unreal-engine-building-plugins

Using Visual Studio ( Windows only )

  1. Create an empty C++ project with the Engine version you wish to use.
  2. Bring the plugin(s) to that C++ project ◦ Create a "Plugins" folder in the C++ project's root folder. ◦ Copy the plugin(s) folder(s) you want to build into the newly created "Plugins" folder.
  3. Compile the C++ project in Visual Studio ◦ Right click on the project's uproject file and select "Generate Visual Studio project files" ◦ Double click on the *.sln file to launch Visual Studio ◦ In Visual Studio select Development Editor and Win64 ( same workflow as for building the engine with VS). ◦ Build the project.
  4. Once that's done, copy the plugin from the compiled C++ project to the Engine's plugins folder, and overwrite any conflicting files.

If the build fails, the log file detailing the errors is under “YourProject/Saved/Logs/YourProject.log”.

Usage

  1. Create a "Plugins" folder in the project's root folder.
  2. copy the folder "FgLiveLinkReciever" into the Plugins folder
  3. run projectname.uproject and activate the FgLiveLinkReciever plugin,the restart project.

img_v2_8759c3a2-9b0f-4da0-a193-ed810287c46g

  1. chose menu "Window -> Vritual Production -> livelink"
  2. input the ip address and port number

img_v2_4e2ead33-854c-461a-b1e1-7f85ad3d3acg

  1. when has source input,it will create message source automatically

UDP Protocol

JSON format

{
"FACEGOOD":{  #subjectName
    "FrameId" : 1, #frame id ,option
    "Properties":[
        {"Name":"A","Value":0.0},  # item name and it's value
        {"Name":"B","Value":0.0}
        ],
    "Joints":{
    "Names":["JA","JB"],
    "ParentIdx":[0,0],
    "Transforms":[[0,0,0,0,0,0],[0,0,0,0,0,0]]
    }
    }
}

fglivelinkreceiver's People

Contributors

sznero avatar

Stargazers

 avatar C. L. avatar Zinnia avatar

Watchers

Jelo avatar  avatar  avatar

Forkers

linecode

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.