CreatorsOk
vrengames
vrengames

patreon


Clothing Constrainment and Bug Fixing

Before I get into my main post for tonight, I have a request for Mac players. I am trying to pin down the cause of the strange animation scaling, if it is affecting you please take a moment and fill out this bug report form: Mac Bug Form 

For a long time I have been bothered by some systematic by some systematic clipping issues with the clothing system of Lab Rats 2. The clipping issues were a result of how clothing is shown in the game: individual images of each piece of clothing are rendered and then stacked in Ren'py to generate a character outfit. For reasonably skin tight items like bras, panties, or t-shirts this approach works well, but when clothing is suppose to have volume while allowing things to be placed over top it runs into issues. The left image shows a worst case scenario: a camisole with a frilled and flared edges along the bottom and shoulders, a skirt that flares out at the hips, and on top of it all a relatively tight fitting lab coat that goes down to the thighs. I have thought about the problem a lot, but I never came up with a reasonable solution that didn't involve a significant amount of manual effort in Daz as well as much larger image packs for clothing items.

I obviously wouldn't be writing about this unless I had a solution. The fix has ended up being a direct result of the prototype work I did during the bug testing week. That work focused on defining body regions to let hide some sections at a time, and it resulted in a library of region images that I could use to isolate, for example, the upper arms, breasts, feet, ect. It occurred to me that the effect I wanted for layered clothing was to have upper layers constrain lower layers to these same body regions. The short explanation is that when defined pieces of clothing can now be told what regions they should constrain. If other pieces of clothing are drawn near these regions they are only drawn inside the body region, effectively correcting the layering issues.

There are a few benefits to this new system. First, it works with existing assets as-is. There are no extra image sets needed (outside of adding some additional body regions) and constrained regions only need to be added to clothing items that look incorrect without them. These are mostly top layer items that might need to fit over bulky shirts or sweaters. Second, it works flawlessly with the outfit system in general. If a constraining item is removed the items being constrained return to their normal state. It works in the outfit designer with no extra work as well. Because it is based on the same body regions as the half-off body regions it even works flawlessly with that; if a half-off coat would no longer hide a body region that region also no longer constrains anything. The last and most obvious benefit is that the clothing sets just look better.

There are some interesting implementation details and edge cases that I might go into in a future post if people are interested, but I hope you like what you see with this new feature!

Clothing Constrainment and Bug Fixing

Comments

More info on my whole model clipping... I attached a second monitor and on the monitor it doesn't clip. Weird. It is just on the main laptop screen. It is the previous gen Mac laptop with the retinal monitor. Even if I adjust the resolution, it still clips the model.

Yellowcake Uranium

I found out there's a soft lock/ exploit when you have insufficient energy and the other person almost has max arousal. You can 'leave' then they say please don't and then you end up with the previous two options of leaving and continuing. Bu since 'leaving' increase obedience by 2 points, you can actually keep increasing the stat, since they always end up with the 'please don't stop dialogue' sending you back one step in the dialogue. This creates a looping condition, which can be broken by picking leave twice.

Out of curiosity is there a reason you swapped from using Illusion games to make the models and what not?

Volexay

I don't have a clipping issue with clothes, but I do with models. Like in chat, I only see half the model.

Yellowcake Uranium

Great game, I love the continuing additions! A request, Vren, could you add a short apron, waist and lower only.

NuTrix

I know there's a lot of bugs to squash and other mechanical changes you want to make but are the women closest to MC going to get any love soon? Would love to be able make one of them my GF / knock them up.

Summertimefan

So a cool thing I learned is that you can create a "dress" by layering certain shirts over certain skirts (which is needed to have women wear dresses since a lot of the dresses are considered the same a nude for slut requirement for some reason). I love to make the clothing transparent, but if you layer a shirt over a skirt you see both layers. No real point just an observation...

Aaror

Yeah, I like it. Is the picture on the right how it looks with the new system?

MisterL

I don't mean to complain but is there any way to get rid of blue background or change it, the color intensity is cutting my eyes.

Demi

Hey :) I would like a shout out with you. What do you think about it?

Sounds great! ... different subject comment though - it is a bit disconcerting when one of the women comes on to / begins sex with the player and then the text (especially true of taboo text) suddenly shifts to a more 'defensive' tone with the woman questioning the guy about should we do this / are you sure type comments.

William Urquhart


More Models and Creators