RigWrap 3.2 - Clothing without Humanoids & MASSIVE Performance Boost [PLUGIN]

:down_arrow: GET IT HERE | DONATE R$ :heart:

VERSION 3.2 — AN ENTIRELY NEW WAY OF RENDERING

:light_bulb: WHY RIGWRAP?

  • :clipboard: Tested for 100,000+ NPCs Simultaneously
  • :chart_increasing: Significant Increase in Performance
  • :wireless: No More Lag From NPCs
  • :hourglass_not_done: Massively Reduced Loading Time
  • :artist_palette: Clothing on R6 & R15 Rigs without Humanoids
  • :gear: Supports Clothing Updates at Runtime
  • :white_check_mark: Free & Easy To Use

(See benchmark video below)

:information_source: INTRODUCTION


I was developing a game with hundreds of Humanoid NPCs, which caused severe performance loss. Switching to AnimationControllers fixed the performance issue, but introduced a new limitation:
Only Humanoids Can Render Clothing

:graduation_cap: TUTORIAL


You can now select any R6 or R15 Model and render Shirts and Pants without having to use Humanoids whatsoever! Press the Import R6 and Import R15 Buttons to use the brand new optimized Rigs! (v3.0+)

NOTE:

:information_source: Since Version v2.2 you don’t need to upload Templates manually anymore! Just insert your AssetIDs and jump right in!

View the old Tutorial anyways

Step 1/2:

Find a Classic Shirt or Pants on the Catalog :newspaper:. Click on it and you should see the URL :globe_with_meridians: at the top of your browser look something like this:

https://www.roblox.com/catalog/607785314/ROBLOX-Jacket

This is the AssetID. Now go ahead and copy the number, which in this case is 607785314.

Step 2/2:

You can manually use InsertService to insert the Asset as a ShirtTemplate or PantsTemplate, then print its Template ID. Run the following code in your Roblox Console:

:warning: WARNING:
InsertService could potentially be used by Exploiters to insert malicious code into Studio. Therefore you should never insert unknown IDs into your game.

local InsertService = game:GetService("InsertService")
local Asset = InsertService:LoadAsset(YOUR_ASSET_ID)
print(Asset:FindFirstChildOfClass("Shirt").ShirtTemplate)

Replace Asset:FindFirstChildOfClass("Shirt").ShirtTemplate with Asset:FindFirstChildOfClass("Pants").PantsTemplate if you’re trying to get a PantsTemplate instead of a ShirtTemplate.

You can upload your own custom Shirt or Pants by downloading the Official Roblox Clothing Template, designing it in a Software of your choice and uploading it via Roblox as a Decal here.


What do you think about this Plugin?
  • It’s amazing!
  • I haven’t tried it yet.
  • I don’t like it.
0 voters

:rocket: BENCHMARK


Note: This benchmark is outdated. RigWrap at v3.0+ offers significantly more performance.

The video below demonstrates the massive performance gains and reduced loading time achieved in crowded scenes.

Hardware Info

Results may vary depending on hardware.

CPU: AMD Ryzen 7 7800x3D
GPU: NVIDIA RTX 4080 Super
RAM: 32GB DDR5-6000

View Results

:bar_chart: Results for v2.0+

Category Default RigWrap :chart_increasing:
Loading Time 09:14:08 00:08:07 68x Faster
Average FPS 50 FPS 230 FPS 3.6x More FPS


This is the NPC used for the benchmark.

:page_with_curl: VERSION LOG


1.0 - RELEASE
  • Shirts
  • Pants
  • R6 Support
1.1
  • Bug Fixes
2.0 - MULTIRIG & R15 SUPPORT
  • Bug Fixes
  • New UI
  • R15 Support
  • Faces
  • Animations
  • Multi Rig Support
2.1
  • Bug Fixes
  • Widget UI
  • Custom Offsets
  • Plugin Video
2.2
  • Implementation of InsertService for improved loading
  • Fallback normal to eliminate blank rendering spots
  • Interface Changes
  • Improved performance & structure
3.0 - NEW RENDERING METHOD
  • New Rendering Method
  • Custom UV Wrapped Rigs
  • New Interface
  • Removed Unnecessary Gui
  • Bug Fixes
  • Pixel-Perfect Rendering
  • Significant Increase in Performance
  • Added Preview
3.1
  • Fixed Preview Bug
  • Slightly improved Performance
3.2
  • New UI
  • Bug Fixes
  • AssetID History
  • SFX

:heart: THANK YOU


RigWrap took me a lot of time and effort to develop and it’s available for free.
If you enjoy it, please consider liking and leaving positive feedback on the Creator Hub or donating a small amount of Robux here. Even a simple like and post on this topic would be highly appreciated!

:writing_hand: Suggestions, Questions, Issues or Feedback?


Make sure to share them on this Topic!

:video_game: Join RealArt if you’d like to see future games:
https://www.roblox.com/communities/36080645/RealArt#!/about

:star: Follow me to receive automatic notifications for future updates:
https://www.roblox.com/users/3608456945/profile

:megaphone: AUTO UPDATE FOR BEST EXPERIENCE


