Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
primitives [2019/03/12 13:02] – [TGorillaPlane] 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 ==== | ||
- | |||
- | ==== TGorillaPlane ==== | ||
- | |||
- | Next step:: [[terrain|Terrain]] |