<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/27/2014 06:38 PM, M.E. Verhagen
wrote:<br>
</div>
<blockquote
cite="mid:CA+RcaTQrWS4DavcfZkPGOr=VGMJzSr=hcD5nta_=qAi-UJQ+iw@mail.gmail.com"
type="cite">
<div dir="ltr">I think these constants refer to being able to add
so called (shininess) specular and normal (bumpiness) textures
to a mesh or prim.
<div><br>
</div>
<div>It is very useful to add some detail and keep the models
with low vertical count. </div>
<div><br>
</div>
<div>The extra texture information is saved with the prim info
in the opensim database.</div>
<div><br>
</div>
</div>
</blockquote>
yes i agree with all of the above<br>
<br>
<blockquote
cite="mid:CA+RcaTQrWS4DavcfZkPGOr=VGMJzSr=hcD5nta_=qAi-UJQ+iw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I have not got a clue about those constants. But just use
the numbers for instance 38 for PRIM_APHA_MODE</div>
<div><br>
</div>
</div>
</blockquote>
its reasonably documented here<br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.secondlife.com/wiki/PRIM_ALPHA_MODE">http://wiki.secondlife.com/wiki/PRIM_ALPHA_MODE</a><br>
<br>
and already implemented correctly as far as i can see in my version
of opensim <br>
<br>
all tha'ts missing is the ability to script set them in addition to
the current manual setting mod<br>
<br>
<blockquote
cite="mid:CA+RcaTQrWS4DavcfZkPGOr=VGMJzSr=hcD5nta_=qAi-UJQ+iw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I doubt if opensim needs the support to set those
parameters on a prim side with a script, it will probably work
already in opensim. <br>
</div>
</div>
</blockquote>
<br>
the problem I have is the default for prims created prior to these
new settings is "blend" (1). The <br>
consequence of that is that many mesh objects that used to render ok
before, now render with<br>
random "holes" due to the alpha textures used originally and the
new ALPHA_MODE default of 1.<br>
Switching ALPHA_MODE to none (0) solves the problem but its a PITA
to do manually for every texture.<br>
<br>
the SL spec defines the default value as "1", so I don't think its
correct to change the default value<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<i><span style="color: rgb(0, 0, 0); font-family: verdana,
helvetica, sans-serif; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
display: inline !important; float: none; background-color:
rgb(249, 249, 249);"><br>
This value is also used as the default to clear the materials
settings from a prim face.</span></i><br>
<br>
<br>
Scripting a solution where pre-existing meshes are broken is much
easier<br>
<br>
i can provide an image as an example if the above is not clear<br>
<br>
S<br>
<br>
<blockquote
cite="mid:CA+RcaTQrWS4DavcfZkPGOr=VGMJzSr=hcD5nta_=qAi-UJQ+iw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>But then I haven't got a clue what ll is going to finalize
... </div>
<div><br>
</div>
</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>