|
Bulli Schumann
Registered User
Join date: 11 Feb 2007
Posts: 11
|
07-17-2007 14:05
Hi, Using several of the tutorials, I've managed to create some (basic) sculpties, based on the sphere. I'm now looking at using the 'cylinder' sculpty. The problem with this, though, is the fact that I cannot seem to get a texture on the inside of the cylinder (not even by scripting and using ALL_SIDES). Anyone know if it's even possible to texture the inside of a cylinder sculpty? At this moment, it's just transparent, which gives really weird visual effects  Thanks, Bulli.
|
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
07-17-2007 14:45
The reason you can't texture the inside is because there is no inside. SL uses single-sided polygons. If you want one to appear to be double-sided, you need to use two objects.
This single-sidedness, by the way, is the same reason why when you put a transparent texture on the front of a cube, you see all the way through the cube instead of seeing the inside of it. Even if they were double-sided though, you still wouldn't be able to texture the "inside" differently from the "outside". What would happen would be you'd see the texture from the outside show up in reverse on the inside. You'd also be doubling the graphics load, and if you think SL's slow now, imagine what it would be like with the performance cut in half.
_____________________
.
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.
|
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-17-2007 19:26
What Chosen says is true. Nevertheless, if what you really want is the open ends of the cylinder topology, but with the inner surface textured, you can get that effect. Do it by adding a second "mirrored" sculpty which is the identical shape as the original, but with a switched surface orientation. To create this mirrored sculpty, use any 2D image manipulation program to flip the original sculpty bitmap. It doesn't matter whether you flip around the X axis or the Y axis.
|
|
Vlad Bjornson
Virtual Gardener
Join date: 11 Nov 2005
Posts: 650
|
07-17-2007 21:08
Cool idea, Omei! I'm gonna log in right now and try it out, just to see it work 
|
|
Bulli Schumann
Registered User
Join date: 11 Feb 2007
Posts: 11
|
07-17-2007 23:11
From: Chosen Few The reason you can't texture the inside is because there is no inside. SL uses single-sided polygons. If you want one to appear to be double-sided, you need to use two objects.
Thanks for your explanation, Chosen! It does make sense. However, the LSLWiki specifically mentions double-sided polygons for PRIM_SCULPT_TYPE_CYLINDER (Stitch left side to right, double sided polygons, http://lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams ) I'll try with mirroring the object, though 
|
|
Aminom Marvin
Registered User
Join date: 31 Dec 2006
Posts: 520
|
07-18-2007 02:18
What you want to use is a torus, not a cylinder. Deform the torus into a cylinder, and bingo, you got a tube-like object.
|
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-18-2007 10:19
The Wiki was incorrect. I changed it.
|