Amerio.Stephane Posted April 24 Posted April 24 (edited) Hello, IG::CIGI::Connector::get()->setIgnoreInterpolation(false) just disables all CIGI entities movement, instead of behaving as if IG Control smoothing was disabled. There is no equivalent in DIS (to fully disable the interpolator/extrapolator and simply put entities at their last received position/orientation) (which would be the equivalent of receiving a STATIC DRA) CIGI/DIS interpolation are inconsistent time-wise: if a CIGI entity and DIS entity are received at the same time (dt<<1ms) with the same coordinates and equivalent interpolation flags, their position/orientation should be quite close and above all consistent (this is quite critical for us, I'll later make a dedicated ticket with more reproduction info and tools. As of now, DIS objects are jumping all around their CIGI counterpart when moving) In 2.21, 1/ could be simulated in the new on_receive callback by overriding entityctrl/smoothing. 2/ could be simulated by forcing DRA in the on_receive, but it's not as nice as using a console command for on-site debug. EDIT: removed wrong bug report Edited April 24 by Amerio.Stephane
silent Posted April 27 Posted April 27 Hi Stephane, 3) For CIGI-DIS interpolation I would suggest to continue discussion in the corresponding support ticket (18346). As far as I understand there is no straightforward way to make it work, simply because these two protocols have quite fundamental difference in the interpolation handling (CIGI is quite simple, but DIS has a lot of DRA options available out of the box). Maybe we didn't understand correctly the initial use-case and if you can provide us a bit more information on this issue it would result in a different outcome. The most confusing part so far is the 'attachment' and what it really means, is it non-removable part that can't move on it's own or it's a part that can be detached at any time and start moving separately and independently from the root node? 1) That looks like a bug, will be fixed in the upcoming updates. 2) This feature would require some time to implement, I will create a feature request in our internal bug tracker. Is there any strict deadlines when you need this? Thank you! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Amerio.Stephane Posted April 27 Author Posted April 27 1/ good if you can confirm this is a bug 2/ No worries, I already implemented the workaround in the new on_receive callbacks (sooooo great to have them, thanks!); it might just be useful for others too 1
silent Posted May 6 Posted May 6 Hi Stephane, Quote IG::CIGI::Connector::get()->setIgnoreInterpolation(false) just disables all CIGI entities movement, instead of behaving as if IG Control smoothing was disabled. That should be fixed in the latest 2.21.0.2 release. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts