I am working on simulation by rendering virtual global planet. I tried to move closer to that surface but something moved into higher LOD level wrong area not at my view position.
Does anyone know have any programming to debugging tiles by print per-tile information as identification like “LOD 4 (34,128) 26.0N 80.0W”? I want to print information on tile around mountains or hills like texture warpping and semi-transparent lines across tile as grids and borders.
I know how to convert planetocentric coordinates to longtitude/latitude by using acos and atan2 function calls. Also I have own font library to make texture bitmap from text message then print it on tile and can scale it down to fit border-to-border tile area.
Does anyone have any example codes?
Thanks,
Tim