Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
primitives [2020/05/25 14:13] – [TGorillaCylinder] admin | primitives [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, | ||
- | |||
- | 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 ==== | ||
- | ==== TGorillaCapsule ==== | ||
- | ==== TGorillaPlane ==== | ||
- | ==== TGorillaCone ==== | ||
- | ==== TGorillaTube ==== | ||
- | ==== TGorillaTorus ==== | ||
- | |||
- | Next step:: [[terrain|Terrain]] |