Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripting Sculpt Textures

Hypatia Callisto
metadea
Join date: 8 Feb 2006
Posts: 793
05-17-2007 06:27
Anyone manage to do this yet? I've seen one but I am getting an error message when using the syntax in the wiki.

Object: llSetPrimitiveParams error running rule #1 (PRIM_TYPE_SCULPT): arg #2 (type) is missing.
_____________________
... perhaps simplicity is complicated to grasp.
Draco18s Majestic
Registered User
Join date: 19 Sep 2005
Posts: 2,744
05-17-2007 07:11
I'm not sure that has been added to LSL yet. I know it's planned, but I haven't seen any release notes on it.
Milo Linden
Quality Assurance
Join date: 22 Mar 2006
Posts: 140
05-17-2007 08:13
Hi,

This was changed in the last release, this info from qarl

llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_SCULPT, "uuid", PRIM_SCULPT_TYPE_SPHERE);

the type is currently ignored - but in future versions will be obeyed allowing for different topologies:

PRIM_SCULPT_TYPE_SPHERE,
PRIM_SCULPT_TYPE_TORUS,
PRIM_SCULPT_TYPE_PLANE,
PRIM_SCULPT_TYPE_CYLINDER

Milo
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
05-17-2007 12:26
Nice, Can't wait for the Plane and Cylinder. :)
_____________________
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
05-17-2007 12:48
What, no Mobius strip or Klein bottle :(

:p
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG
Hypatia Callisto
metadea
Join date: 8 Feb 2006
Posts: 793
05-17-2007 13:40
From: Milo Linden
Hi,

This was changed in the last release, this info from qarl

llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_SCULPT, "uuid", PRIM_SCULPT_TYPE_SPHERE);

the type is currently ignored - but in future versions will be obeyed allowing for different topologies:

PRIM_SCULPT_TYPE_SPHERE,
PRIM_SCULPT_TYPE_TORUS,
PRIM_SCULPT_TYPE_PLANE,
PRIM_SCULPT_TYPE_CYLINDER

Milo


YAY! I can't wait!

*drools*

thanks for the answer, that's what I needed to know. :)
_____________________
... perhaps simplicity is complicated to grasp.
Hypatia Callisto
metadea
Join date: 8 Feb 2006
Posts: 793
05-17-2007 18:29
well this is sweet :)

one little nag though - I noticed with a spherical texture I have, switching between it and my vase texture as a test, the first click to switch textures will result in the default sphere showing up for a split second.

doesnt happen to the vase texture, but does happen to the sphere texture. I have to test it more with other textures and see if the reversion to the default sphere shows up. but thought I'd say something here... I filed a bug report.
_____________________
... perhaps simplicity is complicated to grasp.
Draco18s Majestic
Registered User
Join date: 19 Sep 2005
Posts: 2,744
05-18-2007 05:40
From: Seifert Surface
What, no Mobius strip or Klein bottle :(

:p


http://wiki.secondlife.com/wiki/Image:Kleinbottle.jpg

I've got to fix the texture now that they changed the way it maps, but I did an almost perfect Klein bottle (it's a solid, rather than a surface--i.e. "rock" vs. "bubble";).
I think Gearsaw has a mobius strip texture.