|
Hugo Dalgleish
Registered User
Join date: 14 May 2006
Posts: 27
|
07-29-2006 17:11
The LSL wiki does say it is possible to retrieve a texture's dimensions from the texture picker before applying it to a prim, but I was wondering if it was possible to retrieve either the dimensions or (aspect ratio, either would work) of a video URL after it's applied to a texture using llParcelMediaCommandList?
My idea is to change the dimensions of a prim that the video replacement texture is applied to based on the dimensions (or aspect ratio) of the video that is being played. That way, people who are trying to play movies on their land aren't having to check the dimensions of the video they're playing and scaling the prim to suit before playing the video, it can be all done automagically.
If this isn't possible, could it be added to the LSL, perhaps to extend llParcelMediaQuery ?
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
07-30-2006 00:37
It's not possible.
If you want to suggest it, chat to Kelly Linden, or drop it in her mailbox (sorry, can't remember the location of it), that seems to be the officially approved route of pushing these things through.
I suspect the answers might be no... finding the dimensions of an existing texture is more load on the asset cluster, which according to announcements died again yesterday, so the load is getting bad again. The dimensions of an original video feed might be accessible, but actually SL cheats with these things, and tells quick time where to draw the movie, it doesn't actually draw it directly itself as I understand it, so it might not have that data directly to hand.
|