[sldev] A patch to allow creation of megaprims from within theviewer

Sylvio Deutsch overtake at keynet.com.br
Mon May 12 08:56:58 PDT 2008


Hi Able

>From my side, even having been on the receiving end of mega prims griefing, I´m all for having them around, their usefulness is much greater than the problems they can cause. 

So my vote is for you to start the JIRA for it.


And... there is any viewer compiled with your patch? I never tried to compile a viewer and it would take a LONG time for me to learn... 


{}Overtake


  ----- Original Message ----- 
  From: Able Whitman 
  To: sldev at lists.secondlife.com 
  Sent: Sunday, May 11, 2008 5:37 PM
  Subject: [sldev] A patch to allow creation of megaprims from within theviewer


  Howdy,

  This is the second small feature I've been working on lately. Apparently at some time in the recent past, an LL server update re-enabled the ability to create prims with dimensions larger than 10m on a side. There are already lots of new megaprims available, mostly for free (like here on SLExchange: http://slexchange.com/modules.php?name=Marketplace&file=item&ItemID=685589). I'm pretty sure most of these prims have been created using LibSL-derived tools.

  I don't know if this new-again ability is intentional or not, although I certainly hope it is because megaprims are incredibly useful. Either way, I wanted to be able to create large prims directly in the viewer. My biggest reason for wanting this ability is so that any builds I produce using these prims will then list me as the creator, instead of the creator of the prims that come from megaprim collections. Being able to create them myself also gives me the flexibility to have large prims in whatever size I need, regardless of whether someone thought to create one in advance or not.

  For the moment, I haven't posted this patch in JIRA, for a few reasons.
  1. As above, I'm not sure if the ability to create these large prims is intentional or not
  2. The patch, as it stands, isn't as good or as polished as I'd like for a JIRA submission
  3. The creation and handling of large prims in the viewer is quirky
  4. The use of megaprims always seems to be somewhat controversial

  With regards to "quirky", these large prims are subject to a couple of constraints:
  a. Prims with dimensions greater than 10m can only be *created*, they cannot be resized again later
  b. Attempts to resize any dimension of a large prim results in all dimensions of the prim being re-clamped to a 10m maximum

  With regards to controversy over the use of megaprims, I certainly understand that they can be used as a greifing tool (and I myself have been on the grief-receiving end of this). However, I feel that the incredible usefulness of such large prims greatly overweighs the detriments. Some people seem to disagree vehemently, though, so I thought a discussion here might be fruitful.

  That said, the patch itself is actually fairly straightforward. Part of the patch simply enables the Build tools to display and edit scale values larger than 10.0. 

  Since large prims can only be oversized on creation, I've replaced the viewer's hard-coded new prim size of <0.5, 0.5, 0.5> with configurable settings. Then I've exposed these settings on the Create tool panel of the Build tools floater.

  Put together, these changes make it pretty simple to create prims of whatever dimensions you'd like.

  I've attached my patch (which is against 1.19.1.4, the most recent official release viewer), as well as a screenshot demonstrating the patch in action.

  Please let me know if you have any questions, thoughts, or concerns.

  Cheers,
  --Able




------------------------------------------------------------------------------


  _______________________________________________
  Click here to unsubscribe or manage your list subscription:
  /index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20080512/e09a6361/attachment-0001.htm


More information about the SLDev mailing list