[Opensim-dev] How many sides does a tapered torus have?
Dahlia Trimble
dahliatrimble at gmail.com
Tue Mar 25 10:19:08 UTC 2014
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.
On Tue, Mar 25, 2014 at 2:08 AM, Oren Hurvitz <orenh at kitely.com> wrote:
> I found a bug in OpenSim: it doesn't count correctly the number of sides
> in a
> Torus if the torus uses tapering.
>
> How to reproduce the problem:
>
> 1. Create a torus, and set TaperY=0.85 and Radius=0.7.
> 2. Change the prim's texture. The texture will change momentarily and
> immediately revert to the default texture.
>
> The function that contains the problem is
> SceneObjectPart.GetNumberOfSides(). It thinks that this prim has 1 face,
> but
> actually there are at least 2 faces.
>
> I'm not sure how to fix this because I don't know what is considered a
> "side". Can someone who understands shapes in SL/OpenSim help out? Perhaps
> whoever wrote this function originally? The bug is described here:
> http://opensimulator.org/mantis/view.php?id=7059
>
> Thanks!
>
>
>
> --
> View this message in context:
> http://opensim-dev.2196679.n2.nabble.com/How-many-sides-does-a-tapered-torus-have-tp7579043.html
> Sent from the opensim-dev mailing list archive at Nabble.com.
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20140325/24bee3ba/attachment-0001.html>
More information about the Opensim-dev
mailing list