[=;107584]
Microsoft said they were looking into it, but i hope Epic/Microsoft can create an official plugin. So we can get more advanced features and integrations
[/]
Just getting my Rift DK2, and been using UDK/UE for a few years now, unfortunately not a coder/scripter =P
This is really impressive stuff, amazed by it and looking forward to future developments!
[=;103919]
There are a couple errors from assets that werenāt included (or broke/corrupted). Mainly these errors (which are ok)
Error /Game/DemoRoom/Materials/M_DemoWall_Inst : Can't find file for asset. /Game/ExampleContent/Audio/Physical_Materials/Rubber
Error /Game/DemoRoom/Materials/M_DemoWall_Inst_3 : Can't find file for asset. /Game/ExampleContent/Audio/Physical_Materials/Metal
Error /Game/DemoRoom/Materials/M_DemoRoomTiles_Inst : Can't find file for asset. /Game/ExampleContent/Audio/Physical_Materials/Concrete
Error /Game/DemoRoom/Materials/M_DemoWallPattern_Inst : Can't find file for asset. /Game/ExampleContent/Audio/Physical_Materials/Metal
Error /Game/DemoRoom/Materials/M_DemoWallPattern_NoText : Can't find file for asset. /Game/ExampleContent/Audio/Physical_Materials/Metal
Info Failed to load /Game/ExampleContent/Audio/Physical_Materials/Rubber.Rubber Referenced by M_DemoWall_Inst Property /Script/Engine.MaterialInstance:PhysMaterial
Info Failed to load /Game/ExampleContent/Audio/Physical_Materials/Metal.Metal Referenced by M_DemoWall_Inst_3 Property /Script/Engine.MaterialInstance:PhysMaterial
Info Failed to load /Game/ExampleContent/Audio/Physical_Materials/Concrete.Concrete Referenced by M_DemoRoomTiles_Inst Property /Script/Engine.MaterialInstance:PhysMaterial
Info Failed to load /Game/ExampleContent/Audio/Physical_Materials/Metal.Metal Referenced by M_DemoWallPattern_Inst Property /Script/Engine.MaterialInstance:PhysMaterial
Info Failed to load /Game/ExampleContent/Audio/Physical_Materials/Metal.Metal Referenced by M_DemoWallPattern_NoText Property /Script/Engine.MaterialInstance:PhysMaterial
But the fact you have this many errors means you probably donāt have the Kinect Plugin enabled (Window -> Plugins, Enable Kinect)
[/]
Thanks for the hard work !
I was able to download the code and recompile with 4.4 without any issues.
I was also able to load the sample and let the auto-conversion do its job and everything works.
I just have two questions :
-is it possible to change it as a game plugin instead of a engine plugin ? I guess it needs access to lots of elements to the engine
-once Iāve recompiled, I cannot seem to distribute it to someone else who has also 4.4. It only works with my custom version of the engine. The editor is trying to recompile it even if itās already done.
Thank you for all your great work. Any plans on adding Kinect voice commands to your plugin?
Kevin
[/]
Already working on that
[=BZysberg;121510]
Hello,
Thanks for the hard work !
I was able to download the code and recompile with 4.4 without any issues.
I was also able to load the sample and let the auto-conversion do its job and everything works.
I just have two questions :
-is it possible to change it as a game plugin instead of a engine plugin ? I guess it needs access to lots of elements to the engine
-once Iāve recompiled, I cannot seem to distribute it to someone else who has also 4.4. It only works with my custom version of the engine. The editor is trying to recompile it even if itās already done.
[/]
Yeah a coworker told me Epic spoke about how broken the plugin system is right now.
I can wait.
As for the freeze issue, I think I know why.
Most people choose to do all the updates for Kinect in a block of code. You chose to do it in a separate thread.
Itās pretty smart but something goes wrong. This lock happens :
FScopeLock lock(&mBodyCriticalSection); (line 349 of KinectSensor.cpp)
and it never unlocks therefore the freeze. It happens when you suddenly switch how many bodies are tracked (2 to 1, 1 to 0ā¦).
It seems like the Kinect thread manages to goes twice inside this lock section before doing the GetBodyFrame.
haha very nice lion, what kind of game was he playing?
It may have been from my code drop, as some people were having problems with the latest version you had (missing libraries/errors related to OpenCV and the OneEuro filtering). Just reverted the last 1-2 commits and updated some deprecated APIās, to get it properly compiling again.
The upload of the demo is almost done, so you will be able to check it out for yourself soon
I am overhauling the whole plugin.
I have introduced a kinect body manager that keeps track if skeletons, notifies if new skeleton is detected so you will be able to assign it to a player using your own gesture recognition system.
also it tracks if an assigned tracking is lost skeleton is lost.
I am also thinking about deprecating the IkinectBodyFramelistenerInterface in favor of more robust Delegate based system.
Itās difficult to reproduce it just by yourself. I needed two people to do it. They both have to jump back and forward in front of Kinect.
At some point this line of code will try to access/modifiy a skeleton thatās not there anymore.
I also made a Blueprint that detects the id of the skeleton the first time someone is tracked and only tracks this id.
Then when nobody is tracked the id is reset.
A few questions :
1)There is no more āEditorā folder. Did you merge the code or is it still needed ?
2)Are you going to update the Avatar demo ?
3)Are you going to provide the source for your new demo ?
A few questions :
1)There is no more āEditorā folder. Did you merge the code or is it still needed ?
2)Are you going to update the Avatar demo ?
3)Are you going to provide the source for your new demo ?
[/]
I saw that it was useless for avateering so it was removed.
I will when the new body tracking system will be completed.
I hope that I will have sometime this weekend to do that.