Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-29 07:00:31



Reply to topic  [ 5 posts ] 
animatied textures forcing other textuires to default scale 
Author Message

Joined: 2014-03-22 03:17:49
Posts: 46
Reply with quote
Hi Henri!

I was playing with some animated textures this week and noticed that applying an animated texture to one surface of an object seems to reset the other textures to the system default scaling. It looks like the standard viewer allows them to keep whatever scaling is applied. Hopefully you have time to take a look and see if something is wrong, or suggest a solution for what i am seeing.

as always, Thank you!
~Lycia


2018-10-20 23:39:39
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Lycia_Undercroft wrote:
Hi Henri!

I was playing with some animated textures this week and noticed that applying an animated texture to one surface of an object seems to reset the other textures to the system default scaling. It looks like the standard viewer allows them to keep whatever scaling is applied. Hopefully you have time to take a look and see if something is wrong, or suggest a solution for what i am seeing.
Please provide the viewer log and precise repro steps.


2018-10-21 08:58:05
Profile WWW

Joined: 2014-03-22 03:17:49
Posts: 46
Reply with quote
Oops, sorry for leaving out the details.

here is a simple script you can drop in a cube to see what is happening to the other textures on a prim, when one face has an animated texture applied:

Code:
key    texture = "95d6d904-4853-3fca-b3ce-f8e6031a8f12";
vector repeats = <2.0, 2.0, 1.0>;
vector offsets = <0.25, 0.125, 1.0>;
float  rotation_in_rads = 1.123;

default
{
    state_entry()
    {
        // stop any animtaion
        llSetTextureAnim(FALSE, ALL_SIDES, 0, 0, 0.0, 0.0, 1.0);
       
        //  set up a texture on each side of a cube, with some tiling and non-zero offsets.
        llSetPrimitiveParams ([ PRIM_TEXTURE, 0, texture, repeats, offsets, rotation_in_rads ]);
        llSetPrimitiveParams ([ PRIM_TEXTURE, 1, texture, repeats, offsets, rotation_in_rads ]);
        llSetPrimitiveParams ([ PRIM_TEXTURE, 2, texture, repeats, offsets, rotation_in_rads ]);
        llSetPrimitiveParams ([ PRIM_TEXTURE, 3, texture, repeats, offsets, rotation_in_rads ]);
        llSetPrimitiveParams ([ PRIM_TEXTURE, 4, texture, repeats, offsets, rotation_in_rads ]);
        llSetPrimitiveParams ([ PRIM_TEXTURE, 5, texture, repeats, offsets, rotation_in_rads ]);
       
        llSleep(5.0);
       
        // give one of the faces an animated texture instead,
        // the other faces will now seem to show an incorrect texture mapping.
        llSetTextureAnim(ANIM_ON | SMOOTH | LOOP , 1, 1, 1, 1.0, 1.0, 1.0);
    }
}


and here is the basic info from my viewer:

Cool VL Viewer v1.26.22.20, 64 bits, Sep 29 2018 11:00:04
RestrainedLove viewer v2.09.23.20
Release Notes

You are at 214980.2, 324648.2, 351.9 in Bad Kitty located at
sim10108.agni.lindenlab.com (216.82.48.174:13007)
Second Life Server 18.09.20.519894
Release Notes

CPU: Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz (3311.99 MHz)
Memory: 65230MB
OS version: Microsoft Windows 8 64-bit (Build 9200) compatibility mode. Real version: 10.0 (Build 10586)
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2
Windows graphics driver version: 23.21.0013.9135
OpenGL version: 4.6.0 NVIDIA 391.35
Detected VRAM: 11264MB
J2C decoder: OpenJPEG: 1.4.0.635d
Audio driver: FMOD Studio v1.10.08
Networking backend: libcurl/7.47.0 OpenSSL/1.0.2l zlib/1.2.8
Embedded browser: CEF3 plugin v3.3325.1750.gaabe4c4
Packets lost: 24/451991 (0.0%)

Built with: MSVC v1800

Compile flags used for this build:
/O2 /Oi /MD /MP /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Oy- /GS /fp:fast /TP /W2 /Zc:forScope /Zc:wchar_t- /c /nologo /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DXML_STATIC /DBOOST_ALL_NO_LIB /DLL_LUA=1 /DLL_FMODSTUDIO=1 /DAPR_DECLARE_STATIC /DAPU_DECLARE_STATIC /DCURL_STATICLIB=1 /DLIB_NDOF=1


2018-10-21 10:44:43
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I cannot seem to see any difference with your script dropped into a cube, when comparing between the Cool VL Viewer and SL's official viewer... So, either your repro script does not work as you intended, or I need new glasses... :geek:

Here are screen captures:


2018-10-25 10:00:34
Profile WWW

Joined: 2014-03-22 03:17:49
Posts: 46
Reply with quote
Good Grief! Your screen captures look perfect!

And... I am seeing good results now as well on v1.26.22.21. I think i must have posted this bug when i was using v1.26.22.20, and just moments before you released 21... I checked to make sure i had the most recent version before posting. Anyway, i should still have version 20, so for my own sanity, i will probably re-install that and see if the issue is still there... Or if my system is just fundamentally broken and its time for a disk wipe. In either case though, whatever the problem was, its fixed now!

Again, Thank you very much for taking the time to look at this Henri!
~Lycia


2018-10-26 06:37:26
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.