Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
primitives [2019/03/08 13:02] – created adminprimitives [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Primitives ====== 
- 
-Due to performance optimization Gorilla3D introduces their own primitive models. 
-Default FireMonkey primitives TCube, TSphere, TPlane and TCylinder are still supported, but they reduce render speed a lot when there is used large subdivisioning by the user. 
- 
-A sphere could reach an enormous amount of vertices, when subdivision is set to high values. 
-Each time the sphere gets rendered all those vertices are transfered to GPU. 
- 
-To solve this problem, the Gorilla3D primitives TGorillaCube, TGorillaSphere, TGorillaCylinder and TGorillaPlane are inherited from TGorillaMesh and are able to use static framebuffers for fast rendering. 
- 
-Static framebuffers will only push vertex data once to the GPU and render the elements only by switching to the framebuffer. 
- 
-===== Supported primitives ===== 
- 
-==== TGorillaCube ==== 
- 
-==== TGorillaSphere ==== 
- 
-==== TGorillaCylinder ==== 
- 
-==== TGorillaPlane ==== 
-