[sldev] Re: New Sculpty Features
Karl Stiefvater
qarl at lindenlab.com
Sun Jul 13 14:11:15 PDT 2008
as Strife mentioned - all this work is in the viewer. a scripter with
an older viewer could use "128" in place of "PRIM_SCULPT_FLAG_MIRROR"
if he wanted to - but he won't see the result until he gets the new
viewer...
K.
On Jul 13, 2008, at 11:50 AM, Soft wrote:
> Do scripters need to wait for some minimal viewer version to be
> required before assuming they can use this and have everyone see the
> same result?
>
> On Sun, Jul 13, 2008 at 1:21 PM, Karl Stiefvater
> <qarl at lindenlab.com> wrote:
>> 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
>>> ])
>>
>> _______________________________________________
>> Policies and (un)subscribe information available here:
>> http://wiki.secondlife.com/wiki/SLDev
>> Please read the policies before posting to keep unmoderated posting
>> privileges
>>
More information about the SLDev
mailing list