Mihara / RasterPropMonitor

Plugin for Kerbal Space Program. This repository is out of date and is primarily of historic interest. See https://github.com/JonnyOThan/RasterPropMonitor
http://forum.kerbalspaceprogram.com/threads/57603
Other
116 stars 67 forks source link

cameraTransform - camera alpha & content problems #621

Closed InsaneDruid closed 6 years ago

InsaneDruid commented 7 years ago

Adding a camera directly to a page (without background handler), ie something like: PAGE { name = tks_va_vzor_zoom_page cameraTransform = va_capsule_nodeVzor cameraAspect = 1.0 zoomFov = 25,65,3 zoomButtons = 0,1 } does sometimes produce images that contain several errors:

This error can most likely be reproduced (if not present since launch) by switching from a vessel to the tracking station and back to the vessel.

Included are some screenshots from a LKO that show the issues and compare them to a camera set up via a background handler. The content of the images are as follows:

camera_transparency_error.png camera_transparency_error camera_transparency_error_monitor.png camera_transparency_error_monitor ghost_kerbin.png ghost_kerbin outbackground handler_inner_direct_cam.png out_background_ handler_inner_direct_cam

MOARdV commented 7 years ago

I'm not entirely surprised. That's an older implementation of the camera, and it hasn't been maintained, nor does it have the same features as the steerable camera background handler. I suspect the issue is that the camera in that mode renders directly to the same screen texture, and both pages are drawing to the same location with different parameters. I really need to deprecate that mode.