ivan.cuevas Posted July 22, 2014 Share Posted July 22, 2014 Hi all, I've attached a basic sample based on tracker/nodes_00 sample. Basically it should make the same, but with the following differences: I've added a new node called 'my_statue' loaded from a node file I've added a track parameter to change 'my_statue' position in nodes_03.track When you run the sample 'my_statue' remains static, if you load track in tracker editor you can verify the tracker parameter it's resolved for this node, but the id is different from the id expressed in Nodes editor. Two more observations: In tracker editor, If you change the name to 'my_statue_0' (accept the error) and restore the name again the node is resolved properly. If I change TrackerParameter::loadTrack() to ignore "id" Xml argument it works. Tested in: 08:51:50 Loading "D:/_development_/externalvc10/UNIGINE/UNIGINE_Sim_source_windows_2014-07-07/bin/../data/unigine.cfg"... 08:51:50 Loading "Interface_x64.dll"... 08:51:50 Loading "dxgi.dll"... 08:51:50 Loading "openal32.dll"... 08:51:50 Set 1366x768 windowed video mode 08:51:50 Unigine engine http://unigine.com/ 08:51:50 Binary: Windows 64bit Visual C++ 1600 Release Jul 7 2014 r14944 08:51:50 Features: OpenGL Direct3D9 Direct3D11 OpenAL XAudio2 XPad360 Joystick Flash Editor Double 08:51:50 App path: D:/_development_/externalvc10/UNIGINE/UNIGINE_Sim_source_windows_2014-07-07/bin/ 08:51:50 Data path: D:/_development_/externalvc10/UNIGINE/UNIGINE_Sim_source_windows_2014-07-07/data/ 08:51:50 Save path: D:/_development_/externalvc10/UNIGINE/UNIGINE_Sim_source_windows_2014-07-07/bin/08:51:50 08:51:50 ---- System ---- 08:51:50 System: Windows 8 (build 9200) 64bit 08:51:50 CPU: Intel® Core i7 CPU 960 @ 3.20GHz 3238MHz MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 HTT x4 08:51:50 GPU: NVIDIA GeForce GTX 560 Ti 9.18.13.3788 x1 08:51:50 System memory: 22526 MB 08:51:50 Video memory: 1024 MB 08:51:50 Sync threads: 3 08:51:50 Async threads: 4 Best regards. tracker.tar 1 Link to comment
sebastianbah Posted July 25, 2014 Share Posted July 25, 2014 Hello,Tracker use object's ID as the main identifier. If ID in track file is incorrect it uses Name to find new ID.I'm afraid there is some collision between ID stored in .node file and actual id of added mesh.So, in this case it would be better to ignore ID's or change ID to incorrect in *.track file.Sorry for inconvenience caused. Link to comment
Recommended Posts