How big can a TViewport3D be made?

How big can a TViewport3D be made?

I did an experiment. The test app (XE4/Win32) makes the Viewport bigger with each button click until exception occurs.

Reason: I want to render bigger images, bigger than the screen. The area positioned outside of the screen does get rendered and can be extracted via Viewport.Context.CopyToBitmap. But how big can the Viewport actually be? What is a typical limit? And how can I know in advance?

On topic is also how to best handle the error, both in the FMX library and in the developer's app.

(Will post test code in a comment.)

Comments