[sldev] Re: New Sculpty Features

Strife Onizuka blindwanderer at gmail.com
Sun Jul 13 12:45:41 PDT 2008


The way things appear in featurettes-5, until these changes hit an
official release, using either PRIM_SCULPT_FLAG_INVERT or
PRIM_SCULPT_FLAG_MIRROR (or the associated checkboxes in the build
tools) will result in the prims being rendered as
PRIM_SCULPT_TYPE_PLANE

On Sun, Jul 13, 2008 at 2:50 PM, Soft <soft at lindenlab.com> 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