eugeneloza / decoherence

Project moved to https://gitlab.com/EugeneLoza/decoherence
GNU General Public License v3.0
10 stars 7 forks source link

DPortraitImage #422

Open eugeneloza opened 6 years ago

eugeneloza commented 6 years ago

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.

eugeneloza commented 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.

eugeneloza commented 6 years ago

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.

eugeneloza commented 6 years ago

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 :)