Jump to content
3DCoat Forums

Stroke over Cavity/Hole - Advanced Off Axis Controls - Advanced Interpolate Options


Aethyr
 Share

Recommended Posts

  • Member

This would provide an option to tell 3dcoat in it's various modes that I don't want the brush/vertex to "Jump" from a near surface to a far surface and would save me from breaking my undo button if implemented. An example is a hair voxel sculpted object (see attached movie) where the hair is volumetric. I draw hair follicles with the muscle tool. When painting on the outside front and then passing over a "cavity/hole" it will draw a line from the front to the inside back.

I've messed around with the paint on a plane option and it simply does not offer enough "tolerance along the off axis" to allow my stroke to still move in and out and behave as it should. Let's say for example I want to allow the stroke to move inward/outward when it hits the slope or a cavity/gap but only by a small margin or strictly adhere to the existing nearby surfaces sloping. This would greatly enhance the control over the off-axis (3rd axis not available with a 2D input device). This could be achieved as an advanced interpolate option by using an sampled average of the nearby vertices/voxels surface causing the brush to maintain an average location along the surface.

Here's how I think it could work:

Beside the Interpolate settings put a small icon button that opens a rollout. (This rollout will allow you to customize the options for this feature.)

The possible options on this rollout include:

  • Auto-Averaging (Samples nearby vertices/voxels inside the AoS for "off axis" values. [Checkbox which enables the AoS options and disables Custom Tolerance options.])
    • AoS "Area of Sampling" (This would be a sphere, not a circle, in terms of what is sampled. The sampler when in automatic mode would test nearby vertices/voxels within the AoS and adjusts the "off axis", to match the average of the sampled nearby surfaces. This would allow for the off axis of the stroke to match the curvature of the nearby hair follicles but ignore the far side since it would not be inside of the sphere sampler area. [Brush Radius Sphere Preview in work area at last strokes location and slider with numeric input on menu the same as a normal 2D brush but an independent value from the actual brush allowing for a larger sample area than size of the brush.])
    • Fall-Off Slope (A setting to allow the AoS to have custom fall off values for controlling whether samples from the center or from the outer edge have a greater impact in determining the final slope of the brush stroke. [A bezier curve with numeric input much like Photoshop or standard fall off curve.])
    • Offset (A setting to allow a positive or negative value to determine how far in or out the stroke should be from the absolute center/middle of the averaged surfaces. This would allow to paint on, outside or inside more when sampling a thicker or thinner object such as in my hair example below. I may want the follicle to follow the closest surface and sit on top of it or below it rather than at the absolute center of the nearby surfaces.) [ -100%/+100% slider with numeric input.])
    • X-Squash/Y-Squash/Z-Squash (Changes the size and essentially the shape of the AoS to sample across a wider area, deeper area or taller area. [Sphere icon with arrows pointing along each axis with 3 input fields with a range of 0-100%.])

    [*]Custom Tolerance (Value from 0-100% where 0 means no movement along the "off axis" much like how Draw over a plane works currently and 100 means no limit to the movement along the "off axis" or the way it behaves currently by default as shown in the video. [Slider with numeric input on menu.])

    [*]Smoothing (Smoothes the sampled values to provide a cleaner curve to the stroke this would be your basic interpolate value if you wanted to group it within the menu [Current Interpolate Option.])

The other feature would be to ignore backfaces in retopo mode when using the "add/split" tool. For example often I will be clicking out a face and have it actually put the vertex along the wrong side of the voxel surface when doing double sided objects that already have one side of faces and the other side only the voxel work area. Essentially the same feature as above but customized just for vertex mode of retopology tab to keep the sampler from going crazy with what part of the surface it decides to sample.

  • Like 1
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...