Mouse control for 3D Cabs
#16
Posted 20 September 2017 - 03:33 AM
#17
Posted 20 September 2017 - 08:05 AM
In 2D it works fine. Better now to see the names of the controls when hovering over.
#18
Posted 20 September 2017 - 08:41 AM
sorry, i have the shortcut to start Usedom on my desktop, but it doesn't find the Usedom installation any more. Can you provide me the full trainset?
#20
Posted 20 September 2017 - 10:45 AM
#21
Posted 20 September 2017 - 11:35 AM
#22
Posted 20 September 2017 - 02:15 PM
Csantucci, on 20 September 2017 - 10:45 AM, said:
Ok. Because it works without problems to you, I suspected that we have different options selected. So I found the problem: It is if "dynamic shadows" is selected. Then you get strange effects (at least I get them on my computer). Hovering over a control make the mouse pointer flashing and after 2 seconds it will disappear every time. Sometimes the shown actuation control info even changes without moving the mouse.
Do you have the same effects when using dynamic shadows, Carlo?
#23
Posted 20 September 2017 - 02:28 PM
#24
Posted 20 September 2017 - 02:38 PM
#25
Posted 20 September 2017 - 10:56 PM
thank you for having successfully chased it! Yes, I had dynamic shadows disabled. By enabling them, I get the problem too. Now I hope not to need too much time to solve this.
#26
Posted 21 September 2017 - 01:33 AM

Number of downloads: 537
P.S.
Checking further shows that the problem disappears avoiding execution of DrawShadows in RenderFrame.cs, or even avoiding only execution of these two lines
graphicsDevice.SetRenderTarget(0, ShadowMapRenderTarget[shadowMapIndex]); graphicsDevice.DepthStencilBuffer = ShadowMapStencilBuffer;
and this line
ShadowMap[shadowMapIndex] = ShadowMapRenderTarget[shadowMapIndex].GetTexture();
within such method.
#27
Posted 22 September 2017 - 09:32 AM
#28
Posted 22 September 2017 - 12:06 PM
#29
Posted 22 September 2017 - 02:26 PM
Your last posts sounds as it was a bit tricky to adjust it in the code. Thanks for solving it!