Flags for PRIM_TEXTURE_ROT, PRIM_TEXTURE_SIZE and PRIM_TEXTURE_OFFSET
tracked
dantia Gothly
Reading over the wiki, I found that the only way to set the scale, offset, or rotate a texture in a linkset is to use PRIM_TEXTURE, which requires that you supply it with a texture otherwise, it will remove the texture from the face you're trying to modify.
llScaleTexture(), llOffsetTexture(), and llRotateTexture() do not have an llSetLink or llGetLink equivalent or flag for setting those values directly for the other links in the linkset.
It would be really nice to be able to set those values directly via llSetLinkPrimitiveParamsFast() rather than having to worry about supplying a texture or getting and setting or removing a texture.
This should also be extended to work with GLTF materials.
Log In
Jasdac Stockholm
I'd prefer a generic NO_OP flag that can be used as any value in prim params to say "leave this unchanged".
Nelson Jenkins
Jasdac Stockholm Seconding this, no need to reinvent the wheel here. All of the values in llSetPrimitiveParams are internally typecast into strings anyway.
This would also be great for PRIM_POINT_LIGHT (adjusting light parameters without resetting the texture), PRIM_COLOR (adjusting alpha but not color), maybe PRIM_GLTF_*, not to mention PRIM_NORMAL and PRIM_SPECULAR - why split those all into subflags when you can just NO_OP anything you want to keep constant?
Charlyko Parabola
Jasdac Stockholm That's a fantastic idea.
Signal Linden
tracked