ousnius / BodySlide-and-Outfit-Studio

BodySlide and Outfit Studio, a tool to convert, create, and customize outfits and bodies for Bethesda games.
GNU General Public License v3.0
293 stars 64 forks source link

New cubic brush falloff formula; allow larger brush values to be entered (max 10.0) #422

Closed sts1skj closed 2 years ago

sts1skj commented 2 years ago

Hopefully I caught every instance of "3.0f" in the brush size code and changed it. Some of them were "3.000f" instead. All of them were in OutfitStudio.h. I didn't try to analyze that code to see if it made sense; I just changed the constant.

sts1skj commented 2 years ago

I'm a little concerned that the minimum possible brush size, .001, may not be small enough with the new brush scale. In "CBBE Body", there are several places where a brush size of .001 (with the new scale) gives a radius big enough that you can't isolate a point. Maybe the brush-size code needs to be adjusted so that the resolution is .0001 instead of .001 .

ousnius commented 2 years ago

We decided to keep the brush size scale at 3 for now but increased the decimal places from 3 to 4. Additionally, you can manually enter values into the text fields up to 10.0 now.