Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Idiot Needs Help With Holo Vendor

Sugar Street
My own little world rocks
Join date: 2 Aug 2004
Posts: 58
07-17-2005 09:05
Okay somebody tell me what i'm doing wrong before I have a tantrum. I used Hiro's Holo Vendor before for artwork - have success with some objects rezzing correctly - but some of my things are rezzing all upside down and sideways and i cannot for the life of me figure out why...I know i must be doing something wrong - read the instructions over and over again now my eyes are blurry and i think my head is going to fall off. Help please!! :confused:
_____________________
It's MY DIME, I'll be spending it as I like, even if that includes buying little balls that let my pixels do dirty things
Madame Maracas
Not who you think I am...
Join date: 7 Jun 2004
Posts: 1,953
07-17-2005 09:11
Didja IM Hiro?
_____________________
RadioRadio - http://radioradiosl.com

M 6 Hobbes Abattoir
T 7 Sezmra Svorag
W 4 Brian Mason
W 6 Moira Stern
W 8 Nala Galatea
Th 6 Chet Neurocam
F 6 Vertigo Paris
F 9 Madame Maracas
S 5 Madame Maracas
S 8 TriNala
Su 6 Trinity Serpentine

http://madamemaracas.wordpress.com - Madame Maracas Blaaagh

Plurk - http://www.plurk.com/user/MadameMaracas
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
07-17-2005 09:14
Easiest solution: Encapsulate the "hologram" in an invisible prim that's not rotated at all. This makes knowing where the object's center is and makes sure it rezzes right-side-up.
_____________________
Zapoteth Zaius
Is back
Join date: 14 Feb 2004
Posts: 5,634
07-17-2005 09:16
Were the objects rotated when you took them?
_____________________
I have the right to remain silent. Anything I say will be misquoted and used against me.
---------------
Zapoteth Designs, Temotu (100,50)
---------------
Sugar Street
My own little world rocks
Join date: 2 Aug 2004
Posts: 58
07-17-2005 10:15
I rezzed everything where i wanted and took em - naming them appropriately and all that - vendor works beautifully but they just aren't rezzing the way i set them....i will try the encapsulating idea! Thank you guys very much:)
_____________________
It's MY DIME, I'll be spending it as I like, even if that includes buying little balls that let my pixels do dirty things
Zeno Concord
To infinity, and beyond!
Join date: 28 Mar 2005
Posts: 51
Encapsulating workaround
07-17-2005 10:53
The reason that encapsulating the object is a reasonable solution is that your object probably has some rotation on it already, and when an object is rezzed, using llRezObject, it is typically given a rotation of <0, 0, 0> regardless of what rotation the object would have if you drag it out yourself.

There are two problems with fixing this the proper way, which would be to have the object be rotated using its built-in rotation. One problem is that there is no way to find out what that built-in rotation is from outside the object (as far as I know). The object has to look up its own rotation and tell it to the script that is doing the rezzing, or it has to rotate itself after it has been rezzed.

The second problem is more serious. The way rotation is done by a script when the object is composed of linked prims is different from the way the manual rotation tool works. The script can only rotate a single prim. To rotate all the linked prims, the script must iterate through all of them, rotating each one and translating them into the correct (rotated) position relative to the center of the linked object. Someone correct me if I am wrong. Or someone point to the linked-object rotater script if I am right. :)