129
edits
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
It would be nice to have all landclass images and this single per tile image to all have the same resolution, so we could use a texture array. This allows us to draw an entire tile (other than linear road / rail / stream ) in one openGL draw call. | It would be nice to have all landclass images and this single per tile image to all have the same resolution, so we could use a texture array. This allows us to draw an entire tile (other than linear road / rail / stream ) in one openGL draw call. | ||
== Progress == | |||
The below table is my first attempt at a work item breakdown. I imagine we'll need to add / remove entries as work progresses. | The below table is my first attempt at a work item breakdown. I imagine we'll need to add / remove entries as work progresses. | ||
Line 43: | Line 45: | ||
| genapts || runway texture atlas || {{pending}} | | genapts || runway texture atlas || {{pending}} | ||
|- | |- | ||
| genapts || linear and runway marking triangle vertices have texture coordinates of underlying pavements || {{Progressbar| | | genapts || linear and runway marking triangle vertices have texture coordinates of underlying pavements || {{Progressbar|40}} | ||
|- | |- | ||
| genapts || pass runway touchdown point as vertex attribute || {{pending}} | | genapts || pass runway touchdown point as vertex attribute || {{pending}} | ||
Line 73: | Line 75: | ||
| tgconstruct || .spt file generation || {{pending}} | | tgconstruct || .spt file generation || {{pending}} | ||
|} | |} | ||
== Development Notes == | |||
A fairly large snag while developing secondary texture coordinates : tc scaling is done per material, and the scaling needs to be looked up by material name. | |||
Currently, the btg file stores lists of triangles/strips/fans under a common material name. A draped material may lie on multiple underlying materials. | |||
In the short term, my plan is to ignore texture coordinate scaling. The main use case for this is the linear features over airport pavements and runways. | |||
A quick check shows that these materials do not use tc scaling, so we should be ok. | |||
If we get to the point where we drape roadways over general terrain, however, we will need a real solution. | |||
{{Terra}} | {{Terra}} | ||
[[Category:Core development projects]] | [[Category:Core development projects]] |
edits