[sldev] Re: New Sculpty Features
Karl Stiefvater
qarl at lindenlab.com
Sun Jul 13 11:21:49 PDT 2008
exactly so, Strife - the new flags are ORed (or added, i s'pose) the
the existing type field.
MIRROR mirrors along the x-axis, while INVERT flips the direction of
the surface (normals).
K.
On Jul 13, 2008, at 8:19 AM, Strife Onizuka wrote:
> Hey I just saw the featurettes-5 check in on the public SVN,
> http://svn.secondlife.com/trac/linden/changeset/758?new_path=%2F
> I was wondering, could we get an LSL example for
> PRIM_SCULPT_TYPE_MASK, PRIM_SCULPT_FLAG_INVERT &
> PRIM_SCULPT_FLAG_MIRROR? I have an idea about what the usage is but I
> want to make sure.
>
> llSetPrimitiveParams([
> PRIM_TYPE, PRIM_TYPE_SCULPT, "texture",
> PRIM_SCULPT_TYPE_SPHERE | PRIM_SCULPT_FLAG_INVERT |
> PRIM_SCULPT_FLAG_MIRROR
> ])
>
> llSetPrimitiveParams([
> PRIM_TYPE, PRIM_TYPE_SCULPT, "texture",
> PRIM_SCULPT_TYPE_SPHERE | PRIM_SCULPT_FLAG_INVERT
> ])
>
> llSetPrimitiveParams([
> PRIM_TYPE, PRIM_TYPE_SCULPT, "texture",
> PRIM_SCULPT_TYPE_SPHERE | PRIM_SCULPT_FLAG_MIRROR
> ])
More information about the SLDev
mailing list