[sldev] Re: Scripting the client,
and sculpties... things that make you go hmmm...
Argent Stonecutter
secret.argent at gmail.com
Thu Aug 2 15:19:02 PDT 2007
On 02-Aug-2007, at 16:52, Jason Giglio wrote:
> Something to ponder, SVG can fully support ECMAScript, killing like
> 100 birds with one stone. :)
>
> SVG-on-a-prim just makes sense.
So long as it can be done purely from within the game, without
requiring HTTP access or resources otherwise fetched from an external
server that would have to be maintained indefinitely, you have my vote.
Considering the current trends in SL...
llApplyLinkSVG(integer link,integer face,string code);
// If the code starts with "<" it is assumed to be inline, otherwise
it is the name or UUID of a notecard
// The SVG provided will be treated as an overlay for the texture on
the face, which would allowing you to render
// multiple frames that can be reliably cached and animated purely
client-side without any further script execution
// either on the client or server.
// The special face value FACE_SCULPT would allow the SVG to modify
the sculpt texture of a sculpted prim.
// FACE_SCULPT should of course also be an option for
llSetTextureAnimation() :)
More information about the SLDev
mailing list