{"action":"created","issue":{"url":"https://api.github.com/repos/Mihara/RasterPropMonitor/issues/309","labels_url":"https://api.github.com/repos/Mihara/RasterPropMonitor/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/Mihara/RasterPropMonitor/issues/309/comments","events_url":"https://api.github.com/repos/Mihara/RasterPropMonitor/issues/309/events","html_url":"https://github.com/Mihara/RasterPropMonitor/issues/309","id":95877304,"number":309,"title":"FusTek Station Parts implementation of JSITransparentPod causes significant impact on game performance","user":{"login":"sumghai","id":4993380,"avatar_url":"https://avatars.githubusercontent.com/u/4993380?v=3","gravatar_id":"","url":"https://api.github.com/users/sumghai","html_url":"https://github.com/sumghai","followers_url":"https://api.github.com/users/sumghai/followers","following_url":"https://api.github.com/users/sumghai/following{/other_user}","gists_url":"https://api.github.com/users/sumghai/gists{/gist_id}","starred_url":"https://api.github.com/users/sumghai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumghai/subscriptions","organizations_url":"https://api.github.com/users/sumghai/orgs","repos_url":"https://api.github.com/users/sumghai/repos","events_url":"https://api.github.com/users/sumghai/events{/privacy}","received_events_url":"https://api.github.com/users/sumghai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Mihara/RasterPropMonitor/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"MOARdV","id":6089493,"avatar_url":"https://avatars.githubusercontent.com/u/6089493?v=3","gravatar_id":"","url":"https://api.github.com/users/MOARdV","html_url":"https://github.com/MOARdV","followers_url":"https://api.github.com/users/MOARdV/followers","following_url":"https://api.github.com/users/MOARdV/following{/other_user}","gists_url":"https://api.github.com/users/MOARdV/gists{/gist_id}","starred_url":"https://api.github.com/users/MOARdV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MOARdV/subscriptions","organizations_url":"https://api.github.com/users/MOARdV/orgs","repos_url":"https://api.github.com/users/MOARdV/repos","events_url":"https://api.github.com/users/MOARdV/events{/privacy}","received_events_url":"https://api.github.com/users/MOARdV/received_events","type":"User","site_admin":false},"milestone":null,"comments":22,"created_at":"2015-07-19T02:18:35Z","updated_at":"2016-01-21T10:32:12Z","closed_at":null,"body":"I've recently received a number of user complaints that the latest dev build of FusTek Station Parts causes significant performance hits in KSP when used in conjunction with JSI RPM (as recent as 0.21.1) - specifically, vessels with station modules that use JSITransparentPod causes the game to load and respond very slowly, in some cases causing crashes to desktop (CTD).\r\n\r\nOf all the users, @Starwaster was the only person who provided detailed results from testing my parts, as due to my present circumstances, I don't yet have a computer capable of running KSP to test for myself:\r\n\r\n- Apparently it isn't a drop in FPS; vessel load times, right-click context menus, UI elements (e.g. throttle), non-FusTek animated parts simply respond very slowly; in some cases, the game crashes to desktop with no logs (not sure why no logs?)\r\n\r\n- Back when @Mihara first developed JSITransparentPod, we noted that lighting transforms would exacerbate the issue greatly; experiments involving a dummy transparent pod containing a few basic RPM MFDs suggested (at the time) that if the IVA had no lighting transforms, we could use at least 28 transparent pods on the same vessel with no appreciable performance drop, while if the IVA had lighting transforms, only 3~4 pods could be used before noticeable performance drops are observed\r\n\r\n- As per the previous point, I recently removed the test lighting transforms from the FusTek IVAs, but according to Starwaster, there was no observable improvement\r\n\r\n- I also attempted removing most of the looped prop animations, but again, no observable improvement\r\n\r\n- @Starwaster noted that the also-transparent Kupola seem to perform better than the Karmony crew modules; the main difference between their IVAs is the the Kupola currently has no detail, while the Karmony crew modules have mid-to-high fidelity of detail, equivalent to ALCOR; that being said, they are mostly visual meshes with a handful of colliders for buttons and controls\r\n\r\n- There is no NullRef or similar log spam in the debug console during the slowdown\r\n\r\nAfter a brief discussion with @MOARdV, it's possible that we may be hitting the upper limits of what KSP and Unity can handle (not sure if KSP's upcoming engine migration to Unity 5.x would be of any help).\r\n\r\nI would prefer not to disable transparent windows altogether on my modules, but in the worst-case scenario, I may need to consider that final option.\r\n\r\n**Parts affected**\r\n - Karmony Hab Module\r\n - Karmony Sci Module\r\n - Karmony Util Module\r\n - Kupola Observation Module\r\n\r\n**FusTek Dev Build Location**\r\nhttps://github.com/sumghai/FusTek_StationParts/archive/master.zip\r\n\r\nNote that the contents of the aforementioned download link will automatically be updated whenever I push commits to it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Mihara/RasterPropMonitor/issues/comments/173530414","html_url":"https://github.com/Mihara/RasterPropMonitor/issues/309#issuecomment-173530414","issue_url":"https://api.github.com/repos/Mihara/RasterPropMonitor/issues/309","id":173530414,"user":{"login":"JPLRepo","id":9981382,"avatar_url":"https://avatars.githubusercontent.com/u/9981382?v=3","gravatar_id":"","url":"https://api.github.com/users/JPLRepo","html_url":"https://github.com/JPLRepo","followers_url":"https://api.github.com/users/JPLRepo/followers","following_url":"https://api.github.com/users/JPLRepo/following{/other_user}","gists_url":"https://api.github.com/users/JPLRepo/gists{/gist_id}","starred_url":"https://api.github.com/users/JPLRepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPLRepo/subscriptions","organizations_url":"https://api.github.com/users/JPLRepo/orgs","repos_url":"https://api.github.com/users/JPLRepo/repos","events_url":"https://api.github.com/users/JPLRepo/events{/privacy}","received_events_url":"https://api.github.com/users/JPLRepo/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T10:32:12Z","updated_at":"2016-01-21T10:32:12Z","body":"NP :)"}}