Each new Version fixes Bugs, increases Efficiency, Stability and Functionality.
Don’t miss out on that!

How do I turn on Auto Update?

Step 1/2:

Click Manage Plugins on the Plugin Tab.

Step 2/2:

Scroll down to RigWrap and Enable Auto Update.

:backhand_index_pointing_right: GET RIGWRAP HERE FOR FREE:


Creator Store: https://create.roblox.com/store/asset/71774011419996/RigWrap
Donate R$: Baseplate - Roblox

Other Plugins made by me:

ReRig: ReRig - Change any Rig's Avatar Type, Rig Type and Gender in One Click [Plugin]
Smooth UI Corner: Smooth UI Corner - Instantly smooth any GuiObject's corners! [PLUGIN]

62 Likes

Thanks a million. This really helps a lot. However, I would suggest that instead of making GUI for this plugin, you can use the widget UI thing ( like the one Archimedes plugin does ), it is easier to move it around and place it wherever we want

But another question : Won’t there be more draw calls for loading the Decals ? It didnt have that sort of thing in normal shirt and pants

2 Likes

I noticed that the plugin doesn’t work properly with R6 NPCs with MeshParts:


The left is the NPC with a humanoid, and the right is the non-humanoid rig. I used the body part meshes to keep the standard chamfers, but it messed up the alignment of the textures.

The fix was easy, though: add half the size of each axis to the texture offset. I think in a future update, you should have some sort of option to have more control over the offsets. BTW I have not tested the texture alignments for R15 avatars.

Anyways, thanks for the plugin!

3 Likes

Thanks for the feedback, I’ve been working on a new version for a a while but honestly I’ve been running away from it because all this R15 mapping takes a good while… but I’ll hope to release an update soon

Thanks for the idea, I’ll add a widget option for the next update!

And yes, there would be more drawing cells

Version 2.0

New Features:

  • :beetle: Bug Fixes
  • :art: New UI
  • :robot: R15 Support
  • :framed_picture: Faces
  • :man_running: Animations
  • :link: Multi Rig Support

These are not clothing, these are body paintings, or “Classic clothing”.

Hello, you need to add Top and bottoms faces to all limb parts

2 Likes

wonderful feature, works well for my case. it could be one of the big tools later in the future.

2 Likes

is it possible that you are working on a way to make it work on roblox player?

1 Like

I bumped into this but i have no idea how it works, can somebody shows me an example? And also what rig do you guys use??

There is a slight offset in R15 models, it seems like an easy fix because its so close to being right, but I wouldn’t know

1 Like

Super helpful thank you. Just needed this for the police clothing displays within Jailbreak.

4 Likes

I’m happy to hear that! Glad you found it useful for such a huge game :eyes:

1 Like

Hey there,
could you clarify your problem with the Plugin?
For me it works perfectly fine when I’m in Roblox Player:

Version 2.1

New Features:

  • :beetle: Bug Fixes
  • :artist_palette: Widget UI
  • ↔️ Custom Offsets
  • :clapper_board: Plugin Video

Hey there,

apologies for answering late - here is a more detailed explanation of your issue:

The red parts in this image are the Front Face of the mesh (This happens because of UV Mapping) and cannot be fixed. This is the reason why there is a slight offset in R15 textures.

The only solution i know is to make your own limbs (such as in Blender). There you can fix UV Mapping, reduce faces and make more changes to your Character.

Hope this helped!

EDIT: FIXED IN v3.0!

Hello,

I’ve tried it and for R15 it doesn’t render a shirt or pants on the top of the lower tower (and hands) and the bottom of the upper torso (and lower arms)

EDIT: Actually it would also be the same for the lower/upper arms

Hey there,

that’s a Roblox Face Orientation Issue you can only fix by using a SurfaceAppearance or making custom Mesh limbs in Blender.

The part in gray cannot be rendered precisely by Textures or Decals.

Left: Humanoid Clothing
Right: Texture Rendering

Now this is what happens when you render a Texture on the Top face:

The light blue top texture doesn’t render correctly because it
recognizes the beveled sides as a “Top” Normal too.

This is how it is supposed to look like:

Texture Offsets cannot fix this issue.

It’s a small detail that is unlikely to negatively impact the atmosphere of your game.
You can also recolor the limb part in Roblox to make the gray go away (And set Material to SmoothPlastic), which is the quickest solution for your situation.

But the RigWrap Texture Rendering massively reduces loading time and increases performance (like shown in the Benchmark video). It was developed to fix all performance issues for games with many NPCs.

→ If you only have a few NPCs and want the best possible rendering Quality, stick with Humanoids.

I hope this helped!

[EDIT]: All of this was fixed in v.3.0!

1 Like

Hello,

Yes this helps, but couldn’t you still apply a decal, even if its not 100% accurate, it’d still be better than nothing?

Right now if I make my NPC skin-coloured, it’s very apparent that there’s nothing, but if there were to have something (even just a stretched bit of clothing), it would look way better

(I have A LOT of NPCs in my game, we’re looking at potential alternatives to humanoids)

1 Like