Search code examples
apache-flexflashpapervision3d

Need to put markers on a papervision3d model (esphere) on execution time (flash/flex)


I'm using papervision3d to load a 3D sphere with the world texture on a Flash project. I want to know how can I put a marker on the model given a coordinate? Example: two angles, and with marker I refer to a simple movieclip or similar. Thanks.


Solution

  • You will need to convert to from spherical coordinates(uses 2 angles and a radius) into cartesian coordinates(x,y,z).

    Papervision Geocoding
    (source: psyked.co.uk)

    Luckily there is a nice article out there that explains this using Papervision.

    Someone else also recorded a video tutorial.

    HTH