<div dir="ltr">a tapered torus which contains no cuts or hollows will have either 2 or 3 texture faces, or "sides", depending on the taper. If the taper results in one end which converges in a single point then it will have 2 sides. The taper you describe should result in a prim with 3 texture faces.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 25, 2014 at 2:08 AM, Oren Hurvitz <span dir="ltr"><<a href="mailto:orenh@kitely.com" target="_blank">orenh@kitely.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found a bug in OpenSim: it doesn't count correctly the number of sides in a<br>
Torus if the torus uses tapering.<br>
<br>
How to reproduce the problem:<br>
<br>
1. Create a torus, and set TaperY=0.85 and Radius=0.7.<br>
2. Change the prim's texture. The texture will change momentarily and<br>
immediately revert to the default texture.<br>
<br>
The function that contains the problem is<br>
SceneObjectPart.GetNumberOfSides(). It thinks that this prim has 1 face, but<br>
actually there are at least 2 faces.<br>
<br>
I'm not sure how to fix this because I don't know what is considered a<br>
"side". Can someone who understands shapes in SL/OpenSim help out? Perhaps<br>
whoever wrote this function originally? The bug is described here:<br>
<a href="http://opensimulator.org/mantis/view.php?id=7059" target="_blank">http://opensimulator.org/mantis/view.php?id=7059</a><br>
<br>
Thanks!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://opensim-dev.2196679.n2.nabble.com/How-many-sides-does-a-tapered-torus-have-tp7579043.html" target="_blank">http://opensim-dev.2196679.n2.nabble.com/How-many-sides-does-a-tapered-torus-have-tp7579043.html</a><br>

Sent from the opensim-dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</blockquote></div><br></div>