Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Multiple sculpties. Sculptiples? Multiplees?

DanielFox Abernathy
Registered User
Join date: 20 Oct 2006
Posts: 212
09-12-2007 22:26
Here's an interesting trick:

Make a box, and stick this script in it:

default
{
state_entry()
{
llSetPrimitiveParams( [PRIM_TYPE, PRIM_TYPE_SCULPT, "8c48855a-9554-6c9a-d3bb-c647a9b1af73", PRIM_SCULPT_TYPE_PLANE ] );
llSetTexture( "d56de183-ad22-e27f-4df6-5282a87aedf0", ALL_SIDES );
llTargetOmega(<0.0,1.0,0.0>,1.0,1.0);
}
}


Confuse your friends :D
Wulfric Chevalier
Give me a Fish!!!!
Join date: 22 Dec 2006
Posts: 947
09-12-2007 23:10
very cool
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
09-13-2007 08:12
Nice! This is using one of the lossless uploaders or something?
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG
Liznwiz Wei
Registered User
Join date: 9 Dec 2006
Posts: 69
09-13-2007 08:17
Thats amazing, thanks
_____________________
Visit Travitown for a new shopping experience

http://slurl.com/secondlife/Travitown/156/62/22
Zen Zeddmore
3dprinter Enthusiast
Join date: 31 Jul 2006
Posts: 604
09-13-2007 10:09
SweeeeeeeT!!!

ps
BTW,does targetOmega work anywhere?
_____________________
A kilogram of programmable nanobots can lower the certainty of both death AND taxes.
Vlad Bjornson
Virtual Gardener
Join date: 11 Nov 2005
Posts: 650
09-13-2007 13:05
Tricky. :eek:

I have been wondering if it was possible to make a single sculpty that contains individual shapes like that. Guess it is. :D
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
09-13-2007 16:50
Very, very cool.
_____________________
.

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.
DanielFox Abernathy
Registered User
Join date: 20 Oct 2006
Posts: 212
09-13-2007 17:41
Seifert, it was uploaded with the Release Candidate version of the SL Viewer, which includes an 'upload lossless' checkbox for sculpties.
Al Sonic
Builder Furiend
Join date: 13 Jun 2006
Posts: 162
Sculptiples – Great idea!
09-14-2007 11:24
Whoa. I needed a bit of staring at it in Edit mode to realize the fantastic trick here – they're all connected by a (completely) invisibly thin thread running from one center to another. (Viewing it in low detail seems to confirm this.)

Awesome work.
_____________________
If I said a thing ya don't understand, lemme know. I too love it when info is easy to read :D.
DanielFox Abernathy
Registered User
Join date: 20 Oct 2006
Posts: 212
09-14-2007 11:26
This might make a good topic for an upcoming tutorial :D
Incony Hathaway
Registered User
Join date: 18 Feb 2007
Posts: 235
09-15-2007 10:13
Trying hard to animate this...:)

But of course one can only have one animation for a texture... just playing with an eighty face texture that has transparency in it.. certainly produces some interesting effects..even though i havent looked into it deeper yet and tried to get an animation face per cube..

But i think it has promise.. and must say its great to be able to use things like this.. thank you Daniel

integer randNumber;
integer max_nr;
integer cur_nr;
integer time = 6; //write here your time

init()
{
max_nr = llGetInventoryNumber(INVENTORY_TEXTURE);
llSetPrimitiveParams( [PRIM_TYPE, PRIM_TYPE_SCULPT, "8c48855a-9554-6c9a-d3bb-c647a9b1af73", PRIM_SCULPT_TYPE_PLANE ] );
llTargetOmega(<0,0,0.02>,PI,1.0);
cur_nr = 0;


llSetTimerEvent(time);

llSetTextureAnim( ANIM_ON | LOOP , 0, 8, 10, 0, 80, 15);
llTargetOmega(<0,0,0.05>,PI,1.0);
}

default
{
state_entry()
{

init();

}

changed(integer change)
{
if (change & CHANGED_INVENTORY)
init();
}

on_rez(integer param)
{
init();
}

timer()
{


float random = llFrand(1);
float random2 = random*10.0-llFloor(random*10);
float random3 = random*100.0-llFloor(random*100);
llSetColor(<random ,random2 ,random3>,ALL_SIDES);

llSetTexture(llGetInventoryName(INVENTORY_TEXTURE, 0), ALL_SIDES); //change ALL_SIDES to side nr. if you want
}
}
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
09-16-2007 09:06
From: DanielFox Abernathy
Seifert, it was uploaded with the Release Candidate version of the SL Viewer, which includes an 'upload lossless' checkbox for sculpties.
Ah cool, I was having trouble with uploaded 64x64 textures being very fuzzy, but I hear it works as intended for 128x128, haven't had a chance to try it yet.
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
09-17-2007 14:55
I tried my hand at Daniel's technique, and managed to get six cubes from a single prim. I made it from a 16x16 plane, so it has the same LOD behavior as Daniel's. The UUID is fb9c4928-a687-8687-3a79-91b3806afcc0, in case you want to verify it.