Jerome, what are you eating there? you feel like full of power ;)

On 24/06/2009, elguapoloco <[email protected]> wrote:
>
> Some of you may have seen this excellent PV3D tutorial:
> "Geolocation in Papervision3D - Plus some Quaternion Stuff"
> link: http://blog.zupko.info/?p=221
>
> I am working on a implementation using Away3D for a locations map.
> Link:
> http://clients.stcassociates.com/stc/locationsMap/demo2/STC_Locations_Map_3D.html
>
> I just want to point out that you can in Away3D position the markers
> in 3D space without an ounce of Quaternion.
>
> Thanks to ObjectContainer3D! The markers in my version extend
> ObjectContainer3D. They have an objectsContainer (another
> ObjectContainer3D) that holds the Cube and it's label. The
> objectsContainer  is moved along the z axis to where you want it over
> the earth's surface. Then the marker is rotated using the following
> code:
> rotationX = -lat;
> rotationY = 90 - lon;
>
> Done. Latitude and Longitude are in degrees and obviously already
> represent real world rotations. No need to calculate anything more.
> The shadow is positioned using Google Geolocations.
>
> Cheers,
>
> Jerome.


-- 
katopz
http://www.sleepydesign.com

Reply via email to