TerraGear roadmap: Difference between revisions

Jump to navigation Jump to search
Line 86: Line 86:
== Development Notes ==
== 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.
*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.
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 scalingThe main use case for this is the linear features over airport pavements and runways. 
*Linear feature intersections are working, and committed to terragear/masterI'll post screenshots, and details of the algorithm shortly.
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.


== preview ==
== preview ==
129

edits

Navigation menu