• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-7192
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Finish
Priority: Normal Normal
Assignee: Unassigned
Reporter: able whitman
Votes: 58
Watchers: 19
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

Hack to allow creating arbitrarily-sized prims in the viewer

Created: 12/May/08 09:16 AM   Updated: 18/May/08 11:41 AM
Return to search
Component/s: Building (in-world)
Affects Version/s: Source code, 1.20 Release Candidate, 1.19.1.4
Fix Version/s: None

File Attachments: 1. Text File create_megaprim_120.patch.txt (9 kB)
2. Text File megaprim-create.patch.txt (12 kB)
3. Text File megaprim-create.patch.v2.txt (12 kB)
4. Text File megaprim-create.patch.v3.txt (16 kB)
5. Text File megaprim-create.patch.v4.txt (15 kB)

Image Attachments:

1. screenshot-1.jpg
(129 kB)
Issue Links:
Relates
 

Source Version: 1.19.1.4, 1.20 RC5
Patch attached: Patch attached


 Description  « Hide
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.

This patch implements more of a hack than a feature, for the following reasons:
1. Prims with dimensions greater than 10m can only be created, not resized.
2. As above, I'm not sure if the ability to create these large prims is intentional or not
3. The patch, as it stands, isn't as good or as polished as I'd like for a JIRA submission
4. The creation and handling of large prims in the viewer is quirky

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

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 at the point of their 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 (albeit rather awkward) to create prims of whatever dimensions you'd like.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
able whitman made changes - 12/May/08 09:17 AM
Field Original Value New Value
Attachment megaprim-create.patch.txt [ 16693 ]
able whitman made changes - 12/May/08 09:20 AM
Attachment screenshot-1.jpg [ 16694 ]
able whitman made changes - 12/May/08 09:22 AM
Attachment create_megaprim_120.patch.txt [ 16695 ]
able whitman made changes - 12/May/08 09:24 AM
Source Version 1.19.1.4, 1.20 RC5
Patch attached [Patch attached]
Mercia Mcmahon made changes - 12/May/08 09:51 AM
Link This issue is related to by VWR-7191 [ VWR-7191 ]
able whitman made changes - 12/May/08 02:21 PM
Attachment megaprim-create.patch.v2.txt [ 16697 ]
Harleen Gretzky made changes - 12/May/08 10:44 PM
Link This issue is related to by VWR-7202 [ VWR-7202 ]
able whitman made changes - 13/May/08 09:02 AM
Attachment megaprim-create.patch.v3.txt [ 16708 ]
able whitman made changes - 13/May/08 02:30 PM
Attachment megaprim-create.patch.v4.txt [ 16714 ]
able whitman made changes - 18/May/08 11:41 AM
Status Open [ 1 ] Closed [ 6 ]
Resolution Won't Finish [ 2 ]
Sue Linden made changes - 13/Nov/08 11:50 AM
Workflow jira-2007-12-22a [ 55817 ] jira-2008-11-14 [ 78121 ]
Sue Linden made changes - 13/Nov/08 06:59 PM
Workflow jira-2008-11-14 [ 78121 ] jira-2008-11-14a [ 141392 ]