OpenKeeper icon indicating copy to clipboard operation
OpenKeeper copied to clipboard

Use viewport to make the view smaller (especially in cinematics)

Open tonihele opened this issue 9 years ago • 4 comments

Use viewport to make the view smaller (especially in cinematics). The normal playing view is even clipped in the original game, we should do the same, clip the bottom part away if the GUI is visible there. This goes especially to cinematics where the screen is really small. Now we just use Nifty GUI to make it appear smaller. Making the view actually smaller we have less to render.

tonihele avatar Feb 20 '16 19:02 tonihele

I know how to reduce the viewport, but is it really needed? Better made fade in and fade out effect for cinematic

ArchDemons avatar Feb 20 '16 21:02 ArchDemons

It is not a high priority job, and most likely not an issue with our assets. But when/if we add shadows and real lights.. We need to reduce the view (cull) range and this is a good way to start. But yeah, it can wait.

tonihele avatar Feb 20 '16 21:02 tonihele

It also would make the UI tooltips easier, since the PlayerInteractionState interferes constantly.

tonihele avatar Jun 21 '16 21:06 tonihele

https://docs.jmonkeyengine.org/advanced/multiple_camera_views.html https://hub.jmonkeyengine.org/t/resizing-camera-viewport/28779

ufdada avatar Sep 14 '16 07:09 ufdada