Re: [opensource-dev] New HTTP Library & Project Viewer

2012-07-31 Thread Kadah
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7/30/2012 4:13 PM, Henri Beauchamp wrote: > Don't put word in my mouths, that I never pronounced... I was not > speaking about *persistent* connections. The current HTTP fetches > are not persistent connections, and that's why 32 simultaneous > requ

Re: [opensource-dev] A rather uniquely unexpected behavior from Second Life's official viewer

2012-07-31 Thread Kadah
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I see this too sometimes. What release channel is the region? On 7/26/2012 7:35 PM, Moriz Gupte wrote: > Hello, I am wondering what could be causing objects to disappear > in the latest Second Life viewer 3.3.4.26 > > See picture of the same scene (

Re: [opensource-dev] converting degrees into quaternions

2012-07-31 Thread CJ Davies
Looks like my problem was an amateur mistake - causing integer division on a float value, which when dealing with values that range between -1 & 1 is fairly debilitating! I'm now getting the right values, but in the wrong places, using the LLQuaternion(F32 x, F32 y, F32 z, F32 w); constructor.

Re: [opensource-dev] converting degrees into quaternions

2012-07-31 Thread Nexii Malthus
Hey Folks, The C++ codebase doesn't have much to do with LSL, so llEuler2Rot won't exactly help. What you are looking for CJ are the helper functions for quaternions, maybe this one will help: const LLQuaternion& setEulerAngles(F32 roll, F32 pitch, F32 yaw); (form llquaternion

Re: [opensource-dev] converting degrees into quaternions

2012-07-31 Thread Sophira Crystal
Hi, To follow up on this... The easiest way to do what you want is to make a vector made up of in degrees, multiply the vector by DEG_TO_RAD, and then put it through llEuler2Rot. You should then have a good rotation that you can pass to a function that needs it. Hope this helps! - Sophie. On

Re: [opensource-dev] converting degrees into quaternions

2012-07-31 Thread Sophira Crystal
Hi, You don't convert degrees to quaternions directly. You convert vectors to rotations (which are quarternions), and you do that with the llEuler2Rot function. As for the rest of your query, you might find http://wiki.secondlife.com/wiki/Rotation helpful - I don't know much about rotations, but

[opensource-dev] converting degrees into quaternions

2012-07-31 Thread CJ Davies
I've been struggling with this for 2 days now & am no closer to working it out (despite investigating all sorts of examples online, including the SL wiki). I have a accelerometer/magnetometer that tells me orientation via compass bearing, pitch & roll. All of these are in degrees which can eas