Jump to content

Mesh texture changing problems !


Naiman Broome
 Share

You are about to reply to a thread that has been inactive for 2908 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hello , I did a script to change mesh texture, normals and speculars on a mesh different faces .

SO I ordered them to be exactly changing the specific texture...

 

My problem is that the script works, when I click one group type , it changes the several faces textures, normals etc, then when I click on another group type to try another texturing solution it works only for the textures and leaves the previously loaded normal maps ...

 

But

 

If I relog I see that the normal maps have been changed to the right ones ... Why ? How can I do so that the viewer shows the proper normal maps loaded?

 

Also randomly it seems that the script changes also one another face normal map that is actually not even touched by the scripts .

Why that?

 

Here is the script sample :

 

if (message == "texture 4")
{

llMessageLinked(LINK_SET,0,"Smooth Sand",llGetKey());
llSetTexture("UUID1",0);
llSetTexture("UUID2",1);
llSetTexture("UUID3",2);
llSetTexture("UUID4",3);
llSetTexture("UUID5",4);
llSetTexture("UUID6",5);
llSetTexture("UUID7",6);
llSetTexture("UUID8",7);
llSetPrimitiveParams([
PRIM_NORMAL ,0,"UUIDNor1", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0,
PRIM_NORMAL ,1,"UUIDNor2", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0,
PRIM_NORMAL ,2,"UUIDNor3", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0,
PRIM_NORMAL ,3,"UUIDNor4", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0
]
);

 

For some reasons sometimes when I relog I find the normal map of face 4 changed to the one of face 1 wich I can't explain !

 

 

Is there a way to force the normal maps to be loaded correctly dunno?

Link to comment
Share on other sites

Sounds like this viewer bug:

https://jira.secondlife.com/browse/BUG-10601

This particular bug is fixed in this viewer. http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Release/3.8.7.308556

Which is the one I'm using for weeks now because of this bug. I just saw that they pushed the 4.0 viewer as the release viewer now. But It's very possible that BUG-10601 isn't fixed in that one yet. So I'll stick with the Maintenance RC viewer for the time being.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2908 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...