|Anonymous | Login | Signup for a new account||2020-01-26 01:16 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006082||opensim||[REGION] OpenSim Core||public||2012-07-09 23:55||2012-07-19 23:25|
|Platform||Linux||OS||openSUSE 11.4 (x86_64)||OS Version||11.4|
|Target Version||Fixed in Version|
|Summary||0006082: llWind points in a very different direction than the viewer wind|
|Description|| I'm used to the SL llWind() returning a slightly different direction than the direction that the viewer wind points (where particles blow and flexies bend). On SL the two often look about 10 degrees apart, but generally point in the same direction.|
However on Open Simulator, the llWind(ZERO_VECTOR) seems to point in a completely random direction compared to the particle and flexy wind. Sometimes they almost point in the same direction, sometimes they point 180 degrees apart. I have not been able to see any pattern.
I have verified that the problem happens on Open Simulator 0.7.1.1 standalone and on 0.7.4 dev on osgrid. It happens with Imprudence, Phoenix or Firestorm viewers. I did all my testing in regular sized (256x256) regions.
|Steps To Reproduce|| Create a tall thin box,(.5,.5,4) mark it as flexy with softness 3, gravity 0 drag 1 wind 5. It will bend downwind. Place the following script in the box, it will generate a stream of particles that blow down wind. Note that the two point in the same direction, when the wind has given them time to settle down.|
list params=[ //make the smoke
PSYS_PART_FLAGS,PSYS_PART_FOLLOW_VELOCITY_MASK | PSYS_PART_WIND_MASK ,
Then create a box that is longest in the X direction (1.5,0.5,0.5). I like to put a notch in the negative X end by setting path cut end to 0.75. Then I can tell that the other end is the positive local X direction. Place the following script in this prim. It will start pointing in the direction of llWind.
float ang = RAD_TO_DEG*llAtan2(wnd.y,wnd.x);
if (ang<0.0) ang += 360.0; //display direction in +degrees
Note that the viewer wind (particles and flexies) and the server wind (llWind) do not point in the same direction.
|Tags||No tags attached.|
|Git Revision or version number||what does git stand for?|
|Run Mode||Standalone (1 Region)|
|Environment||Mono / Linux64|
|Viewer||Any, Impudence, Phoenix..|
|Attached Files|| Wind_003.png [^] (310,941 bytes) 2012-07-09 23:55|
WindDir_001.png [^] (263,765 bytes) 2012-07-19 23:22
edited on: 2012-07-11 02:28
Try creating a 16sqm plot and make sure all the prims are in that small parcel. Looks pretty close when you do that.
Update. wind values seems to be generated on a 16x16 grid for the region so is probably consistent in that area
Kayaker Magic (reporter)
|OK, I placed both prims on exactly the same location. Parcel size should not matter. Look at the WindDir_001.png image I uploaded. It shows the sever wind pointing at SSE while the viewer wind (flexies and particles) is pointing almost 180 degrees different at NNE. When the wind changes direction every few seconds, both the prims turn to a new uncorrelated direction. Perhaps you were lucky and they accidental pointed in the same direction? Wait a while and see what happens.|
|2012-07-09 23:55||Kayaker Magic||New Issue|
|2012-07-09 23:55||Kayaker Magic||File Added: Wind_003.png|
|2012-07-11 01:03||Talun||Note Added: 0021783|
|2012-07-11 02:28||Talun||Note Edited: 0021783||View Revisions|
|2012-07-19 23:22||Kayaker Magic||File Added: WindDir_001.png|
|2012-07-19 23:25||Kayaker Magic||Note Added: 0021844|
|Copyright © 2000 - 2012 MantisBT Group|