Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

add PRIM_TEXTURE_FLIP_H and _V to llSetPrimitiveParms

Kaiser Bogomil
Registered User
Join date: 15 Mar 2006
Posts: 20
08-07-2006 20:13
The UI to set texture rotation, offset etc are avaiable in the UI & in the API. But, in the api, there is no parameter for flipping textures in the horizontal or vertical directions.

I'd like that added.
Norman Desmoulins
Grand Poohba
Join date: 10 Nov 2005
Posts: 194
08-07-2006 20:22
It's already supported...

Normal:

llSetPrimitiveParams([
PRIM_TEXTURE,0,8a507ef3-0178-ba0f-5b58-2775b91054db,
<1.000000, 1.000000, 0.000000>,
<0.000000, 0.000000, 0.000000>,0.000000]);

Flipped Horiz:

llSetPrimitiveParams([
PRIM_TEXTURE,0,8a507ef3-0178-ba0f-5b58-2775b91054db,
<-1.000000, 1.000000, 0.000000>,
<0.000000, 0.000000, 0.000000>,0.000000]);

Flipped Vert:

llSetPrimitiveParams([
PRIM_TEXTURE,0,8a507ef3-0178-ba0f-5b58-2775b91054db,
<1.000000, -1.000000, 0.000000>,
<0.000000, 0.000000, 0.000000>,0.000000]);