silent Posted April 28, 2015 Share Posted April 28, 2015 PS: how can we try kinect samples? we cant run it from samples browser, we cant run it from project with connected add-on. Basically, all you need to do is to generate a new project with a Kinect2 add-on enabled. Please, make sure that you created x64 project, because there is no x86 libraries available. 10:43:45 #include <samples/plugins/common/plugins.h> 10:43:45 kinect_01.cpp:1: Parser::preprocessor(): can't include "samples/plugins/common/plugins.h" file Additional files should be copied automatically, so I'm assuming that this is a bug. If you can provide as a screenshot with project settings it surely will help us to get to the rott of this issue faster. At this time you can copy attached files to your project's data directory: samples.zip. Sorry for the inconvenience caused. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
sergey.pozhidaev Posted April 28, 2015 Share Posted April 28, 2015 { "project_settings": { "name": "unigine_project", "path": "C:\/Users\/2rneps\/Documents\/unigine_project\/", "launcher_gui": 0, "launcher_console": 1, "bin_flags": 6, "precision": 0, "stereo": "", "monitors": "", "sound": "auto", "plugins": [ "Interface", "Collada", "OpenFlight", "Autodesk" ], "addons": [ { "key": "Kinect22.0-beta2windows", "title": "Kinect2", "version": "2.0-beta2", "name": "", "description": "\r\n\t\t\t\r\n\t\t\t\t<p>A Kinect2 plugin is used for receiving detected data from a Kinect2 sensor.<\/p>\r\n\t\t\t\r\n\t\t", "os": "windows", "thumb": "file:\/\/\/D:\/GlobeXYMain\/depend\/Unigine\/Unigine Sim evaluation\/addons\/kinect_addon_win_2.0-beta2\/.meta\/images\/kinect_sm.png" } ], "is_video_resizable": 0 }, "sdk_version": "2.0-beta2", "sdk_key": "simevaluation2.0-beta2windows", "sdk_name": "UNIGINE sim SDK evaluation" } this is config Link to comment
sergey.pozhidaev Posted April 28, 2015 Share Posted April 28, 2015 Unigine log file 13:32:17 Loading "C:/Users/2rneps/Documents/unigine_project/bin/../data/unigine_project/unigine.cfg"... 13:32:17 Loading "dxgi.dll"... 13:32:17 Loading "openal32.dll"... 13:32:18 Set 2560x1080 windowed video mode 13:32:18 Unigine engine http://unigine.com/ 13:32:18 Binary: Windows 64bit Visual C++ 1800 Debug Apr 20 2015 r16777 13:32:18 Features: OpenGL Direct3D11 OpenAL XAudio2 XPad360 Joystick Flash Editor HalfTexCoords 13:32:18 App path: C:/Users/2rneps/Documents/unigine_project/bin/ 13:32:18 Data path: C:/Users/2rneps/Documents/unigine_project/data/ 13:32:18 Save path: C:/Users/2rneps/Documents/unigine_project/bin/ 13:32:18 13:32:18 ---- System ---- 13:32:18 System: Windows 7 (build 7601, Service Pack 1) 64bit 13:32:18 CPU: AMD FX(tm)-8320 Eight-Core Processor 3523MHz MMX+ SSE SSE2 SSE3 SSSE3 SSE41 SSE42 SSE4A SSE5 AVX HTT x4 13:32:18 GPU: NVIDIA GeForce GTX 650 Ti 9.18.13.5012 x1 13:32:18 System memory: 10221 MB 13:32:18 Video memory: 1024 MB 13:32:18 Sync threads: 3 13:32:18 Async threads: 4 13:32:18 13:32:18 ---- MathLib ---- 13:32:18 Set SSE2 simd processor 13:32:18 13:32:18 ---- Sound ---- 13:32:18 Renderer: OpenAL Soft 13:32:18 OpenAL vendor: OpenAL Community 13:32:18 OpenAL renderer: OpenAL Soft 13:32:18 OpenAL version: 1.1 ALSOFT 1.15.1 13:32:18 Found AL_EXT_LINEAR_DISTANCE 13:32:18 Found AL_EXT_OFFSET 13:32:18 Found ALC_EXT_EFX 13:32:18 Found EFX Filter 13:32:18 Found EFX Reverb 13:32:18 Found EAX Reverb 13:32:18 Found QUAD16 format 13:32:18 Found 51CHN16 format 13:32:18 Found 61CHN16 format 13:32:18 Found 71CHN16 format 13:32:18 Maximum sources: 256 13:32:18 Maximum effect slots: 4 13:32:18 Maximum auxiliary sends: 2 13:32:18 13:32:18 ---- Render ---- 13:32:18 Renderer: NVidia 973MB 13:32:18 Direct3D11 desc: NVIDIA GeForce GTX 650 Ti 13:32:18 Maximum texture size: 16384 13:32:18 Maximum texture units: 16 13:32:18 Maximum texture renders: 8 13:32:18 13:32:18 ---- Physics ---- 13:32:18 Physics: Multi-threaded 13:32:18 13:32:18 ---- PathFind ---- 13:32:18 PathFind: Multi-threaded 13:32:18 13:32:18 ---- Interpreter ---- 13:32:18 Version: 2.72 13:32:18 13:32:18 Unigine~# config_readonly 1 && render_textures 2 && render_anisotropy 1 && render_filter 1 && render_shaders 2 && render_dof 0 && render_glow 1 && render_motion_blur 0 && render_reflection 1 && render_refraction 1 && render_translucent 0 && render_parallax 1 && render_volumetric 1 && render_occlusion 0 && render_force_no_shadows 0 && render_restart && world_load "unigine_project" 13:32:18 Loading "core/unigine.cpp" 72ms 13:32:18 Loading "core/locale/unigine.locale" dictionary 3ms 13:32:18 Loading "core/materials/default/unigine_post.mat" 27 materials 55 shaders 14ms 13:32:18 Loading "core/materials/default/unigine_render.mat" 48 materials 2369 shaders 32ms 13:32:18 Loading "core/materials/default/unigine_decal.mat" 1 material 1158 shaders 18ms 13:32:18 Loading "core/materials/default/unigine_decal_terrain.mat" 1 material 1947 shaders 15ms 13:32:18 Loading "core/materials/default/unigine_decal_deferred.mat" 1 material 4418 shaders 39ms 13:32:18 Loading "core/materials/default/unigine_mesh.mat" 5 materials 1693 shaders 46ms 13:32:18 Loading "core/materials/default/unigine_mesh_lut.mat" 2 materials 531 shaders 8ms 13:32:18 Loading "core/materials/default/unigine_mesh_paint.mat" 2 materials 579 shaders 9ms 13:32:18 Loading "core/materials/default/unigine_mesh_tessellation.mat" 5 materials 1666 shaders 21ms 13:32:18 Loading "core/materials/default/unigine_mesh_tessellation_paint.mat" 2 materials 1138 shaders 12ms 13:32:18 Loading "core/materials/default/unigine_mesh_triplanar.mat" 1 material 56 shaders 2ms 13:32:18 Loading "core/materials/default/unigine_mesh_overlap.mat" 1 material 150 shaders 5ms 13:32:18 Loading "core/materials/default/unigine_mesh_layer.mat" 1 material 42 shaders 5ms 13:32:18 Loading "core/materials/default/unigine_mesh_noise.mat" 1 material 53 shaders 10ms 13:32:18 Loading "core/materials/default/unigine_mesh_stem.mat" 2 materials 6150 shaders 63ms 13:32:18 Loading "core/materials/default/unigine_mesh_wire.mat" 1 material 45 shaders 2ms 13:32:18 Loading "core/materials/default/unigine_mesh_shadow.mat" 1 material 8 shaders 1ms 13:32:18 Loading "core/materials/default/unigine_terrain.mat" 1 material 1101 shaders 8ms 13:32:18 Loading "core/materials/default/unigine_grass.mat" 2 materials 1035 shaders 21ms 13:32:18 Loading "core/materials/default/unigine_particles.mat" 1 material 157 shaders 9ms 13:32:18 Loading "core/materials/default/unigine_billboard.mat" 1 material 51 shaders 9ms 13:32:18 Loading "core/materials/default/unigine_billboards.mat" 2 materials 840 shaders 7ms 13:32:18 Loading "core/materials/default/unigine_volume.mat" 6 materials 53 shaders 20ms 13:32:18 Loading "core/materials/default/unigine_gui.mat" 1 material 82 shaders 4ms 13:32:18 Loading "core/materials/default/unigine_water.mat" 1 material 533 shaders 20ms 13:32:18 Loading "core/materials/default/unigine_sky.mat" 1 material 21 shaders 28ms 13:32:18 Loading "core/properties/unigine.prop" 2 properties 1ms 13:32:19 Loading "unigine_project.cpp" 8ms 13:32:19 Loading "unigine_project/materials/unigine_project.mat" 0 materials 0ms 13:32:19 Loading "unigine_project.world" 74ms 13:32:22 Unigine~# editor_load 13:32:30 Loading "editor/editor.cpp" 8350ms 13:32:30 13:32:30 ---- Editor ---- 13:32:30 Version: 2.0 beta 2-r1523 13:32:30 13:32:30 Loading "editor/locale/editor.locale" dictionary 18ms 13:32:32 Loading "editor/locale/source.locale" dictionary 1514ms 13:32:33 Loading "editor/locale/plugins.locale" dictionary 1419ms 13:32:34 Loading "editor/locale/systems.locale" dictionary 623ms 13:32:54 Unigine~# world_load kinect_00 13:32:55 Parser::load(): can't open "samples/plugins/common/plugins.h" file 13:32:55 #include <samples/plugins/common/plugins.h> 13:32:55 kinect_00.cpp:1: Parser::preprocessor(): can't include "samples/plugins/common/plugins.h" file 13:32:55 Parser::preprocessor(): can't load "kinect_00.cpp" file 13:32:55 Interpreter::load(): can't open "kinect_00.cpp" file 13:32:55 World::loadWorld(): can't load "kinect_00.cpp" world script 13:33:02 Close "openal32.dll" 13:33:02 Close "dxgi.dll" 13:33:02 Heap usage: 8.0KB 13:33:02 Memory usage: 32B 13:33:02 System usage: 521B 13:33:02 Allocations: 1 13:33:02 Shutdown this is log Link to comment
sergey.pozhidaev Posted April 28, 2015 Share Posted April 28, 2015 sorry again 17:26:07 Loading "Kinect_x64.dll"... 17:26:07 EnginePlugins::addPlugin(): bad "Kinect" plugin version 0x1000400d 0x0000400d Link to comment
sebastianbah Posted April 28, 2015 Share Posted April 28, 2015 sergey.pozhidaevI'm afraid it's a problem with Kinect and VRPN add-ons. As a workaround for plugins.h missing you can reinstall these add-ons.Correct libraries for float precision you can get from <project folder>/bin/float folder, project with double precision should work correctly.Also, fix for this problem and some hotfixes will be available at the end of this week.Sorry for the inconvenience. Link to comment
sergey.pozhidaev Posted April 30, 2015 Share Posted April 30, 2015 ok, now it works for kinect_00 & kinect_02. kinect_01 not working (not capturing any skeletons, just black screen). what can we do to make it work? Link to comment
unclebob Posted May 3, 2015 Share Posted May 3, 2015 Hi Sergey, Please enable engine visualizer via console (show_visualizer 1) and you'll be able to see skeletons. Link to comment
alexey.egorov Posted May 4, 2015 Share Posted May 4, 2015 Hi Sergey, Please enable engine visualizer via console (show_visualizer 1) and you'll be able to see skeletons. thanks, now it works fine. but still need to force visualizer switch on to prevent confusion. Link to comment
silent Posted May 4, 2015 Author Share Posted May 4, 2015 Indeed, we should force enable visualizer for kinect_01 sample. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
liyan Posted May 25, 2015 Share Posted May 25, 2015 Hi Sergey, Please enable engine visualizer via console (show_visualizer 1) and you'll be able to see skeletons. I have been enabled engine visualizer via console. but it still all black. and the log show this error :Variable::getDVec3Safe(): can't convert vec3 to dvec3 World::update(): world update function return 0 Link to comment
silent Posted May 26, 2015 Author Share Posted May 26, 2015 Hi, have been enabled engine visualizer via console. but it still all black. and the log show this error :Variable::getDVec3Safe(): can't convert vec3 to dvec3 World::update(): world update function return 0 Sorry, but we can't reproduce this behavior with the latest Kinect add-on in the new project. Did you redownloaded the latest add-on version from the SDK Browser? Could you give us step-by-step guide how to reproduce this issue? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
liyan Posted May 26, 2015 Share Posted May 26, 2015 Hi, Sorry, but we can't reproduce this behavior with the latest Kinect add-on in the new project. Did you redownloaded the latest add-on version from the SDK Browser? Could you give us step-by-step guide how to reproduce this issue? Thanks! The error in the log has been solved, I need use the "Kinect_x64.dll" in the float folder,I need replace it by myself. But I can't get a good result, It looks like the picture shows. https://developer.unigine.com/en/gtfl/160(This is the link of the picture. I am not allowed to use that image on this community) What's wrong with this? Hope to get your help. Thanks! Link to comment
silent Posted May 26, 2015 Author Share Posted May 26, 2015 Hi, https://developer.un...com/en/gtfl/160(Thisis the link of the picture. I am not allowed to use that image on this community) Probably, because of the chinese characters in the file name. But I can't get a good result, It looks like the picture shows. Successfully reproduced, thanks. Waiting for a feedback from the dev team. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
liyan Posted May 27, 2015 Share Posted May 27, 2015 Successfully reproduced, thanks. Waiting for a feedback from the dev team. Thanks! I can see the whole body now,I need to move unigine's camera........ Link to comment
silent Posted May 27, 2015 Author Share Posted May 27, 2015 Yes, you are right. But there are still some errors in the engine console, that should be fixed. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted June 25, 2015 Author Share Posted June 25, 2015 Good news! All the Kinect2 addon related issues were fixed in the Unigine 2.0 RC version. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts