Jump to content

I am looking for a workaround with MEDIA


VirtualKitten
 Share

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

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

Recommended Posts

I have a media Player that once in a while does not record the location on the face to put the MEDIA 

llSetPrimMediaParams(LINK_THIS, [PRIM_MEDIA_AUTO_PLAY ,TRUE,
              PRIM_MEDIA_AUTO_SCALE, FALSE,
              PRIM_MEDIA_PERMS_CONTROL,PRIM_MEDIA_PERM_NONE,
              PRIM_MEDIA_PERMS_INTERACT, PRIM_MEDIA_PERM_NONE,
              PRIM_MEDIA_HOME_URL , URL_ART,
              PRIM_MEDIA_CURRENT_URL, URL_ART   ]);    

I have tried setting this vert and horizontal size and all is good until  it does it again . I have tried putting in  llSetLinkPrimitiveParamsFast(llGetLinkNumber(),[  PRIM_TEXTURE,ALL_SIDES, "5748decc-f629-461c-9a36-a35a221fe21f",<0.0,0.0,0.0>,<.30,0.3,0.30>,0]); /* Blank texture */  which does resize the screen but if this code in same piece of code the media  is in it will no longer play Media with the blank texture  line  in it but only a blank texture on it instead . Is there a way to set the face texture /media vector size above through the set media parameters that I have overlooked or is there another workaround please ?

 

I should have also said I tried the obvious llSetPrimMediaParams(LINK_THIS, [  PRIM_MEDIA_CURRENT_URL, URL_ART2, PRIM_MEDIA_WIDTH_PIXELS ,0.30,              PRIM_MEDIA_HEIGHT_PIXELS,0.30]) ;   Which made no affect at all the only thing that corrects this is edit and change texture settings there must be a work around to do it by script?

 

Now this i think is a problem as I have a different texture with different size when the item is switch off. Is the only workaraound at this image is cirrently 1.0,10,,1.0> to make it three times smaller and set this as base as the same <0.3,0.3,0.3> size that I want the have coordinates to be ?

I did try this with my image  starting at 256x128 and ending up with 32x16 before i could get half of image in at <0.3,0.3,0.0> Clearly at this point the image degraded so far that this image was not viewable.  I am left setting it at  256x128  and scale at <1.0,1.0,0.0> and looking for a different solution can anyone help?

Edited by VirtualKitten
forgot to say
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1347 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...