Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
0.8.4:primitives [2022/06/16 15:50] – [TGorillaGrid3D] admin | 0.8.4:primitives [2022/07/22 12:55] (current) – [TGorillaModel] admin | ||
---|---|---|---|
Line 283: | Line 283: | ||
==== TGorillaGrid ==== | ==== TGorillaGrid ==== | ||
- | {{:0.8.4:p_grid3d.jpg? | + | {{:0.8.4:p_grid.jpg? |
<file pascal> | <file pascal> | ||
Line 309: | Line 309: | ||
==== TGorillaGrid3D ==== | ==== TGorillaGrid3D ==== | ||
+ | |||
+ | The Grid3D component is a container holding 3 instances of TGorillaGrid for each 3D axis: GridX, GridY and GridZ. | ||
{{: | {{: | ||
Line 325: | Line 327: | ||
FGrid3D.SetSize(10, | FGrid3D.SetSize(10, | ||
| | ||
- | /// increase frequency | + | /// to modify each grid inside |
- | FGrid3D.GridX.Marks := 2; | + | FGrid3D.GridX.DefaultLines |
- | FGrid3D.GridX.Frequency := 0.5; | + | FGrid3D.GridX.Frequency := 1.5; |
+ | FGrid3D.GridX.Marks := 2.5; | ||
+ | FGrid3D.GridX.LineColor := TAlphaColorRec.Cornflowerblue; | ||
end; | end; | ||
</ | </ | ||
Line 337: | Line 341: | ||
For detailled reading on loading models, please have a closer look [[models|here]]. | For detailled reading on loading models, please have a closer look [[models|here]]. | ||
- | Next step:: [[terrain|Terrain]] | + | Next step: [[cameras|Cameras]] |