Jump to content

Bloodsong Termagant

  • Content Count

  • Joined

  • Last visited

Community Reputation

10 Good

About Bloodsong Termagant

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. technical questions for the lindens. (or if anybody knows??) 1: BAKES PLACEHOLDER TEXTURES: are we gonna get, in the library maybe, the textures for the bake zones? so we can just throw the textures onto stuff, instead of having to always use a script? 2: BAKES ON ANIMESH: yes, yes, it only works on avatars, because only avatars can wear skins, tattoos, etc etc. but i understand enabling animesh to use body shapes is in the pipeline. if animesh can be made to use/wear body shapes, perhaps it could also be made to wear... skins and tattoos, etc etc etc... someday? well. i can hope? thank you, and everybody enjoy your baking! i know i am
  2. i had two sell orders placed and waiting before the whole Tilia thing arrived. and they were sitting there pending. i recently cancelled one, in order to try a different sell price. then when i went to sell them, i ran into the whole 'you need to register for tilia' etc etc deal. that's fine. but what is going on with the lindex orders that were placed before the Tilia thing came in, and are not being filled until afterward? will they be processed using the 'old' system? will they be processed into tilia, and then people will have to register with tilia to finish the transaction? are they in limbo and not being processed at all?? my friend also has a buy order that was placed before the changeover, and she is still waiting... will she wait forever? that would be good to know...! thanks!
  3. i have a set of riding animations... and i'm sure you don't want to hear my whole sob story about THOSE. the pertinent point is, i need to make a hip/COG animation that has the hip in position (up in the air), and nothing else, while turning left and right. and, because reasons, it needs to be priority 3 or less. simple, right? i made an animation that has the COG location, loops that, no ease, yadda yadda. YET, unless i make that animation PRIORITY FOUR, the avatar sinks to standing on the ground while turning. i can't explain this, because the animation info shows two animations involved in turning: turnright/turnleft at priority 1 and walk adjust at proirity 2. (and a bunch of priority 0-2 system background animations.) according to the wiki: https://wiki.secondlife.com/wiki/Internal_Animations the only animations with priority 3 are the (female)walk. i'm not initiating any walk, i'm just turning in place. i don't see any notes on the turning animations that there is a secret(?) different priority for the hips in those animations. maybe there is??? (does everybody already know this but me?????)
  4. OH THANK GOODNESS! i saw that what i was doing was TOTALLY wrong... especially as y approached zero... thank you so much, for helping me untangle THAT mess. i'm still trying to picture what's going on... but the formula is working! and i will definitely have to bookmark that, kyrah!
  5. i think i figured out what i'm doing wrong. i am trying to calculate the angle of a slope between two points. point 1 = the spot directly below the avatar where it is standing. (in region coordinates) point 2 = the spot the ray intersects the ground ahead of the avatar. (in region coordinates, translated from the avatar's local forward axis) and i have this formula: angle = RAD_TO_DEG*( llAtan2( (p2.z - p1.z),(p2.x - p1.x) )); i THINK the problem is, that i'm just using the X and Z coordinates, and not correcting for the Y coordinate, if the avatar is not facing along the global X axis. so i found this: https://www.euclideanspace.com/maths/geometry/elements/projections/index.htm how to project a point (my target hit with x,y coordinates) onto a line (the global x axis). um... okay, so i have to take the line that is the avatar's facing, project a line at a right angle to that line from the point, and find out where it hits the X axis. uh... yeah, i dunno how to do that :/ except by drawing on graph paper! :X drawing: https://prnt.sc/onjtdl okay, i worked THIS out: http://prntscr.com/onk6ao if i can just get the x/y plane distance of a, then calculate the x/y coordinate of 2a along the avatar facing... THAT x coordinate should be the one i need. and i don't need to mess around with all those pythagorean thingies. what's the 2d version of llVecDist? oh, set the Zs to 0 first... okay, i came up with this, and it returns total BS. it even returns different answers if i click it (activate the calculation by touch) multiple times, without moving in between. float getSlope() { float ht = 0.75; //--normally a calculated global. vector pos = llGetPos(); //--we know where the floor is, cuz we're standing on it @ -ht. vector target = pos; rotation rot = llGetRot(); target = pos + <3.*ht,0.,0.> *rot;//-- test 3 ahead and 2.5 down target.z = target.z - 2.5*ht; // llOwnerSay("Aiming "+(string)pos+" to "+(string)target); list res2 = llCastRay(pos, target, [RC_REJECT_TYPES, RC_REJECT_AGENTS | RC_REJECT_PHYSICAL, //RC_DATA_FLAGS, RC_GET_NORMAL, RC_MAX_HITS, 1]); llOwnerSay("RC returned:"+llDumpList2String(res2, ",")); float angle; if(llList2Integer(res2, -1) != 0) { vector p1 = pos; vector p2 = llList2Vector(res2, 1); //--calculate X without Y vector xy1 = p1; vector xy2 = p2; xy1.z = 0.0; //--get rid of Z influence xy2.z = 0.0; float dist = llVecDist(xy1,xy2); vector xTarget = pos + <2*dist, 0., 0.> * rot; //--SLOPE: p1.z -= ht; //--make this the floor p1.x = xTarget.x; //--make this our actual distance along avatar FWD angle = RAD_TO_DEG*( llAtan2( (p2.z - p1.z),(p2.x - p1.x) )); } else //--we didn't hit anything, the slope is WAY down. angle = -45.0; //--midway to down. fudged. if(angle > 90.0) angle -= 180.0; else if (angle < -90.0) angle += 180.0; return angle; } and no, i don't know how to do angle math, either :X
  6. hey, thanks, madelaine! buuuuut, i'm having trouble. i'm trying to get the angle from the slope. which is the z difference divided by the x difference, which gives me one float. the llAtan2 is looking for 2 floats. annnnnnd i don't know what those are supposed to be? i tried using the z difference and the x difference in the formula, but i came out with 1.5 for the 45 degree slope. hmm, in good news, facing down the incline gave me -1.5, so at least it's sensing direction... and now a 30 degree slope is giving me bogus answers. i'm sorry, this is why i'm an artist, not a mathematician!! okay, the wiki page says it is dividing the two inputs. i still don't get it. WAIT! further reading shows, that the fool thing is returning PI. so. RAD_TO_DEG to the rescue? or is it that other fool thing. should not post while in the middle of doing stuff. okay, it's consistently coming out to be 12 degrees more than the angle i have the prim facing. i'm not anticipating needing the exact angle, so that's good enough for me... just weird.
  7. so on my slope quest... i have two coordinates, one that is right below my avatar, and one that is about 2 meters ahead of it. these are raycast coordinates, shooting out from the avatar's center point. anyway, i have gotten the formula that the angle of the slope is Tan^-1 (slope). and slope = (z2 - z1)/ (x2 - x1). vector p1 = llList2Vector(res1, 1); vector p2 = llList2Vector(res2, 1); float angle = llPow(llTan( (p2.z - p1.z)/(p2.x - p1.x) ), -1); so tangent of the slope to the -1 power. i'm standing on a prim rotated at 45 degrees, and facing upslope. but the angle keeps coming out to tiny numbers like -0.41267. eh??? my brain is melted. https://www.quora.com/How-can-you-find-the-angle-of-line-by-using-its-slope if you're nuts, these are some of the readouts i got: yeah, i tried getting the normals, but... i don't think i can wrangle those into anything useful for my purposes. i'm trying to see if the avatar is walking up or down a slope, and how steep it is. the normal just gives me the angle of the prim surface, not any idea of which way im facing on it.
  8. YES! and using get local rot was totally wrong. THANK YOU!
  9. i know i know how to do this... sorta. but i can't seem to figure it out. okay, i'm trying to ray cast from an attachment, and i want to get the spot straight down from the center of my avatar (easy, thats llGetPos and lower the z coordinate), and "ahead" of my avatar. which i know is local pos + x, BUT... to get that in region coordinates, compared to which way my avatar is facing, i need to use (i think??) Rot2Fwd. i'm just... not sure where/how? vector fwd = llRot2Fwd( llGetLocalRot() ); vector targetPos = llGetPos() + (fwd* ht); this is from the example on the wiki page... http://wiki.secondlife.com/wiki/LlRot2Fwd it says 'to move an object 5 meters on its forward axis.' in this case i'm moving it "ht" meters on its X axis. or... not MOVING it, but getting a coordinate that is supposed to be ht meters ahead of where i am. but when i face the Y axis... i'm not getting a change in the Y axis calculation? :/ no. i changed 'ht' to 10 meters, but only the x coordinate is ever changing. it's been a long day...
  10. thank you, whirly, for organizing that and bringing it to the Labs' attention. and THANK YOU, LINDENS, for fixing it! i was gonna post that on there, but comments are closed.
  11. has anyone tried to get an inventory synch to fix this problem? i haven't yet, as i want to keep all the junk i have been uploading to beta in the past month :X
  12. thank you, whirly! i keep posting this i found from you, to try to help people: http://aditi.coreqa.net/gridtool.php would it help the ticket at all if i added a comment with how long i have been having this problem, and what voodoo i've tried to work around it? or do you have the technical side all wrapped up for that? i did just try with both the updated LL viewer, and the updated firestorm. still failing. i am able to intermittently connect... but i have not found a reproduceable reason for it.
  13. please see this thread, also: according to this, beta grid is up, and there are people on there. (it doesn't list all regions, i don't know why. and i don't know what half of that grid means, like why some are red.) i've been having trouble logging on to the beta grid all month. SOMETIMES it works. mostly, it doesn't. i was about to see about filing a ticket about it. most other residents i know are having NO PROBLEMS logging in to the beta grid. at least i'm not the only one? and neither are you? voodoo workaround: (this did work... the first time i tried it) if you are using the account selector drop down... where it says [username]@Second Life Beta... delete everything but the user name. make sure the grid selector is still on Beta, and you will have to type in your password. good luck!
  14. this is still going on. i can only log into the beta grid intermittently. i tried all the voodoo above; i tried logging into the main grid, then beta (that worked once or twice); i rebooted my modem and router; i rebooted my computer; i tried logging in to my last location, Morris, Ahern, Sandbox Pristina, and a random sim that the aditi status page showed had agents in it; i EVEN tried the official viewer (gasp!). should i file a ticket? i don't understand why ALL of my accounts are having problems, and it seems NONE of anybody else's accounts are.
  • Create New...