Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003535opensim[REGION] Script Functionspublic2009-04-26 04:502011-07-26 05:11
Reporterthomax 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003535: texture rotation changes when llSetTexture gets called.
Descriptionwhen you have a texture rotation >= 180deg and apply a new texture with llSetTexture the rotation changes on every texture call:

default
{
    state_entry()
    {
        llRotateTexture(180*DEG_TO_RAD, ALL_SIDES);
        llOwnerSay("initial: "+(string)llGetTextureRot(0));
        llSetTimerEvent(.01);
    }
    timer() {
        llSetTexture("0d5f8309-f488-47e2-850c-61836ab11124", ALL_SIDES);
        llOwnerSay("askewed: "+(string)llGetTextureRot(0));
    }
}

results to:

[03:43] Primitive: initial: 9.425258
[03:43] Primitive: askewed: 9.425641
[03:43] Primitive: askewed: 9.426024
[03:43] Primitive: askewed: 9.426408
[03:43] Primitive: askewed: 9.426791
[03:43] Primitive: askewed: 9.427176
[03:43] Primitive: askewed: 9.427559
[03:43] Primitive: askewed: 9.427942
[03:43] Primitive: askewed: 9.428326
[03:43] Primitive: askewed: 9.428709
[03:43] Primitive: askewed: 9.429092
[03:43] Primitive: askewed: 9.429476
[03:43] Primitive: askewed: 9.429860
[03:43] Primitive: askewed: 9.430243
[03:43] Primitive: askewed: 9.430627
[03:43] Primitive: askewed: 9.431010
[03:43] Primitive: askewed: 9.431394
[03:43] Primitive: askewed: 9.431777
:
:
:

as you can see here, the value changes with every call. and, btw., the result of llGetTextureRot() didn't look like normalized radians, which is another bug.

TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux32
Mono Version2.0.1
Viewer
Attached Files

- Relationships
related to 0002357confirmed llOffsetTexture causes texture rotation to change 
related to 0003644confirmed Negatively rotated textures rotate slightly further whenever any texture-modifying function is applied to the face 

-  Notes
(0011098)
Michelle Argus (reporter)
2009-04-27 01:22

Looks like the rotationproblem might be related to Mantis 2357, were the texture also rotates when using llOffsetTexture
(0019117)
makopoppo (manager)
2011-07-26 05:11

The issue still exists in OpenSim 0.7.2-dev

- Issue History
Date Modified Username Field Change
2009-04-26 04:50 thomax New Issue
2009-04-26 04:50 thomax SVN Revision => 9314
2009-04-26 04:50 thomax Run Mode => Grid (Multiple Regions per Sim)
2009-04-26 04:50 thomax Physics Engine => ODE
2009-04-26 04:50 thomax Environment => Mono / Linux32
2009-04-26 04:50 thomax Mono Version => 2.0.1
2009-04-27 01:22 Michelle Argus Note Added: 0011098
2009-04-27 04:05 thomax Relationship added parent of 0002357
2009-04-27 04:05 thomax Relationship deleted parent of 0002357
2009-04-27 04:05 thomax Relationship added related to 0002357
2009-04-27 17:58 thomax Status new => feedback
2009-07-20 10:15 thomax Relationship added related to 0003644
2011-07-26 05:11 makopoppo Note Added: 0019117
2011-07-26 05:11 makopoppo Status feedback => confirmed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker