Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Primitive tools. (as I consider the current ones... primitive. ;) and associated.

Caisifhon Harrington
Registered User
Join date: 11 May 2005
Posts: 2
11-10-2005 09:16
I'd like a simplified method of mirroring a prim or a set of prims, in relation to each other. I.e. should I have a set of primitives in a linked set, flipping and mirroring them along the X, Y, or Z axis. Potentially also making a copy, at the same time.

There are really several cases with primitives. The simplest one is in the case of symmetrical primitives. (i.e. spheres, rectangles, torii, etc, with no cut, twist, or shear)

A more complex one is where the primitives are symmetrical, but cut. (poses its own unique problems)

Cut, sheared, and advance cut are their own problems. Personally I'd be happy seeing it with just a simple mirror.

In these cases a simple transposition of the angles. (depending on the direction of the mirror) and a transposition relative to the root prim should be sufficient. almost all of this could be accomplished on the client side, then uploaded in a burst, in order to save server calculation time.

I.e. Create a hash containing the object ID of the 'source' primitives, containing their x,y,z locations and their current rotation. For X, simply transpose the prims location along the X axis. To rotate the prims, to mirror. (checks geometry real quick)


<to be continued, due to lack of time. *eeps*>
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
11-10-2005 11:48
I've thought about something like this, the only problem is it would be extra compilcated and there would be little to gain.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey