Open eugeneloza opened 6 years ago
See here thoroughly https://github.com/eugeneloza/castle-engine/blob/master/examples/3d_rendering_processing/multiple_viewports.lpr
Looks like overriding Render
is even better.
Warning: shouldn't need to render portraits in the World as it might be very heavy on FPS. Characters models must be in their "separate" scenes for portrait rendering and paperdolls.
Rendering through intermediate image doesn't seem like a good solution in efficiency, however, that might provide another way to control FPS. Thou, it looks too complex, so I believe just making a live render is better. I just need to understand how to put it between interface elements :)
Equal API to either DImage or real-time render (viewport) (maybe even with frame skips! - in management)
Is it possible (without too much problem) to render one viewport with some model and another - without? I believe through Scene.Exists would be the best choice.