Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
viewport [2020/05/25 13:48] – [Rendering-Order] admin | viewport [2021/01/22 09:33] – [Creating a viewport at runtime] admin | ||
---|---|---|---|
Line 23: | Line 23: | ||
<file pascal Form1.pas> | <file pascal Form1.pas> | ||
uses | uses | ||
- | | + | |
Gorilla.Viewport; | Gorilla.Viewport; | ||
Line 49: | Line 49: | ||
A render-cycle is the process of rendering everything needed for a frame. | A render-cycle is the process of rendering everything needed for a frame. | ||
- | - all pre-processing render passes (represented by instances of TGorillaRenderPassController | + | - all pre-processing render passes (represented by instances of TGorillaRenderPassController) |
- main render pass | - main render pass | ||
- all post-processing render passes (represented by instances of TGorillaRenderPassController) | - all post-processing render passes (represented by instances of TGorillaRenderPassController) | ||
Line 55: | Line 55: | ||
**Render-Pass** | **Render-Pass** | ||
- | A render pass is a closed unit for rendering specific elements or some kind of effect. | + | A render pass is a closed unit for rendering specific elements or some kind of effect, inside of a step of the render-cycle. |
- all opaque objects (not transparent) | - all opaque objects (not transparent) | ||
Line 61: | Line 61: | ||
- compositing opaque and transparent render result | - compositing opaque and transparent render result | ||
+ | Read more: [[renderpass|Renderpasses]] | ||
===== Frame-Rate ===== | ===== Frame-Rate ===== | ||
==== Requesting FrameRate (FPS) ==== | ==== Requesting FrameRate (FPS) ==== | ||
Line 84: | Line 85: | ||
===== FrustumCulling ===== | ===== FrustumCulling ===== | ||
+ | The viewing frustum is a geometric representation of the volume visible to the virtual camera. Naturally, objects outside this volume will not be visible in the final image, so they are discarded. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | This is a great boost to the performance of your application, | ||
+ | The FrustumCulling property enables or disables the functionality in general. | ||
+ | |||
+ | But you can activate/ | ||
+ | <file pascal> | ||
+ | GorillaCube1.FrustumCullingCheck := false; | ||
+ | </ | ||
+ | |||
+ | If FrustumCullingCheck is set to FALSE, it will always be rendered, wether it's inside or outside of the view frustum. | ||
+ | |||
+ | Take care, that the frustum culling may affect render-passes, | ||
===== HighRes ===== | ===== HighRes ===== | ||