[Papervision3D] convert material coords to sphere 3d coords

Makc makc.the.great at gmail.com
Wed Dec 17 07:21:55 PST 2008


On Tue, Dec 16, 2008 at 11:35 PM, den ivanov <cleoag at gmail.com> wrote:
> Also i need to draw 3D arcs between cityes. Maybe someone already do this
> and can share the code?

if you mean you need to draw arcs of great circles in texture
(lat/lon) coordinates, attached code may help you. if you mean to do
that in 3d, it is easier to rotate (or even interpolate + normalize)
vector between two cities and connect with 3d line.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GreatCircle.as
Type: application/octet-stream
Size: 2813 bytes
Desc: not available
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20081217/32cb3e92/attachment.obj>


More information about the Papervision3D mailing list