<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/05/2014 02:40 PM, Marcus
Llewellyn wrote:<br>
</div>
<blockquote
cite="mid:CAAhTXbrWEqOdPYpHjy-tfwj60qm7THVsKQ=qfHiGdRCi_QL0SA@mail.gmail.com"
type="cite">
<p dir="ltr">If I'm reading what you want to accomplish correctly,
my understanding is that this is not possible. A mesh's UUID is
for an object. It is akin to trying to swap one prim for a
completely different one.</p>
<p dir="ltr">As a historical note, when mesh was still in beta
over at LL (and in Opensim's original implementation), meshes
were originally something applied to a prim, much like a texture
or sculpt map. This was later changed, and meshes become first
class objects in their own right.<br>
</p>
</blockquote>
<br>
<br>
ok so had mesh'es remained "applied to a prim" then i could have
changed the mesh UUID that is applied after rezzing.<br>
<br>
BUT<br>
<br>
if meshes are now "first class objects" i:e equivalent to a prim,
then I must rez a mesh, i can't convert a prim to a mesh.<br>
<br>
I think that makes sense.<br>
<br>
<br>
<br>
So question is , is it possible to rez a mesh from an LSL script if
i have the original mesh UUID available ?<br>
<br>
I know i can copy the mesh object into the prim then llRezObject
from there, but the copy is a PITA, can i rez directly without the
copy into the prim ?, i:e is there an equivalent to<br>
<br>
osRezObject(key UUID, vector pos, ...) ?<br>
<br>
<br>
Cheers<br>
<br>
S<br>
<br>
<blockquote
cite="mid:CAAhTXbrWEqOdPYpHjy-tfwj60qm7THVsKQ=qfHiGdRCi_QL0SA@mail.gmail.com"
type="cite">
<p dir="ltr">
</p>
<div class="gmail_quote">On Jun 5, 2014 3:17 PM, "simon burke"
<<a moz-do-not-send="true"
href="mailto:simon@duanedibley.com">simon@duanedibley.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Folks<br>
not sure if this is a feature bug or misunderstanding (on
my part).<br>
I recently posted a thread at osgrid and was advised to ask
here<br>
<br>
osgrid : <a moz-do-not-send="true"
href="http://forums.osgrid.org/viewtopic.php?f=5&t=5191&p=24373#p24373"
target="_blank">forums.osgrid.org/viewtopic.php?f=5&t=5191&p=24373#p24373</a><br>
<br>
Background is below<br>
<br>
I am using llSetPrimitiveParams to set params on an existing
(created) object to PRIM_TYPE=9, FLAG=7 (sculpt) and MAP=mesh
UUID, PRIM_TYPE_SCULPT = 5 (mesh).<br>
<br>
i:e settings to "7::9b71b6a9-98d8-42c4-930a-807247619d33::5"<br>
<br>
If i read back PRIM_TYPE right after i get
"7::9b71b6a9-98d8-42c4-930a-807247619d33::1"<br>
<br>
so it set the UUID correctly but left the type as 1
(PRIM_TYPE_CYLINDER) instead of type 5 (MESH).<br>
<br>
checking LL docs for LlSetPrimitiveParams say this/"With this
subtype, PRIM_TYPE_SCULPT's map parameter is read-only, when
read NULL_KEY is returned. In other words this can only be
used to determine that a prim is of the mesh subtype."/. It
seems it was enabled/allowed initially then disabled later on.<br>
<br>
SO it seems like i have run into the UUID swap problem<br>
<br>
<a moz-do-not-send="true"
href="http://wiki.secondlife.com/wiki/Why_UUI"
target="_blank">http://wiki.secondlife.com/wiki/Why_UUI</a>
... ing_is_Bad <<a moz-do-not-send="true"
href="http://wiki.secondlife.com/wiki/Why_UUID_Flipping_is_Bad"
target="_blank">http://wiki.secondlife.com/wiki/Why_UUID_Flipping_is_Bad</a>><br>
<br>
<a moz-do-not-send="true"
href="http://blog.nalates.net/2011/06/27/seco"
target="_blank">http://blog.nalates.net/2011/06/27/seco</a>
... e-week-26/ <<a moz-do-not-send="true"
href="http://blog.nalates.net/2011/06/27/second-life-mesh-meeting-update-week-26/"
target="_blank">http://blog.nalates.net/2011/06/27/second-life-mesh-meeting-update-week-26/</a>><br>
<br>
oddly it seems like i can set the UUID, but not set the type
to MESH to use it .<br>
<br>
<br>
So in summary , while llSetPrimitiveParams i assume must
remain "compatible" with SL, is there any option, setting or
other magic i can use that would enable osSetPrimitiveParams
to support UUID swapping for Meshes. Specifically I am rezzing
a regular "Box", then trying to one time swap the type,
subtype and UUID to an existing mesh UUID. I am not trying to
swap a mesh to a different mesh, or do this more than once per
rez.<br>
<br>
There may be bigger technical details beneath this that have
been hinted at in discussions but i am unaware of.<br>
<br>
So question is can osSetPRimitiveParams support mesh type and
UUID "setting" ?<br>
<br>
cheers<br>
<br>
Simon<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Opensim-users@opensimulator.org"
target="_blank">Opensim-users@opensimulator.org</a><br>
<a moz-do-not-send="true"
href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users"
target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Opensim-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Opensim-users@opensimulator.org">Opensim-users@opensimulator.org</a>
<a class="moz-txt-link-freetext" href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a>
</pre>
</blockquote>
<br>
</body>
</html>