Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sculptie Planes

Nerolus Mosienko
Registered User
Join date: 3 Aug 2006
Posts: 145
08-03-2008 22:34
Does anyone know how to make a sculpted plane? I see there is an option to use a Nurbs plane in maya, but it doesnt render correctly. Is there any other somewhat simple way to make a sculpted plane? I'm looking into making things like table cloths, flags, etc.

:confused:
Damanios Thetan
looking in
Join date: 6 Mar 2004
Posts: 992
08-04-2008 02:05
All sculpties are normally mapped on spheres. You need a bit of scripting to change the 'base shape' to something else.

CODE


state_entry ()
{
llSetPrimitiveParams([PRIM_TYPE,PRIM_TYPE_SCULPT,"UUID of sculptmap",PRIM_SCULPT_TYPE_PLANE]);
}

CODE


(unchecked in SL)
Create a new script, delete everything in it, and copy this line in it. Then change where it says "UUID of sculptmap" to the UUID of the sculptmap you want to use. (You can find this by right clicking on the texture in inv. en selecting 'copy UUID'.)

you can read more about it, including the different base types here:
http://wiki.secondlife.com/wiki/PRIM_TYPE_SCULPT
_____________________
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
08-04-2008 09:11
Damanios's answer is correct, but as of the latest viewer update, it's a little incomplete. There are now options to set the sculpty stitching type directly in the editor, so scripting is no longer a requirement. The script still works, of course, but you don't have to use it, unless you're using an older viewer.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Nerolus Mosienko
Registered User
Join date: 3 Aug 2006
Posts: 145
08-04-2008 10:22
Thanks for the answers, both of you! The mapping was fixed, but it caused yet another problem. My sculpted planes that I made in maya are now completely transparent on the bottom side.
Vlad Bjornson
Virtual Gardener
Join date: 11 Nov 2005
Posts: 650
08-04-2008 10:43
All of the faces of a sculpty Plane are located on one side of the shape, so it is normal for it to be invisible from the other side.
_____________________
I heart shiny ! http://www.shiny-life.com
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
08-04-2008 10:51
From: Nerolus Mosienko
My sculpted planes that I made in maya are now completely transparent on the bottom side.

That's perfectly normal. SL does not render back-faces, only front-faces. In other words, all surfaces have only one side, for rendering purposes. This is the same reasons why when you put a transparent texture on one face of a cube, you can see all the way through the cube instead of seeing its interior surfaces. The interior is all back-faces, which are always invisible.

If you want a plane to be two-sided, you've got a couple of options. One would be to build a secondary duplicate plane, with exactly the same shape as the first one, but with its "front" and "back" reversed. (One easy way to do that is to flip the existing sculpt map over, in any image-editing program.) Put both objects in the same location, and you'll have what appears to be a single two-sided plane. Needless to say, this will double your prim count (not to mention your poly count), so it might not be ideal.

The other option is to use a sphere instead of a plane, so that the "front" and "back" are actually the same surface. Think of it kind of like deflating a basketball. Squeeze all the air out, and you've basically got a flat pancake, just like a plane. Since it's been flattened, it appears to have two distinct sides, but it's really all just one side, the exterior surface of the ball. The actual back-face is the inside of the sphere, which no one will ever see it. Depending on what shape you're trying to make, this option may or may not be viable.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.