Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rezzing invisible

Lemieux Primeau
Registered User
Join date: 25 Oct 2006
Posts: 49
12-03-2007 09:21
I want to rez something further away than 10 meters from the object that is doing the rezzing. So my thought was, if the rezzed object could be invisible (alpha = 0) when it rezzes, I could use movement functions to get it where I want, then set the alpha to 1 and it would appear to have rezzed further than 10 meters from the rezzer.

I intend to play around testing the idea tonight - but has anyone done this before or know of any caveats?

The first obvious concern is how do I load the invisible object (item to be rezzed) into the rezzer. I was hoping llGiveInventory.

The second concern is will it still be invisible when it rezs? I am hoping / assuming so because I think alpha is a property of the object / prims which should perist. But who knows - maybe llRezObject overrides that and sets the alpha back to 1?

If either of the first two issues are a showstopper, I could always set alpha to 0 in on_rez. But I am assuming at that point we will see it for a moment, then it will disappear, then it will appear again in its final destination. That is not the end of the world if it is the only option - but I'm hoping it will not be seen until I get it to its final resting place.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-03-2007 12:19
create object to be rezzed,
set object alpha to 100%
take to inventory,
drop in rezzors contents tab

CAVEAT:
you'll need a script in the rezzed object to move it and presumably to turn it back to 0% alpha, so you'll need to either automate that via on_rez event, or via commands (logically from the rezzor)

(yes the alpha will persist)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Lemieux Primeau
Registered User
Join date: 25 Oct 2006
Posts: 49
12-03-2007 13:31
From: Void Singer
create object to be rezzed,
set object alpha to 100%
take to inventory, drop in rezzors contents tab.


Void - I'm not sure that I'm following you - do you have the 100% / 0% backwards?

I don't want to set the object to be rezzed to alpha 100% - I want to set it to 0%. And after I do that it brings up the question of how I will take it into my inventory. If an object is invisible, can you still right click it to get the pie menu? If so, then I'm sure everything else will work. I was assuming that I would not be able to right click it once it was invisible.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
12-03-2007 14:22
From: Lemieux Primeau
Void - I'm not sure that I'm following you - do you have the 100% / 0% backwards?

I don't want to set the object to be rezzed to alpha 100% - I want to set it to 0%. And after I do that it brings up the question of how I will take it into my inventory. If an object is invisible, can you still right click it to get the pie menu? If so, then I'm sure everything else will work. I was assuming that I would not be able to right click it once it was invisible.

ANyone would still be able to right click it as long as they had "Highlight Transparent" enabled.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-03-2007 22:08
From: Lemieux Primeau
Void - I'm not sure that I'm following you - do you have the 100% / 0% backwards?

no, I meant 100% as in transparency, for instance as seen in the edit window,

vs the script call llSetAlpha which is really confusing and actually sets opacity (as a percentage)

both are technically modifications of Alpha transparency, just in different logical order. and since images are by nature opaque to start, it's more natural to think of alpha as = transparency (and thus 100% alpha would be 100% transparent)

LL didn't help the confusion when they have one control reading a percentage of transparency, and a script function that treats the same action as a percentage of opacity...
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
12-04-2007 12:23
How about a 3rd object that's within the 10 meter range of the rez point that receives a signal from the controlling prim, (and it's invisible), and just rezzes the visible object?
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
12-04-2007 14:19
For anything over 10 meters, just rez it and have it move to the location it should be. If it is in relation to where ever the rezzer is, then have the rezzer llSay it's target location.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum