|
Ricky Shaftoe
Owner, "Rickymations"
Join date: 27 May 2005
Posts: 366
|
05-27-2008 08:36
I have a newbish question. I've made a piece of furniture that rezzes too high in the air, because its main component is a sculpty that I had to rotate after I imported it into SL. Is there a way to tell the object to rez 3 meters lower? It's not a big deal, but I think customers will be startled if their furniture rezzes floating in midair. I think with poseballs I just do this with a couple lines of LSL -- my memory fails me. Is that the way to do it, or is there some option on the prim itself to set where it rezzes relative to ground level?
Or, should I re-import the sculpty, experimenting with the Flip-Y setting in ZBrush?
|
|
2k Suisei
Registered User
Join date: 9 Nov 2006
Posts: 2,150
|
05-27-2008 10:07
Which converter are you using?.
I probably should add an option to maximize the scale of a sculptmap in my converter. Maya has this option on its own converter.
But what's happening is that one of your sculpties is covering a large area in only one direction and so the bounding box/sphere isn't representing the shape of your sculpty very well. In other words - the invisible bounding box around your sculpty is much bigger than the underlying mesh.
To fix this manually you can re-scale your offending object in ZBrush so its roughly the same size in all directions. Then when you upload the object into SL you just resize it in order to correct it proportions. But it's doubtful that your sculpty furniture will ever sit snuggly on the floor on being rezzed because of the sphere-like bounding boxes.
I hope that made a little sense.
|
|
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
|
05-27-2008 11:49
yes, ya can rezz at any plae within reach, it was like 10m distance max.
|
|
2k Suisei
Registered User
Join date: 9 Nov 2006
Posts: 2,150
|
05-27-2008 11:54
From: Ollj Oh yes, ya can rezz at any plae within reach, it was like 10m distance max. I don't think he means rez from an object, but from inventory. At least I hope he does! 
|
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
05-27-2008 13:04
You can add a script to the sculpted prim, that adjusts the height after it rezzes. Here is a simple script for that: From: someone // adjust this height float adjustHeight = -0.5; // how much the position should be adjusted when the object is rezzed. (m) -
default { on_rez(integer x) { vector v = llGetPos (); v.z = v.z + adjustHeight; llSetPos(v); } } Just add this script to the prim, and change the "adjustHeight" variable as needed. As shown above, it moves the prim down 1/2 meter.
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
|
|
Ricky Shaftoe
Owner, "Rickymations"
Join date: 27 May 2005
Posts: 366
|
05-28-2008 07:27
Thanks for the replies. Yep, the bounding box around the sculpty is a big cube or sphere, whereas th sculpted prim itself is more like a slab. And yes, I was talking about rezzing from inventory.
Ceera, thanks for the scripting suggestion. For this item, I'll probably just go with that. Thanks again.
|