Prim Composer 1.3 – LSL-based Rezzing



Prim Composer 1.3 – LSL-based Rezzing

9
Jun
2009

Article Overview

  1. What's New in 1.3
  2. MaxRez - Features and Limitations
  3. MaxRez - Usage
  4. Tiny Sculpts - New in 1.3
  5. ALL (printer friendly)

MaxRez LSL Rezzing System

The major new feature in 1.3 is an optional new uploader in Maxport and a corresponding LSL-based rezzing system that works in both Second Life and OpenSim (OpenSim 0.6.5 required). In previous versions, Maxport uploaded builds by rezzing prims one at a time and then linking them. This is still the default method in 1.3, but there is also a new command line option (- -lsl) that turns on the new LSL rezzing system.

Instead of creating prims one by one, the new system automatically formats the prim data into a set of notecards, uploads the notecards, and puts them inside a prim. When Maxport is finished, login to Second Life or OpenSim and touch the prim to have it rez the build from notecards using an LSL script.

maxrez-rezzer-contents

MaxRez Advantages

  • For builds with large prim counts, upload speed is faster.
  • The entire build, including textures, is packaged into a single prim which can easily be taken into inventory.
  • You can watch the build rez.
  • Increased flexibility. There are new options for how the build is rezzed. The build can be rezzed relative to the position of the rezzer prim or in absolute sim coordinates. These options can be changed in the Maxport command line and also modified later by changing a settings notecard in the rezzer.
  • If a linkset is unlinkable because of distance constraints, the rezzer will link as much of it as possible.
  • Huge potential for future enhancements, including the incorporation of something like Builder’s Buddy and the possibility of combining builds in modular ways.

MaxRez Technical Features

  • Rezzing is multithreaded and uses parallel processing to the maximum extent possible.
  • Communication and coordination between the rezzer and the rezzing prims is kept to an absolute minimum. Each prim reads its own notecard data rather than having it communicated via chat from the rezzer.
  • Rezzing is performed in groups. The rezzer never rezzes a single prim. Instead, it rezzes whole linksets, already linked. The rezzing of unlinked prims is similarly optimized by rezzing unlinked prims in groups of 10.
  • All prim attributes are supported. Light, flex, and textures are all supported. All parameters are set using a single call to llSetPrimitiveParams(), thus minimizing LSL delays.
  • Rezzing speed and other attributes, such as whether to use relative or absolute coordinates, are configurable in the rezzer via a settings notecard.
  • The LSL rezzer scripts are distributed under a GPL license.

MaxRez Limitations

  • There is not yet a way to automatically change the permissions of the rezzed build. It always rezzes with full next-owner perms and no group perms.
  • Rezzing speed is fast, but it is still fundamentally a notecard-based rezzer. Thus, it spends a lot of time reading notecards and setting primitive params. It can never be as fast as a rezzer that stores the actual objects inside it.
  • The current rezzer is not suitable for giving to customers, since the build can be easily reverse-engineered from the notecards.

Development versus Distribution

These limitations highlight the fact that the current MaxRez rezzer is suitable for development, but not for distribution. In the future, Maxport will also support the automatic creation of a distribution-type rezzer which will store the actual linksets inside the rezzer, instead of rezzing the linksets from notecard data. When it is released, the distribution rezzer will likely upload slower than the current rezzer, but should rez faster and will protect the build better against theft.

Note: there is no danger of theft with the current rezzer unless you give the rezzer to another person. The rezzed build is safe from theft. That is, it is as safe as any other build in Second Life and OpenSim.

Next, I’ll talk about how to use MaxRez.

RSS feed | Trackback URI

Comments jump to bottom

No comments yet.

Submit Comment