"how to plot country names on the globe, so the mesh will be aligned with the surfaces" Code Answer

5

very interesting question.i have tried this way, we can regard the text as a plane. lets define a normal vector n from your sphere center(or position) to point on the sphere surface where you want to display text. i have a simple way to make normal vector right. 1. put the text mesh on sphere center. text.position.copy(sphere.position) 2. make text to the point on sphere surface, text.lookat(point) 3.relocate text to the point. text.position.copy(point)

By Sheldon Warkentin on April 3 2022

Answers related to “how to plot country names on the globe, so the mesh will be aligned with the surfaces”

Only authorized users can answer the Search term. Please sign in first, or register a free account.