Tonk Tomcat Posted May 7, 2020 Share Posted May 7, 2020 Hey, is it possible to somehow get the texture size or the vram of a texture from an object? I'm currently working on some id badges and want to prevent ppl to upload and apply unneccesary 1024 textures to customizable faces of the object. I did not find anything in the LSL portal, so probably the only thing i can do is to offer templates in a small texture size and hope ppl will use those to create their own, or am i wrong? Link to comment Share on other sites More sharing options...
Rolig Loon Posted May 7, 2020 Share Posted May 7, 2020 No, you cannot detect the pixel dimensions of a texture with LSL. 1 Link to comment Share on other sites More sharing options...
Tonk Tomcat Posted May 7, 2020 Author Share Posted May 7, 2020 That's what i though, now im sad 😃 I think it would be a nice feature to be able to do so. Link to comment Share on other sites More sharing options...
Kyrah Abattoir Posted May 7, 2020 Share Posted May 7, 2020 Would require quite a bit of code to do so, simulators aren't really aware of the specificities of any given texture, just their UUID. Link to comment Share on other sites More sharing options...
Recommended Posts
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