원시데이터 수집 시스템
선정목록으로

Curly-Cue: Geometric Methods for Highly Coiled Hair

관련 모빌리티 소재 · (2) 샤무드(인공피혁)

기본 정보

저자
  1. Haomiao Wu — Yale University, New Haven, USA
  2. A. Shi — Yale University, New Haven, USA
  3. A. M. Darke — University of California Santa Cruz, Santa Cruz, USA
  4. Theodore Kim — Yale University, New Haven, USA
DOI
10.1145/3680528.3687641
저널
–
발행년도
2024
발행기관
–
피인용수
0
라이선스
cc-by-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1145/3680528.3687641
토픽
Textile materials and evaluations
OpenAlex ID
W4404966024

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (2) 샤무드(인공피혁)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 샤무드(인공피혁)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We present geometric methods for generating shapes that are characteristic of highly coiled hair. Different features become visually relevant when hairs are well-approximated by high-frequency helices instead of low-frequency curves, so we present algorithms for three such phenomena. First, a Fourier-based method for phase locking, the process by which disparate helices near the scalp coalesce into a single curl. Second, a method for period skipping which models individual helices deviating from the coalesced curl. Third, a non-linear optimization that directly generates the shapes of switchbacks, a.k.a. helical perversions, which heretofore could only be produced through direct physical simulation. By applying all three methods in tandem, we show that we can achieve richly detailed depictions of highly coiled hair.

본문 35,388자

본문 펼치기
Fig. 1. 234K highly coiled hairs generated by combining our phase locking, period skipping, and switchback methods.The head is modelled after New York Times bestselling author Carvell Wallace [Iguodala and Wallace 2019], and used with his permission.We present geometric methods for generating shapes that are characteristic of highly coiled hair.Different features become visually relevant when hairs are well-approximated by high-frequency helices instead of low-frequency curves, so we present algorithms for three such phenomena.First, a Fourierbased method for phase locking, the process by which disparate helices near the scalp coalesce into a single curl.Second, a method for period skipping which models individual helices deviating from the coalesced curl.Third, a non-linear optimization that directly generates the shapes of switchbacks, a.k.a.helical perversions, which heretofore could only be produced through direct physical simulation.By applying all three methods in tandem, we show that we can achieve richly detailed depictions of highly coiled hair.CCS Concepts: • Computing methodologies → Shape modeling. Introduction Hair modeling and simulation has been an active topic in computer graphics research for over three decades [Anjyo et al. 1992].While many advances have been made, they are usually demonstrated on straight [McAdams et al. 2009], wavy [Kaufman et al. 2014], or loosely curled hair [Iben et al. 2013].A handful of papers [Bertails et al. 2005;Shi et al. 2023] have dealt with highly coiled, Afro-textured hair, but only one full paper [Patrick et al. 2004] and one short paper [Ogunseitan 2022] has specifically addressed the geometric challenges of modelling this type of hair. Introduction In this paper, we show that when highly coiled hairs, i.e. highfrequency helices, are assumed to be the base primitive, then a variety of challenging geometric phenomena appear that merit further algorithmic investigation. Introduction First, we examine how a group of disparate hairs coalesce into a single coherent curl as they travel away from the scalp.We call this phenomenon phase locking, borrowing the term's use in neuroscience [Kolev and Yordanova 1997] to describe multiple wavy signals falling into lock-step.Subsequently, we propose a data-driven, Fourier-based method for computing this geometry to capture the "spongy" texture of highly coiled hair near the scalp. Introduction Second, we present a direct geometric method for generating switchbacks along a helix.These structures are also known as "changes in handedness" or "helical perversions".While they are common in curly hair, the only previous method for generating them has been high-resolution physics simulation [Bergou et al. 2008;Crespel et al. 2024].We build on static analyses from physics [McMillen and Goriely 2002] to formulate a non-linear optimization that can insert physically valid switchbacks anywhere on a helix. Introduction Finally, we present a method for period skipping, a phenomenon related to phase locking where an individual hair temporarily breaks away from its coalesced curl.Precisely capturing this feature is crucial to achieving the range of diffuse and shiny looks characteristic of highly coiled hair.Our contributions are as follows: Introduction • A data-driven, Fourier method for computing phase locking between an ensemble of hairs.• A non-linear optimization method for inserting physically valid switchbacks anywhere along a helix.• A simple geometric method for computing period skipping within a coalesced curl of hair. Introduction To demonstrate both the realism and scalability of our methods, we include human-scale examples and several swatches. Related Works Many works on hair rendering, modelling, and simulation have been developed over the years, and excellent surveys and courses are available [Ward et al. 2007;Yuksel and Tariq 2010].Here, we list the works most relevant to our contributions. Hair Interpolation Directly simulating and modelling every hair on a human head has long been impractical, though methods are constantly improving [Daviet 2023].Instead, a widespread practice is to select a subset of "guide" hairs for modelling and simulation, and to interpolate a full set of hairs from these guides.This approach has been used since at least Watanabe and Suenaga [1992], who observed that nearby hairs usually resemble each other, so duplicating a single guide into thicker wisps is a viable strategy.Subsequently, wisps have also accelerated simulations [Bertails et al. 2003;Choe et al. 2005].Similar clustering notions appear in Disney's "groom tubes" [Kaur et al. 2018], and Animal Logic's "hair tubes" [Narayan 2023].Pixar's hair system performs nearest neighbor interpolation [Butts et al. 2018] while Sony Imageworks [Hasenbring and Karlsson 2021] interpolates between guides and "final" hairs.These approaches are mainly for straight or wavy hair.We instead present strategies that are specifically tailored to high-frequency hair. Hair Interpolation Many existing systems support scraggle [Butts et al. 2018;Haapaoja and Genzwürker 2019;Narayan 2023], which uses noise functions (e.g.Perlin [1985]) to add variations to hair.While this approach is effective for straight and wavy hair, we will show that highly coiled hair contains features that cannot be captured using this family of spatially local functions alone. Hair Modelling Image-based methods for hair have been refined over the last two decades [Paris et al. 2004], but many report issues when trying to capture high-frequency features like curly hair [Jakob et al. 2009;Sun et al. 2021;Zhang et al. 2017] or braids [Liang et al. 2018].Much of the difficulty stems from the images, which force the algorithms to reconstruct complex internal structures using only surface data.Recent methods have used volumetric CT data [Shen et al. 2023], which is significantly costlier than camera images, or neural methods [Rosu et al. 2022] that only demonstrate efficacy on straight hair.The geometric features for highly coiled hair we describe here could potentially be used to inform future image-based methods. Hair Modelling Mesh-based [Yuksel et al. 2009] and multi-resolution [Kim and Neumann 2002] methods have also been developed for direct manipulation of hair, but again are usually demonstrated on straight and wavy hair.We present techniques for highly coiled hair. Hair Simulation Guide hairs can be driven by spring-mass [Iben et al. 2013;Selle et al. 2008], Discrete Elastic Rod [Bergou et al. 2008], Super-Helix [Bertails et al. 2003], Position-Based [Umetani et al. 2015], or finite element-based [Shi et al. 2023] simulation methods. Hair Simulation Our methods are agnostic to the simulation method, including pre-processes like inverse [Derouet-Jourdan et al. 2013] or sag-free optimizations [Hsu et al. 2023].However, to demonstrate generality, we show results that involve both Discrete Elastic Rods [Bergou et al. 2008] and Lifted Curls [Shi et al. 2023]. Hair Classification We are investigating highly coiled hair, which under different classification systems might be called Type 4c, Type VIII [De La Mettrie et al. 2007], or Type-O [Mafro and Mafro 2013].We forego committing to a specific typing system, because they can contain key limitations [Kim et al. 2022].For example, Type 4c was informally added to the original Walker [1997] system after criticism that Walker had failed to include this historically neglected hair type [CurlCentric 2014].Instead, we follow the recommendation of Darke et al. [2024] and use the qualitative hair texture descriptor "coiled". Related Phenomena The graphics phenomenon most related to our notion of phase locking is the fiber-level modelling of yarns [Montazeri et al. 2019], where micro-fibers combine into a larger (straight) yarn.We instead track single helices that combine into a larger (non-straight) helix. Related Phenomena Our notion of switchbacks also appears in plants [Wang et al. 2013], bacteria [Mendelson 1978], andpolymers [Wie et al. 2015].While these prior works analyze the conditions under which switchbacks occur, none ever instantiate the geometry.We present the first method for directly computing the actual curve. Related Phenomena These shapes have also been called "spiral inversions" [Goriely and Tabor 1998], "helix reversals" [Hancock et al. 2020], "tendril perversions", and "helical perversions".We choose to avoid using the term "perversion" to describe a human feature, and instead opt for the shorter and more descriptive term switchback. Synthesizing Highly Coiled Hairs We first examine the phenomenon of phase locking, where disparate hairs coalesce into a single coherent curl (Fig. 2).Existing methods SA Conference Papers '24, December 3-6, 2024, Tokyo, Japan.that linearly interpolate guide hairs [Butts et al. 2018] do not suffice, because rich frequency information is destroyed under linear interpolation, e.g.averaging a sine wave with its /2 shifted counterpart yields a line.We will instead present a frequency-aware alternative. Synthesizing Highly Coiled Hairs Distinct geometric regions emerge in highly coiled hair that are absent in straighter hair.The uncorrelated, highly coiled hairs near the scalp form a "spongy" texture, and neglecting this region creates the impression of wig instead of naturalistic growth.(Fig. 10, left) Further from the scalp, the hairs coalesce into curls.(Fig. 3, right) We explicitly model both of these regions. Geometry Preliminaries 3.1.1Piecewise Spline.We model each hair strand as a C 1 continuous curve c() in R 3 composed of a piecewise cubic Hermite (Catmull-Rom) spline.Given a sequence of points {p 0 , ..., p } along a strand, the piecewise spline c () connecting p to p +1 over the interval ∈ [, + 1) is given by Geometry Preliminaries At the ends c 0 and c −1 , we do a weighted average of the slopes at the two closest points: Geometry Preliminaries The final piecewise curve is then c() = c (), ∈ [, + 1).For simplicity, we use → to remap the domain of c() to [0, 1]. Geometry Preliminaries 3.1.2Curve Frames.Our curve c(), needs u() and v() directions that span the plane orthogonal to the curve's direction c( ) /, yielding an oriented orthogonal frame {u, v, c( ) / }.There are many ways to compute u() and v(), such as Frenet frames or parallel transport.Our method is agnostic to any specific technique; we describe our specific strategy in §5.1.1. Frequency Analysis of Strands To convert a single guide hair into multiple hairs coalescing into a wisp, we perform two separate frequency analyses.First, a Fourier analysis extracts the low-frequency centerline of each guide hair.Second, we use the centerline algorithm to extract high frequency spectra from a dataset of full-resolution simulations.These spectra are then used in §3.3 to synthesize high-frequency "spongy" regions. Centerline Extraction.An obvious candidate for Fourier analysis is the , , and components of the curve points p .We instead prefer the translation-agnostic method of Zhou et al. [2023], which constructs the displacement-based sequence x = p +1 − p , and then performs a separate DFT along each component of {x } −1 =0 .This results in a triplet of coefficient vectors {k } =1 ∈ C 3 where C is the complex domain and = ⌊ /2⌋ + 1.We have found that applying a IDFT to the first three k 1,2,3 yields displacements {x * } −1 =0 that form an excellent centerline for the original helix.By construction, this process yields a centerline rooted at the origin.We compute a suitable scalp root translation t * using an approach similar to shape matching [Müller et al. 2005 Centerline x * denotes the reconstructed centerline points at the origin, a simple quadratic energy yields a crisp, closed-form solution: Centerline The final centerline c () is then the piecewise spline from §3.1.1 constructed through the points {p } =0 = {p * + t * } =0 .3.2.2High-Frequency Feature Extraction.We can now extract the centerline for any helical curve, and will use this approach to extract high-frequency details from the strands of a full-resolution simulation.In §3.3, we will transfer these extracted details onto the smooth centerlines of interpolated strands. Centerline Starting from curve points {p } =0 from a full-resolution simulation, we compute its centerline {p } =0 , and radial offsets from that centerline, R = {r } =0 = {p − p } =0 .Then we project each r against the orthogonal basis {u , v , ( c /) } from §3.1.2,to obtain r = u + v + ( c /) .Helices without switchbacks ( §4) only need to project against u and v .Taking the DFTs of the and sequences yields another coefficient vector {w } =1 ∈ C 2 with = ⌊ +1 /2⌋ + 1. Taking the norm and arg of w yields amplitude and angle spectra, respectively A = {a } =1 and T = { } =1 .These A and T vectors are now centerline-agnostic descriptions of a strand's high-frequency features.These features can now be transferred, e.g. in the spirit of Sorkine et al. [2004], to any new spline by applying them to that curve's radial offsets R. We simulated a small patch of highly coiled hair at human-scale density, allowing the dynamics to settle and intricate entanglements characteristic of the "spongy" layer to form (Fig. 4).Direct simulation of a full head would have taken ∼100 days, so we instead extract A and T spectra from each hair in this sequence.Next, we will transfer these details onto interpolated strands. Strand Interpolation and Synthesis 3.3.1 Assigning Roots to Guides.Given a sparse set of guides and a dense set of hair root positions, we must first assign each root to a guide.The simplest strategy is nearest-neighbor; assigning based on the Voronoi diagram of the guides.However, this creates hard boundaries along the scalp, and the underlying Voronoi cells become visible.While this may be desirable for precision hairstyles like box braids, fuzzier boundaries are expected in general.We instead used a "noisy" Voronoi assignment by picking randomly from the -closest guides to each root point (see supplemental video). Single-Strand Interpolation. We now focus on a single strand, starting with its guide strand V G = {p 0 , p 1 , ..., p }, and its extracted centerline c G ().The root position q 0 of the new hair is already known from §3.3.1, so our goal is to compute the centerline c I of a new, interpolated strand, and then generate the new hair spline V I = {q 0 , q 1 , ..., q }. Single-Strand Interpolation. The interpolated strand consists of two parts: Single-Strand Interpolation. • A loosely-guided region corresponding to the "spongy" layer that is only loosely influenced by the guide strand.• A strictly-guided region, where the strand has phase-locked coherently into the overall curl. Single-Strand Interpolation. We set the boundary between the loosely-and strictly-guided region at ∈ [0, 1] (for loose).The full strand is then the concatenation of the two sequences V I = {V L V S }.We describe the construction of V L and V S separately. Loosely Guided Region. For ∈ [0, ], the strand has not yet coalesced into a path following the guide strand.However, it still has an intrinsic curvature and helical frequency influenced by its guide. Loosely Guided Region. We use the centerline of the guide strand, c G (), to set the boundary conditions for the centerline c I () of the interpolated strand: Loosely Guided Region. The derivative boundary conditions ease the interpolated spline into the guide's centerline, while the c G () − q 0 term ensures that derivative magnitudes scale with the geometry.(Fig. 3, middle) Letting = ⌊ × ( + 1)⌋ and sampling points equidistantly along c I gives a sequence of centerline points {c I } −1 =0 .We can then transfer radial offsets according to a randomly selected A and T from the dataset of fully-simulated strands from §3.2.2.The sequence of points q = {c I + r } −1 =0 then define V L .3.3.4Strictly Guided Region.For ∈ [, 1], every strand follows along with the guide strand's shape, similar to Narayan [2023].Beginning with {p } = , we compute u() and v() at any p() according to §3.1.2,and randomly sample , from the unit square to create a transported displacement function Loosely Guided Region. where () is a wisp radius function.Sampling at the same rates as {p } = , we obtain V S = {p + x } = . Period Skipping 3.4.1 Geometric Observations.The strictly guided regions of the wisp ( §3.3.4) form coherent helical bundles, and even with the variation inserted via the () function, the wisps look shinier and more uniform than in real-life photographs.Closer examination of real-life hair samples reveals what is causing this difference.In the strictly guided region, while hairs are largely phase-locked into a coherent helix, many occasionally skip some of the helical turns (Fig. 5).They drop out of phase for a period, SA Conference Papers '24, December 3-6, 2024, Tokyo, Japan.then later rejoin the helix.These hairs can run orthogonal to the rest of the helix, which then break up the coherency of the highlights.In contrast, period skipping is straightforward with our model.If we let each strand's guide curve be a subset of the the guide points V G ⊂ V G , generated by discarding points p according to probability , then the piecewise spline will automatically generate the missing features.Periods are skipped, but the boundary conditions derived from the remaining p maintain the hair's smoothness.Despite its apparent simplicity, we found this approach has a dramatic impact on the overall look of the hair.Altering produces a range of appearances that were previously difficult to achieve.(Fig. 12) Generating Switchbacks The geometry of switchbacks can be found throughout nature, from plants [Wang et al. 2013] to polymers [Wie et al. 2015] to hair (Fig. 6), and appear whenever a change of handedness occurs in a helix.They are distinct from the skipped periods in §3.4,where one errant period in a helix spans multiple periods in a coalesced curl. Generating Switchbacks Despite its apparent ubiquity, we have not found any method for computing this shape other than direct physical simulation [Bergou et al. 2008;Crespel et al. 2024], i.e. stretch out a simulated helix until it deforms into a switchback.While the geometry appears simple, extensive mechanical studies [McMillen and Goriely 2002;Wang et al. 2020] have shown that it has no compact, closed form expression. Thus, we present here the first non-linear optimization capable of directly computing the shape of a switchback. Elastic Rod Preliminaries 4.1.1Arc Lengths and Directors.We use to denote arc length along a rod.This is distinct from the ∈ [0, 1] parameterization from §3.1.1,particularly because we will be examining boundaries as → ±∞.We adopt the Lagrange notation of (•) ′ = (•)/, as derivatives in terms of arc length will arise often.The shape of the curve is then c() : R → R 3 .The curve has an orthonormal director basis {d 1 (), d 2 (), d 3 ()}, where d 3 () is the tangent vector (Fig. 7) Elastic Rod Preliminaries For any orthonormal basis of the curve, there is a twist vector Elastic Rod Preliminaries The 1 and 2 terms are often referred to as curvature and 3 as torsion.d 1 () and d 2 () lie in the cross-sectional plane of the rod.This basis can be defined by the material axes and is distinct from the Frenet frame of the curve because of torsion. Elastic Rod Preliminaries 4.1.2Dimensionless Form.With the directors defined, we can introduce mechanical properties.We have found that it is more compact and structure-revealing to write things in dimensionless form.Let • denote the original dimensional forms.We scale by the rest curvature 0 of the helix to obtain the dimensionless twist vector = κ/ 0 , arc length = s 0 , and overall curve c = c 0 .Forces f = f/ 1 ( 0 ) 2 and moments m = m/ 1 0 are also scaled, where is Young's modulus and 1 is the scaled principal moment of inertia.This dimensionless form reveals that our analysis can proceed independent of Young's modulus () and rest state coil radius ( 0 ). Static Analysis. A static rod can be described using the Kirchhoff equations: Static Analysis. We can then use linear elasticity to compute forces: Static Analysis. where 0 are the rest state twist vector components, and Λ = 2 / 1 is the ratio of the moments of inertia along d 2 and d 1 .We will assume Λ = 1 going forward, because while elliptical cross-sections can induce helicity in plants [Farhan et al. 2023], curliness in human hair is caused by inhomogeneous fiber distributions [Wortmann et al. 2020].Using Poisson's ratio , we set Γ = 1/(1 + ).Forces can now be related to (), which can then be used to compute a curve c() by integrating Eqns. 3 and 4. Helix Solution 4.2.1 Energy Formulation.We can further tailor these equations to solve for a helix.Once that solution is known, we will modify it to accommodate a switchback.For a helix, the rest state twist vector is Helix Solution and the equation for a curve running along Helix Solution where Helix Solution In this case, 0 2 = 0 and 0 1 and 0 3 are constants with respect to .Furthermore, 0 1 = 1 since the unscaled κ0 1 is equal to the rest state curvature 0 .By plugging Eqns.6 and 4 into the static Kirchhoff equations, we obtain static equilibrium conditions in terms of twist and forces: Helix Solution We still cannot solve for () because the above system is underconstrained.Building from Eqn. 23 in McMillen and Goriely [2002], we observe that a stable shape would minimize the following energy density function Helix Solution which sums the elastic and potential energy of an external stretching force f running down the centerline of the helix.Here, = 3/ √︃ 2 1 + 2 3 denotes the coil frequency.Solving for the shape of a helix deforming under f can be viewed as minimizing Helix Solution subject to the constraints in Eqns.9-11. Helix Solution 4.2.2Force Substitution.For an infinitely long helix, the twist vector about → −∞ should be Helix Solution where we constrain ℎ 2 = 0, and use the ℎ superscript to denote the helix solution we seek.Plugging the above into Eqns.9-11 yields Helix Solution By Eqn. 5, this force is a constant along the entire curve, and should be equal to the external force at both ends.We can eliminate f from Eqn. 12 by substituting in Eqns.14 and 15: Helix Solution This energy density is constant with respect to , and parameterized entirely by ℎ 1 and ℎ 3 .4.2.3Final Helix Expressions.For the final solution, we consider ∈ [−1, 1].If we can find the ℎ that corresponds to the energy gradient vanishing as E ℎ 1 = E ℎ 3 = 0 at a fixed external force f ℎ , then we have the solution.We can solve for this state analytically: If we insert a switchback centered at = 0, we can assume that as → ±∞, the shape reverts to a helix.Previous work [McMillen and Goriely 2002] showed that switchbacks decay exponentially quickly in space.Thus, we can apply helical boundary conditions to 1 and 3 at the ends of a coil containing a switchback, even if the total arc length is finite.However, in the case of a switchback curve, the handedness of the boundaries flip (Fig. 7): Helix Solution While this narrows down the possibilities for (), solving the variational problem without a specific family of functions remains challenging.Consequently, we adopt the Rayleigh-Ritz approximation from Wang et al. [2020], which propose that 1 and 2 can be approximated by: Helix Solution The original helix solutions are highlighted as the red ℎ 1 and ℎ 2 .The remaining terms are exponentially decaying cosine "bumps" that perturb the original helix.The parameters { , , } are what we must now optimize for.The remaining Ω 3 can then be solved for by integrating Eqn.11 and applying two boundary conditions: Helix Solution The solution has the analytic form: Helix Solution 4 3 , Re(•) extracts the real component, and erf (•) is the Gauss error function.Again, the helix solution ℎ 3 gets perturbed by the other terms.There are now 12 free parameters, { , , }, but one can be set using the boundary condition: Helix Solution This leaves 11 parameters to optimize.We write them as a vector n = [ 1 , 1 , 1 , 2 , 2 , 2 , 3 , 3 , 3 , 4 , 4 ] ⊤ , and minimize them over the energy density from Eqn. 12: Helix Solution 4.3.2Symmetry Regularization.Until now, we have focused on switchback insertion.However, Eqn. 24 lacks a key feature: left-right symmetry.Without it, we have found that half of the helix shoots off at a random and Table 1.Performance of our Curly-Cue geometric methods.Our unoptimized, single-threaded Python implementation is on par with the running times of the simulation [Shi et al. 2023] and rendering in Blender.All timings are per frame, and in minutes:seconds, unless otherwise indicated. Fig. Sim Thus, we add a regularizer that encourages the overall curve to remain straight by requiring that the tangent at = 0 run parallel to the centerline.Since we assumed in Eqn. 8 that the curve's centerline runs along x = [1 0 0] ⊤ , the symmetry condition is: Fig. Adding this to the optimization yields our final energy: Fig. Computing d 3 (0) will be described in §4.3.3.Integrating Eqn. 3 using forward Euler is straightforward, but Eqn. 4 involves rotating an orthonormal basis.We have found that brute-force basis renormalization introduces visible numerical drift, so in the spirit of Lie group integrators [Angelidis 2017], we build a rotation matrix R() for each Euler step.The directors d rotate about the axis Ω , so for a step size Δ, the angle is Δ = ∥ ∥Δ.After constructing R(), we integrate the directors along according to d ( + Δ) = R() d ().This ensures that the directors remain orthonormal, and we have found it dramatically reduces numerical drift.Finally, our algorithm successfully generates switchbacks: 4.3.4Rest State Symmetry Analysis.To simplify their analyses, previous mechanics works have limited their discussions to circular rest states of 0 = (1, 0, 0).Our derivation generalizes to helical rest states with any number of switchbacks.However, this can imply that a helical solution with a single change-of-handedness is no longer a suitable boundary condition.Instead, an even number of switchbacks is required along a helix.In this case, the boundary conditions should be Ω → ℎ 1 d 1 + ℎ 3 d 3 as → ±∞.If multiple switchbacks are sufficiently separated, their perturbation terms (Eqns.20 and 21) can be linearly summed and translated.When two switchbacks are close to each other, we can optimize for their combined shape and obtain an S-shaped double switchback: Fig. We provide source code in our supplemental materials.5 Implementation and Results 5.1 Implementation Details 5.1.1Frame Generation.In §3.1.1 every point on c() needed a frame {u, v} orthonormal to c( ) /.While many methods are available [Duff et al. 2017;Max 2017], we found that following sufficed: Fig. If c( ) / ⊤ x = 1, then x is randomly sampled from the unit sphere. Strand Variation. To vary hair lengths within each wisp, we compressed the range over which points are sampled along each strand curve, to [0, 1 − ], where is chosen randomly. Strand Variation. 5.1.3Fades.For regions with hairs shorter than a single curl, coalescing behaviour is not expected, so individual strands duplicate their guide strand (Fig. 11).By transitioning between this and the method of §3 for longer hair, we can achieve a range of looks. Results The spongy layer created by our phase locking algorithm can be seen on the right of Fig. 10.Traditional wisp [Watanabe and Suenaga 1992] and scraggle [Butts et al. 2018] methods (Fig. 10, left, middle) maintain the curls up to the scalp, and create a wig-like look.By changing the skipping probability in §3.4,we can achieve a range of different looks (Fig. 12), from shiny with highly visible coils, to diffuse with brushed apart coils.In the supplemental video, we show that these features stay coherent under animation. Results Our switchback method is flexible enough that it can insert the shape anywhere along an existing wisp (Fig. 13, middle), and even multiple times on a single wisp (Fig. 13, right).They are inserted prior to simulation so they can deform under external forces.We are able to generate looks that are distinct from previous approaches [Daviet 2023;Hsu et al. 2023;Shen et al. 2023;Zhou et al. 2023].While these papers presented methods that tried to encompass multiple hair types, we focused on a single, under-investigated hair type to achieve its characteristic look.Our algorithm generalizes to human-scale, as seen on our models of New York Times bestselling author Carvell Wallace [Iguodala and Wallace 2019] (Figs. 1, 8).We inserted switchbacks into the hair, and one can be seen on the bottom row of Fig. 8. Alternate renders with different are shown in the supplemental video.Figs. 14 and 9 showcase additional styles. Results We verified our switchback geometry using Discrete Elastic Rods [Bergou et al. 2008] by running an example that verifies a helix is also a stable state.The simulation is in the supplemental video.As seen in Table 1, the timings for our Curly-Cue methods are on par with the simulation and rendering.Our current implementation is unoptimized, single-threaded Python, so we'd expect a highperformance, parallel implementation to run ∼10× faster. Limitations Phase locking is currently applied as a geometric post-process, and does not play an active role in the simulation.A more realistic approach would directly simulate the spongy layer near the scalp. Limitations The effects the geometric phenomena we have modelled decrease as hair becomes straighter.For example, period skipping loses meaning for straight hair that does not turn through a single helical period.Finding the precise frequencies at which these phenomena become visually irrelevant will need further empirical investigation.The switchback optimization can still take a few seconds to compute the shape, especially when solving for small coil frequencies from a cold start.The current method also cannot directly solve for shapes under complex external forces.We instead approximate them by integrating the switchback into the hair simulator. Conclusions and Future Work We have presented algorithms for three geometric phenomena characteristic of highly coiled hair: phase locking, period skipping, and switchbacks.Our switchback formulation applies to other scenarios where they occur, such as plant synthesis [Niese et al. 2022].Our methods are for relatively unstyled hair, but a wide range of highly coiled styles exist, such as box braids, twist-outs and natural locs [Darke et al. 2023].Investigating whether our current methods generalize to these styles, or if they involve new geometric phenomena that require new methods, remains future work.Finally, efficiently simulating highly coiled hairs, with their larger vertex counts and unique collision behaviors, remains a challenge.Watanabe and Suenaga [1992] are coherent at the scalp (red box), creating the appearance of a wig.Adding scraggle (magenta box) wrinkles the hair, but the wig look remains.Our phase locking method (green box), creates a spongy layer that transitions into coils. Fig. 2 . Fig.2.Phase locking in Instagram photo from @theesudani.The hairs form a "spongy" layer near the scalp (light blue), but then coalesce into wisps (light red).The phenomenon was accentuated using "finger coiling."©Yar Sudani Fig. 4 . Fig. 4. Simulating 2592 strands at human-scale hair density using Shi et al.[2023]'s simulator.Initially set in a perfectly straight "comb" (left), they settle into a "spongy" texture (right) after simulating for 31 hours.Simulating 200K hairs would take ∼100 days.Instead, we use the spectra from this simulation to synthesize a "spongy" layer. Fig. 4 . 3.2.3Dataset Construction.Direct simulation of 200K strands of hair on a head remains daunting, especially for the ∼80 vertices needed per highly coiled hair, in lieu of the 30 vertices needed in straight-hair examples [Daviet 2020; Kaufman et al. 2014].Collision processing also presents new challenges. Fig. 5 . Fig. 5. Period skipping in a hair sample photo.Red arrows point to highlighted hairs that temporarily drop out of phase, but later rejoin the helix, essentially stretching out one of their periods. Fig. 6 . Fig. 6.Photo from Darke et al. [2023] of a switchback in human hair. Fig. 6 . 3.4.2Algorithmic Treatment.This visual phenomenon is difficult to achieve with scraggle [Butts et al. 2018; Haapaoja and Genzwürker 2019; Narayan 2023] because it must alter low-frequency components in a strand.Scraggle usually excels at introducing highfrequency variations.(Fig. 10, middle) ) This forms a family of ellipses in the ℎ 1 , ℎ 3 plane.Combining the above equation with = 3/ Perturbation.With the helical solution ℎ established, we now perturb it compute a switchback solution Ω .We use Ω because it looks like a switchback. Fig. 7 . Fig. 7.The curve director basis along the curve and the twist boundaries. Fig. 7 . 4.3.3Curve Generation.After obtaining Ω () via non-linear optimization ( §5.1.4),we can use it to integrate Eqn. 4, obtain a director basis {d 1 , d 2 , d 3 }, and integrate Eqn. 3 to obtain the final curve c(). Fig. 7 . 5.1.4Non-Linear Optimization.Computing switchbacks involves optimizing Eqn. 26, and we found derivative-free methods such as Nelder-Mead[Nocedal and Wright 2006] sufficed, so deriving gradient terms is unnecessary.To improve convergence, we replaced the integral in Eqn. 26 with a sparsely sampled ∞-norm in the region around the switchback.Each optimization took ∼10s, or ∼1.5s when warm-started with a solution from a similar . Fig. 8 . Fig. 8. Close-ups and additional angles on the Carvell Wallace model from Fig. 1.The simulation consisted of 8K strands that were interpolated using our methods into 233K hairs for rendering.Period skipping was set to = 0.5 and switchbacks were inserted prior to simulation (bottom row, middle). Fig. 9 . Fig. 9. Close-ups and additional angles on the Carvell Wallace model with longer hair. Fig. 10 . Fig. 10.Wisps generated withWatanabe and Suenaga [1992] are coherent at the scalp (red box), creating the appearance of a wig.Adding scraggle (magenta box) wrinkles the hair, but the wig look remains.Our phase locking method (green box), creates a spongy layer that transitions into coils. Fig. 11 . Fig. 11.Our approach handles a range of hair lengths, from close cut fades (left) to longer coils (right). Fig. 12 . Fig. 12. Left to right: Period skipping setting = 0.0, 0.25, 0.50, and an extreme 0.75.The appearance of each wisp changes, but so does the overall look, even though the rendering material parameters are the same.As more periods are skipped, the sharp highlights on the coils become more diffuse. Fig. 13 . Fig. 13.Left to right: single wisp with no switchbacks, a switchback inserted near the wisp tip, one inserted near the middle.We can insert multiple switchbacks on one wisp, so on the right shows insertions near the middle and tip. Fig. 14 . Fig. 14.Close-ups and additional angles on the Carvell Wallace model with shorter hair. Fig. 14 . . Strands Render Hairs Sim.Time Curly-Cue Time Render Time Sim.

섹션 본문 97문단 · 33,767자

(제목 없음)

1Fig. 1. 234K highly coiled hairs generated by combining our phase locking, period skipping, and switchback methods.The head is modelled after New York Times bestselling author Carvell Wallace [Iguodala and Wallace 2019], and used with his permission.We present geometric methods for generating shapes that are characteristic of highly coiled hair.Different features become visually relevant when hairs are well-approximated by high-frequency helices instead of low-frequency curves, so we present algorithms for three such phenomena.First, a Fourierbased method for phase locking, the process by which disparate helices near the scalp coalesce into a single curl.Second, a method for period skipping which models individual helices deviating from the coalesced curl.Third, a non-linear optimization that directly generates the shapes of switchbacks, a.k.a.helical perversions, which heretofore could only be produced through direct physical simulation.By applying all three methods in tandem, we show that we can achieve richly detailed depictions of highly coiled hair.CCS Concepts: • Computing methodologies → Shape modeling.

Introduction

2Hair modeling and simulation has been an active topic in computer graphics research for over three decades [Anjyo et al. 1992].While many advances have been made, they are usually demonstrated on straight [McAdams et al. 2009], wavy [Kaufman et al. 2014], or loosely curled hair [Iben et al. 2013].A handful of papers [Bertails et al. 2005;Shi et al. 2023] have dealt with highly coiled, Afro-textured hair, but only one full paper [Patrick et al. 2004] and one short paper [Ogunseitan 2022] has specifically addressed the geometric challenges of modelling this type of hair.

3In this paper, we show that when highly coiled hairs, i.e. highfrequency helices, are assumed to be the base primitive, then a variety of challenging geometric phenomena appear that merit further algorithmic investigation.

4First, we examine how a group of disparate hairs coalesce into a single coherent curl as they travel away from the scalp.We call this phenomenon phase locking, borrowing the term's use in neuroscience [Kolev and Yordanova 1997] to describe multiple wavy signals falling into lock-step.Subsequently, we propose a data-driven, Fourier-based method for computing this geometry to capture the "spongy" texture of highly coiled hair near the scalp.

5Second, we present a direct geometric method for generating switchbacks along a helix.These structures are also known as "changes in handedness" or "helical perversions".While they are common in curly hair, the only previous method for generating them has been high-resolution physics simulation [Bergou et al. 2008;Crespel et al. 2024].We build on static analyses from physics [McMillen and Goriely 2002] to formulate a non-linear optimization that can insert physically valid switchbacks anywhere on a helix.

6Finally, we present a method for period skipping, a phenomenon related to phase locking where an individual hair temporarily breaks away from its coalesced curl.Precisely capturing this feature is crucial to achieving the range of diffuse and shiny looks characteristic of highly coiled hair.Our contributions are as follows:

7• A data-driven, Fourier method for computing phase locking between an ensemble of hairs.• A non-linear optimization method for inserting physically valid switchbacks anywhere along a helix.• A simple geometric method for computing period skipping within a coalesced curl of hair.

8To demonstrate both the realism and scalability of our methods, we include human-scale examples and several swatches.

Related Works

9Many works on hair rendering, modelling, and simulation have been developed over the years, and excellent surveys and courses are available [Ward et al. 2007;Yuksel and Tariq 2010].Here, we list the works most relevant to our contributions.

Hair Interpolation

10Directly simulating and modelling every hair on a human head has long been impractical, though methods are constantly improving [Daviet 2023].Instead, a widespread practice is to select a subset of "guide" hairs for modelling and simulation, and to interpolate a full set of hairs from these guides.This approach has been used since at least Watanabe and Suenaga [1992], who observed that nearby hairs usually resemble each other, so duplicating a single guide into thicker wisps is a viable strategy.Subsequently, wisps have also accelerated simulations [Bertails et al. 2003;Choe et al. 2005].Similar clustering notions appear in Disney's "groom tubes" [Kaur et al. 2018], and Animal Logic's "hair tubes" [Narayan 2023].Pixar's hair system performs nearest neighbor interpolation [Butts et al. 2018] while Sony Imageworks [Hasenbring and Karlsson 2021] interpolates between guides and "final" hairs.These approaches are mainly for straight or wavy hair.We instead present strategies that are specifically tailored to high-frequency hair.

11Many existing systems support scraggle [Butts et al. 2018;Haapaoja and Genzwürker 2019;Narayan 2023], which uses noise functions (e.g.Perlin [1985]) to add variations to hair.While this approach is effective for straight and wavy hair, we will show that highly coiled hair contains features that cannot be captured using this family of spatially local functions alone.

Hair Modelling

12Image-based methods for hair have been refined over the last two decades [Paris et al. 2004], but many report issues when trying to capture high-frequency features like curly hair [Jakob et al. 2009;Sun et al. 2021;Zhang et al. 2017] or braids [Liang et al. 2018].Much of the difficulty stems from the images, which force the algorithms to reconstruct complex internal structures using only surface data.Recent methods have used volumetric CT data [Shen et al. 2023], which is significantly costlier than camera images, or neural methods [Rosu et al. 2022] that only demonstrate efficacy on straight hair.The geometric features for highly coiled hair we describe here could potentially be used to inform future image-based methods.

13Mesh-based [Yuksel et al. 2009] and multi-resolution [Kim and Neumann 2002] methods have also been developed for direct manipulation of hair, but again are usually demonstrated on straight and wavy hair.We present techniques for highly coiled hair.

Hair Simulation

14Guide hairs can be driven by spring-mass [Iben et al. 2013;Selle et al. 2008], Discrete Elastic Rod [Bergou et al. 2008], Super-Helix [Bertails et al. 2003], Position-Based [Umetani et al. 2015], or finite element-based [Shi et al. 2023] simulation methods.

15Our methods are agnostic to the simulation method, including pre-processes like inverse [Derouet-Jourdan et al. 2013] or sag-free optimizations [Hsu et al. 2023].However, to demonstrate generality, we show results that involve both Discrete Elastic Rods [Bergou et al. 2008] and Lifted Curls [Shi et al. 2023].

Hair Classification

16We are investigating highly coiled hair, which under different classification systems might be called Type 4c, Type VIII [De La Mettrie et al. 2007], or Type-O [Mafro and Mafro 2013].We forego committing to a specific typing system, because they can contain key limitations [Kim et al. 2022].For example, Type 4c was informally added to the original Walker [1997] system after criticism that Walker had failed to include this historically neglected hair type [CurlCentric 2014].Instead, we follow the recommendation of Darke et al. [2024] and use the qualitative hair texture descriptor "coiled".

Related Phenomena

17The graphics phenomenon most related to our notion of phase locking is the fiber-level modelling of yarns [Montazeri et al. 2019], where micro-fibers combine into a larger (straight) yarn.We instead track single helices that combine into a larger (non-straight) helix.

18Our notion of switchbacks also appears in plants [Wang et al. 2013], bacteria [Mendelson 1978], andpolymers [Wie et al. 2015].While these prior works analyze the conditions under which switchbacks occur, none ever instantiate the geometry.We present the first method for directly computing the actual curve.

19These shapes have also been called "spiral inversions" [Goriely and Tabor 1998], "helix reversals" [Hancock et al. 2020], "tendril perversions", and "helical perversions".We choose to avoid using the term "perversion" to describe a human feature, and instead opt for the shorter and more descriptive term switchback.

Synthesizing Highly Coiled Hairs

20We first examine the phenomenon of phase locking, where disparate hairs coalesce into a single coherent curl (Fig. 2).Existing methods SA Conference Papers '24, December 3-6, 2024, Tokyo, Japan.that linearly interpolate guide hairs [Butts et al. 2018] do not suffice, because rich frequency information is destroyed under linear interpolation, e.g.averaging a sine wave with its /2 shifted counterpart yields a line.We will instead present a frequency-aware alternative.

21Distinct geometric regions emerge in highly coiled hair that are absent in straighter hair.The uncorrelated, highly coiled hairs near the scalp form a "spongy" texture, and neglecting this region creates the impression of wig instead of naturalistic growth.(Fig. 10, left) Further from the scalp, the hairs coalesce into curls.(Fig. 3, right) We explicitly model both of these regions.

Geometry Preliminaries

223.1.1Piecewise Spline.We model each hair strand as a C 1 continuous curve c() in R 3 composed of a piecewise cubic Hermite (Catmull-Rom) spline.Given a sequence of points {p 0 , ..., p } along a strand, the piecewise spline c () connecting p to p +1 over the interval ∈ [, + 1) is given by

23At the ends c 0 and c −1 , we do a weighted average of the slopes at the two closest points:

24The final piecewise curve is then c() = c (), ∈ [, + 1).For simplicity, we use → to remap the domain of c() to [0, 1].

253.1.2Curve Frames.Our curve c(), needs u() and v() directions that span the plane orthogonal to the curve's direction c( ) /, yielding an oriented orthogonal frame {u, v, c( ) / }.There are many ways to compute u() and v(), such as Frenet frames or parallel transport.Our method is agnostic to any specific technique; we describe our specific strategy in §5.1.1.

Frequency Analysis of Strands

26To convert a single guide hair into multiple hairs coalescing into a wisp, we perform two separate frequency analyses.First, a Fourier analysis extracts the low-frequency centerline of each guide hair.Second, we use the centerline algorithm to extract high frequency spectra from a dataset of full-resolution simulations.These spectra are then used in §3.3 to synthesize high-frequency "spongy" regions.

Centerline

27Extraction.An obvious candidate for Fourier analysis is the , , and components of the curve points p .We instead prefer the translation-agnostic method of Zhou et al. [2023], which constructs the displacement-based sequence x = p +1 − p , and then performs a separate DFT along each component of {x } −1 =0 .This results in a triplet of coefficient vectors {k } =1 ∈ C 3 where C is the complex domain and = ⌊ /2⌋ + 1.We have found that applying a IDFT to the first three k 1,2,3 yields displacements {x * } −1 =0 that form an excellent centerline for the original helix.By construction, this process yields a centerline rooted at the origin.We compute a suitable scalp root translation t * using an approach similar to shape matching [Müller et al. 2005

28x * denotes the reconstructed centerline points at the origin, a simple quadratic energy yields a crisp, closed-form solution:

29The final centerline c () is then the piecewise spline from §3.1.1 constructed through the points {p } =0 = {p * + t * } =0 .3.2.2High-Frequency Feature Extraction.We can now extract the centerline for any helical curve, and will use this approach to extract high-frequency details from the strands of a full-resolution simulation.In §3.3, we will transfer these extracted details onto the smooth centerlines of interpolated strands.

30Starting from curve points {p } =0 from a full-resolution simulation, we compute its centerline {p } =0 , and radial offsets from that centerline, R = {r } =0 = {p − p } =0 .Then we project each r against the orthogonal basis {u , v , ( c /) } from §3.1.2,to obtain r = u + v + ( c /) .Helices without switchbacks ( §4) only need to project against u and v .Taking the DFTs of the and sequences yields another coefficient vector {w } =1 ∈ C 2 with = ⌊ +1 /2⌋ + 1. Taking the norm and arg of w yields amplitude and angle spectra, respectively A = {a } =1 and T = { } =1 .These A and T vectors are now centerline-agnostic descriptions of a strand's high-frequency features.These features can now be transferred, e.g. in the spirit of Sorkine et al. [2004], to any new spline by applying them to that curve's radial offsets R. We simulated a small patch of highly coiled hair at human-scale density, allowing the dynamics to settle and intricate entanglements characteristic of the "spongy" layer to form (Fig. 4).Direct simulation of a full head would have taken ∼100 days, so we instead extract A and T spectra from each hair in this sequence.Next, we will transfer these details onto interpolated strands.

Strand Interpolation and Synthesis

313.3.1 Assigning Roots to Guides.Given a sparse set of guides and a dense set of hair root positions, we must first assign each root to a guide.The simplest strategy is nearest-neighbor; assigning based on the Voronoi diagram of the guides.However, this creates hard boundaries along the scalp, and the underlying Voronoi cells become visible.While this may be desirable for precision hairstyles like box braids, fuzzier boundaries are expected in general.We instead used a "noisy" Voronoi assignment by picking randomly from the -closest guides to each root point (see supplemental video).

Single-Strand Interpolation.

32We now focus on a single strand, starting with its guide strand V G = {p 0 , p 1 , ..., p }, and its extracted centerline c G ().The root position q 0 of the new hair is already known from §3.3.1, so our goal is to compute the centerline c I of a new, interpolated strand, and then generate the new hair spline V I = {q 0 , q 1 , ..., q }.

33The interpolated strand consists of two parts:

34• A loosely-guided region corresponding to the "spongy" layer that is only loosely influenced by the guide strand.• A strictly-guided region, where the strand has phase-locked coherently into the overall curl.

35We set the boundary between the loosely-and strictly-guided region at ∈ [0, 1] (for loose).The full strand is then the concatenation of the two sequences V I = {V L V S }.We describe the construction of V L and V S separately.

Loosely Guided Region.

36For ∈ [0, ], the strand has not yet coalesced into a path following the guide strand.However, it still has an intrinsic curvature and helical frequency influenced by its guide.

37We use the centerline of the guide strand, c G (), to set the boundary conditions for the centerline c I () of the interpolated strand:

38The derivative boundary conditions ease the interpolated spline into the guide's centerline, while the c G () − q 0 term ensures that derivative magnitudes scale with the geometry.(Fig. 3, middle) Letting = ⌊ × ( + 1)⌋ and sampling points equidistantly along c I gives a sequence of centerline points {c I } −1 =0 .We can then transfer radial offsets according to a randomly selected A and T from the dataset of fully-simulated strands from §3.2.2.The sequence of points q = {c I + r } −1 =0 then define V L .3.3.4Strictly Guided Region.For ∈ [, 1], every strand follows along with the guide strand's shape, similar to Narayan [2023].Beginning with {p } = , we compute u() and v() at any p() according to §3.1.2,and randomly sample , from the unit square to create a transported displacement function

39where () is a wisp radius function.Sampling at the same rates as {p } = , we obtain V S = {p + x } = .

Period Skipping

403.4.1 Geometric Observations.The strictly guided regions of the wisp ( §3.3.4) form coherent helical bundles, and even with the variation inserted via the () function, the wisps look shinier and more uniform than in real-life photographs.Closer examination of real-life hair samples reveals what is causing this difference.In the strictly guided region, while hairs are largely phase-locked into a coherent helix, many occasionally skip some of the helical turns (Fig. 5).They drop out of phase for a period, SA Conference Papers '24, December 3-6, 2024, Tokyo, Japan.then later rejoin the helix.These hairs can run orthogonal to the rest of the helix, which then break up the coherency of the highlights.In contrast, period skipping is straightforward with our model.If we let each strand's guide curve be a subset of the the guide points V G ⊂ V G , generated by discarding points p according to probability , then the piecewise spline will automatically generate the missing features.Periods are skipped, but the boundary conditions derived from the remaining p maintain the hair's smoothness.Despite its apparent simplicity, we found this approach has a dramatic impact on the overall look of the hair.Altering produces a range of appearances that were previously difficult to achieve.(Fig. 12)

Generating Switchbacks

41The geometry of switchbacks can be found throughout nature, from plants [Wang et al. 2013] to polymers [Wie et al. 2015] to hair (Fig. 6), and appear whenever a change of handedness occurs in a helix.They are distinct from the skipped periods in §3.4,where one errant period in a helix spans multiple periods in a coalesced curl.

42Despite its apparent ubiquity, we have not found any method for computing this shape other than direct physical simulation [Bergou et al. 2008;Crespel et al. 2024], i.e. stretch out a simulated helix until it deforms into a switchback.While the geometry appears simple, extensive mechanical studies [McMillen and Goriely 2002;Wang et al. 2020] have shown that it has no compact, closed form expression. Thus, we present here the first non-linear optimization capable of directly computing the shape of a switchback.

Elastic Rod Preliminaries

434.1.1Arc Lengths and Directors.We use to denote arc length along a rod.This is distinct from the ∈ [0, 1] parameterization from §3.1.1,particularly because we will be examining boundaries as → ±∞.We adopt the Lagrange notation of (•) ′ = (•)/, as derivatives in terms of arc length will arise often.The shape of the curve is then c() : R → R 3 .The curve has an orthonormal director basis {d 1 (), d 2 (), d 3 ()}, where d 3 () is the tangent vector (Fig. 7)

44For any orthonormal basis of the curve, there is a twist vector

45The 1 and 2 terms are often referred to as curvature and 3 as torsion.d 1 () and d 2 () lie in the cross-sectional plane of the rod.This basis can be defined by the material axes and is distinct from the Frenet frame of the curve because of torsion.

464.1.2Dimensionless Form.With the directors defined, we can introduce mechanical properties.We have found that it is more compact and structure-revealing to write things in dimensionless form.Let • denote the original dimensional forms.We scale by the rest curvature 0 of the helix to obtain the dimensionless twist vector = κ/ 0 , arc length = s 0 , and overall curve c = c 0 .Forces f = f/ 1 ( 0 ) 2 and moments m = m/ 1 0 are also scaled, where is Young's modulus and 1 is the scaled principal moment of inertia.This dimensionless form reveals that our analysis can proceed independent of Young's modulus () and rest state coil radius ( 0 ).

Static Analysis.

47A static rod can be described using the Kirchhoff equations:

48We can then use linear elasticity to compute forces:

49where 0 are the rest state twist vector components, and Λ = 2 / 1 is the ratio of the moments of inertia along d 2 and d 1 .We will assume Λ = 1 going forward, because while elliptical cross-sections can induce helicity in plants [Farhan et al. 2023], curliness in human hair is caused by inhomogeneous fiber distributions [Wortmann et al. 2020].Using Poisson's ratio , we set Γ = 1/(1 + ).Forces can now be related to (), which can then be used to compute a curve c() by integrating Eqns. 3 and 4.

Helix Solution

504.2.1 Energy Formulation.We can further tailor these equations to solve for a helix.Once that solution is known, we will modify it to accommodate a switchback.For a helix, the rest state twist vector is

51and the equation for a curve running along

52where

53In this case, 0 2 = 0 and 0 1 and 0 3 are constants with respect to .Furthermore, 0 1 = 1 since the unscaled κ0 1 is equal to the rest state curvature 0 .By plugging Eqns.6 and 4 into the static Kirchhoff equations, we obtain static equilibrium conditions in terms of twist and forces:

54We still cannot solve for () because the above system is underconstrained.Building from Eqn. 23 in McMillen and Goriely [2002], we observe that a stable shape would minimize the following energy density function

55which sums the elastic and potential energy of an external stretching force f running down the centerline of the helix.Here, = 3/ √︃ 2 1 + 2 3 denotes the coil frequency.Solving for the shape of a helix deforming under f can be viewed as minimizing

56subject to the constraints in Eqns.9-11.

574.2.2Force Substitution.For an infinitely long helix, the twist vector about → −∞ should be

58where we constrain ℎ 2 = 0, and use the ℎ superscript to denote the helix solution we seek.Plugging the above into Eqns.9-11 yields

59By Eqn. 5, this force is a constant along the entire curve, and should be equal to the external force at both ends.We can eliminate f from Eqn. 12 by substituting in Eqns.14 and 15:

60This energy density is constant with respect to , and parameterized entirely by ℎ 1 and ℎ 3 .4.2.3Final Helix Expressions.For the final solution, we consider ∈ [−1, 1].If we can find the ℎ that corresponds to the energy gradient vanishing as E ℎ 1 = E ℎ 3 = 0 at a fixed external force f ℎ , then we have the solution.We can solve for this state analytically: If we insert a switchback centered at = 0, we can assume that as → ±∞, the shape reverts to a helix.Previous work [McMillen and Goriely 2002] showed that switchbacks decay exponentially quickly in space.Thus, we can apply helical boundary conditions to 1 and 3 at the ends of a coil containing a switchback, even if the total arc length is finite.However, in the case of a switchback curve, the handedness of the boundaries flip (Fig. 7):

61While this narrows down the possibilities for (), solving the variational problem without a specific family of functions remains challenging.Consequently, we adopt the Rayleigh-Ritz approximation from Wang et al. [2020], which propose that 1 and 2 can be approximated by:

62The original helix solutions are highlighted as the red ℎ 1 and ℎ 2 .The remaining terms are exponentially decaying cosine "bumps" that perturb the original helix.The parameters { , , } are what we must now optimize for.The remaining Ω 3 can then be solved for by integrating Eqn.11 and applying two boundary conditions:

63The solution has the analytic form:

644 3 , Re(•) extracts the real component, and erf (•) is the Gauss error function.Again, the helix solution ℎ 3 gets perturbed by the other terms.There are now 12 free parameters, { , , }, but one can be set using the boundary condition:

65This leaves 11 parameters to optimize.We write them as a vector n = [ 1 , 1 , 1 , 2 , 2 , 2 , 3 , 3 , 3 , 4 , 4 ] ⊤ , and minimize them over the energy density from Eqn. 12:

664.3.2Symmetry Regularization.Until now, we have focused on switchback insertion.However, Eqn. 24 lacks a key feature: left-right symmetry.Without it, we have found that half of the helix shoots off at a random and Table 1.Performance of our Curly-Cue geometric methods.Our unoptimized, single-threaded Python implementation is on par with the running times of the simulation [Shi et al. 2023] and rendering in Blender.All timings are per frame, and in minutes:seconds, unless otherwise indicated.

Fig.

67Sim Thus, we add a regularizer that encourages the overall curve to remain straight by requiring that the tangent at = 0 run parallel to the centerline.Since we assumed in Eqn. 8 that the curve's centerline runs along x = [1 0 0] ⊤ , the symmetry condition is:

68Adding this to the optimization yields our final energy:

69Computing d 3 (0) will be described in §4.3.3.Integrating Eqn. 3 using forward Euler is straightforward, but Eqn. 4 involves rotating an orthonormal basis.We have found that brute-force basis renormalization introduces visible numerical drift, so in the spirit of Lie group integrators [Angelidis 2017], we build a rotation matrix R() for each Euler step.The directors d rotate about the axis Ω , so for a step size Δ, the angle is Δ = ∥ ∥Δ.After constructing R(), we integrate the directors along according to d ( + Δ) = R() d ().This ensures that the directors remain orthonormal, and we have found it dramatically reduces numerical drift.Finally, our algorithm successfully generates switchbacks: 4.3.4Rest State Symmetry Analysis.To simplify their analyses, previous mechanics works have limited their discussions to circular rest states of 0 = (1, 0, 0).Our derivation generalizes to helical rest states with any number of switchbacks.However, this can imply that a helical solution with a single change-of-handedness is no longer a suitable boundary condition.Instead, an even number of switchbacks is required along a helix.In this case, the boundary conditions should be Ω → ℎ 1 d 1 + ℎ 3 d 3 as → ±∞.If multiple switchbacks are sufficiently separated, their perturbation terms (Eqns.20 and 21) can be linearly summed and translated.When two switchbacks are close to each other, we can optimize for their combined shape and obtain an S-shaped double switchback:

70We provide source code in our supplemental materials.5 Implementation and Results 5.1 Implementation Details 5.1.1Frame Generation.In §3.1.1 every point on c() needed a frame {u, v} orthonormal to c( ) /.While many methods are available [Duff et al. 2017;Max 2017], we found that following sufficed:

71If c( ) / ⊤ x = 1, then x is randomly sampled from the unit sphere.

Strand Variation.

72To vary hair lengths within each wisp, we compressed the range over which points are sampled along each strand curve, to [0, 1 − ], where is chosen randomly.

735.1.3Fades.For regions with hairs shorter than a single curl, coalescing behaviour is not expected, so individual strands duplicate their guide strand (Fig. 11).By transitioning between this and the method of §3 for longer hair, we can achieve a range of looks.

Results

74The spongy layer created by our phase locking algorithm can be seen on the right of Fig. 10.Traditional wisp [Watanabe and Suenaga 1992] and scraggle [Butts et al. 2018] methods (Fig. 10, left, middle) maintain the curls up to the scalp, and create a wig-like look.By changing the skipping probability in §3.4,we can achieve a range of different looks (Fig. 12), from shiny with highly visible coils, to diffuse with brushed apart coils.In the supplemental video, we show that these features stay coherent under animation.

75Our switchback method is flexible enough that it can insert the shape anywhere along an existing wisp (Fig. 13, middle), and even multiple times on a single wisp (Fig. 13, right).They are inserted prior to simulation so they can deform under external forces.We are able to generate looks that are distinct from previous approaches [Daviet 2023;Hsu et al. 2023;Shen et al. 2023;Zhou et al. 2023].While these papers presented methods that tried to encompass multiple hair types, we focused on a single, under-investigated hair type to achieve its characteristic look.Our algorithm generalizes to human-scale, as seen on our models of New York Times bestselling author Carvell Wallace [Iguodala and Wallace 2019] (Figs. 1, 8).We inserted switchbacks into the hair, and one can be seen on the bottom row of Fig. 8. Alternate renders with different are shown in the supplemental video.Figs. 14 and 9 showcase additional styles.

76We verified our switchback geometry using Discrete Elastic Rods [Bergou et al. 2008] by running an example that verifies a helix is also a stable state.The simulation is in the supplemental video.As seen in Table 1, the timings for our Curly-Cue methods are on par with the simulation and rendering.Our current implementation is unoptimized, single-threaded Python, so we'd expect a highperformance, parallel implementation to run ∼10× faster.

Limitations

77Phase locking is currently applied as a geometric post-process, and does not play an active role in the simulation.A more realistic approach would directly simulate the spongy layer near the scalp.

78The effects the geometric phenomena we have modelled decrease as hair becomes straighter.For example, period skipping loses meaning for straight hair that does not turn through a single helical period.Finding the precise frequencies at which these phenomena become visually irrelevant will need further empirical investigation.The switchback optimization can still take a few seconds to compute the shape, especially when solving for small coil frequencies from a cold start.The current method also cannot directly solve for shapes under complex external forces.We instead approximate them by integrating the switchback into the hair simulator.

Conclusions and Future Work

79We have presented algorithms for three geometric phenomena characteristic of highly coiled hair: phase locking, period skipping, and switchbacks.Our switchback formulation applies to other scenarios where they occur, such as plant synthesis [Niese et al. 2022].Our methods are for relatively unstyled hair, but a wide range of highly coiled styles exist, such as box braids, twist-outs and natural locs [Darke et al. 2023].Investigating whether our current methods generalize to these styles, or if they involve new geometric phenomena that require new methods, remains future work.Finally, efficiently simulating highly coiled hairs, with their larger vertex counts and unique collision behaviors, remains a challenge.Watanabe and Suenaga [1992] are coherent at the scalp (red box), creating the appearance of a wig.Adding scraggle (magenta box) wrinkles the hair, but the wig look remains.Our phase locking method (green box), creates a spongy layer that transitions into coils.

Fig. 2 .

80Fig.2.Phase locking in Instagram photo from @theesudani.The hairs form a "spongy" layer near the scalp (light blue), but then coalesce into wisps (light red).The phenomenon was accentuated using "finger coiling."©Yar Sudani

Fig. 4 .

81Fig. 4. Simulating 2592 strands at human-scale hair density using Shi et al.[2023]'s simulator.Initially set in a perfectly straight "comb" (left), they settle into a "spongy" texture (right) after simulating for 31 hours.Simulating 200K hairs would take ∼100 days.Instead, we use the spectra from this simulation to synthesize a "spongy" layer.

823.2.3Dataset Construction.Direct simulation of 200K strands of hair on a head remains daunting, especially for the ∼80 vertices needed per highly coiled hair, in lieu of the 30 vertices needed in straight-hair examples [Daviet 2020; Kaufman et al. 2014].Collision processing also presents new challenges.

Fig. 5 .

83Fig. 5. Period skipping in a hair sample photo.Red arrows point to highlighted hairs that temporarily drop out of phase, but later rejoin the helix, essentially stretching out one of their periods.

Fig. 6 .

84Fig. 6.Photo from Darke et al. [2023] of a switchback in human hair.

853.4.2Algorithmic Treatment.This visual phenomenon is difficult to achieve with scraggle [Butts et al. 2018; Haapaoja and Genzwürker 2019; Narayan 2023] because it must alter low-frequency components in a strand.Scraggle usually excels at introducing highfrequency variations.(Fig. 10, middle)

)

86This forms a family of ellipses in the ℎ 1 , ℎ 3 plane.Combining the above equation with = 3/ Perturbation.With the helical solution ℎ established, we now perturb it compute a switchback solution Ω .We use Ω because it looks like a switchback.

Fig. 7 .

87Fig. 7.The curve director basis along the curve and the twist boundaries.

884.3.3Curve Generation.After obtaining Ω () via non-linear optimization ( §5.1.4),we can use it to integrate Eqn. 4, obtain a director basis {d 1 , d 2 , d 3 }, and integrate Eqn. 3 to obtain the final curve c().

895.1.4Non-Linear Optimization.Computing switchbacks involves optimizing Eqn. 26, and we found derivative-free methods such as Nelder-Mead[Nocedal and Wright 2006] sufficed, so deriving gradient terms is unnecessary.To improve convergence, we replaced the integral in Eqn. 26 with a sparsely sampled ∞-norm in the region around the switchback.Each optimization took ∼10s, or ∼1.5s when warm-started with a solution from a similar .

Fig. 8 .

90Fig. 8. Close-ups and additional angles on the Carvell Wallace model from Fig. 1.The simulation consisted of 8K strands that were interpolated using our methods into 233K hairs for rendering.Period skipping was set to = 0.5 and switchbacks were inserted prior to simulation (bottom row, middle).

Fig. 9 .

91Fig. 9. Close-ups and additional angles on the Carvell Wallace model with longer hair.

Fig. 10 .

92Fig. 10.Wisps generated withWatanabe and Suenaga [1992] are coherent at the scalp (red box), creating the appearance of a wig.Adding scraggle (magenta box) wrinkles the hair, but the wig look remains.Our phase locking method (green box), creates a spongy layer that transitions into coils.

Fig. 11 .

93Fig. 11.Our approach handles a range of hair lengths, from close cut fades (left) to longer coils (right).

Fig. 12 .

94Fig. 12. Left to right: Period skipping setting = 0.0, 0.25, 0.50, and an extreme 0.75.The appearance of each wisp changes, but so does the overall look, even though the rendering material parameters are the same.As more periods are skipped, the sharp highlights on the coils become more diffuse.

Fig. 13 .

95Fig. 13.Left to right: single wisp with no switchbacks, a switchback inserted near the wisp tip, one inserted near the middle.We can insert multiple switchbacks on one wisp, so on the right shows insertions near the middle and tip.

Fig. 14 .

96Fig. 14.Close-ups and additional angles on the Carvell Wallace model with shorter hair.

97. Strands Render Hairs Sim.Time Curly-Cue Time Render Time Sim.

참고문헌 52건

  1. Tendril Perversion in Intrinsically Curved Rods Journal of Nonlinear Science · Springer Science+Business Media · 2002 10.1007/s00332-002-0493-1
  2. Inverse dynamic hair modeling with frictional contact ACM Transactions on Graphics · Association for Computing Machinery · 2013 10.1145/2508363.2508398
  3. An image synthesizer ACM SIGGRAPH Computer Graphics · ACM SIGGRAPH · 1985 10.1145/325165.325247
  4. Helical <i>Bacillus subtilis</i> macrofibers: Morphogenesis of a bacterial multicellular macroorganism Proceedings of the National Academy of Sciences · National Academy of Sciences · 1978 10.1073/pnas.75.5.2478
  5. Detail preserving continuum simulation of straight hair ACM Transactions on Graphics · Association for Computing Machinery · 2009 10.1145/1531326.1531368
  6. Capture of hair geometry from multiple images ACM Transactions on Graphics · Association for Computing Machinery · 2004 10.1145/1015706.1015784
  7. A mass spring model for hair simulation ACM Transactions on Graphics · Association for Computing Machinery · 2008 10.1145/1360612.1360663
  8. Hierarchical chirality transfer in the growth of Towel Gourd tendrils Scientific Reports · Nature Portfolio · 2013 10.1038/srep03102
  9. Adaptive nonlinearity for collisions in complex rod assemblies ACM Transactions on Graphics · Association for Computing Machinery · 2014 10.1145/2601097.2601100
  10. A simple method for extracting the natural beauty of hair 1992 10.1145/133994.134021
  11. Analysis of phase-locking is informative for studying event-related EEG activity Biological Cybernetics · Springer Science+Business Media · 1997 10.1007/s004220050335
  12. Spontaneous Helix Hand Reversal and Tendril Perversion in Climbing Plants Physical Review Letters · American Physical Society · 1998 10.1103/physrevlett.80.1564
  13. Modelling and rendering techniques for African hairstyles 2004 10.1145/1029949.1029971
  14. A trigonal prism-based method for hair image generation IEEE Computer Graphics and Applications · Institute of Electrical and Electronics Engineers · 1992 10.1109/38.135883
  15. Shape Variability and Classification of Human Hair: A Worldwide Approach Human Biology · Wayne State University Press · 2007 10.1353/hub.2007.0045
  16. Artistic simulation of curly hair 2013 10.1145/2485895.2485913
  17. Advanced techniques in real-time hair rendering and simulation 2010 10.1145/1837101.1837102
  18. Capturing hair assemblies fiber by fiber ACM Transactions on Graphics · Association for Computing Machinery · 2009 10.1145/1618452.1618510
  19. Simulating complex hair with robust collision handling 2005 10.1145/1073368.1073389
  20. Laplacian surface editing 2004 10.1145/1057432.1057456
  21. Discrete elastic rods ACM Transactions on Graphics · Association for Computing Machinery · 2008 10.1145/1360612.1360662
  22. A Survey on Hair Modeling: Styling, Simulation, and Rendering IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2007 10.1109/tvcg.2007.30
  23. Meshless deformations based on shape matching ACM Transactions on Graphics · Association for Computing Machinery · 2005 10.1145/1073204.1073216
  24. Hair meshes ACM Transactions on Graphics · Association for Computing Machinery · 2009 10.1145/1618452.1618512
  25. Twists and Turns in Glassy, Liquid Crystalline Polymer Networks Macromolecules · American Chemical Society · 2015 10.1021/ma502563q
  26. A data-driven approach to four-view image-based hair modeling ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3072959.3073627
  27. Multi-scale vorticle fluids ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3072959.3073606
  28. Hierarchical controls for art-directed hair at Disney 2018 10.1145/3214745.3214774
  29. Engineering full-fidelity hair for Incredibles 2 2018 10.1145/3214745.3214798
  30. Video to fully automatic 3D hair model ACM Transactions on Graphics · Association for Computing Machinery · 2018 10.1145/3272127.3275020
  31. Mesh-driven generation and animation of groomed feathers 2019 10.1145/3306307.3328178
  32. Mechanics-Aware Modeling of Cloth Appearance IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tvcg.2019.2937301
  33. Why is hair curly?—Deductions from the structure and the biomechanics of the mature hair shaft Experimental Dermatology · Wiley · 2019 10.1111/exd.14048
  34. Interactive multiresolution hair modeling and editing ACM Transactions on Graphics · Association for Computing Machinery · 2002 10.1145/566654.566627
  35. Generation of perversions in fibers with intrinsic curvature Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.103932
  36. Periodic Tendril Perversion and Helices in the AMoO<sub>2</sub>F<sub>3</sub> (A = K, Rb, NH<sub>4</sub>, Tl) Family Journal of the American Chemical Society · American Chemical Society · 2020 10.1021/jacs.0c01218
  37. Simple and scalable frictional contacts for thin nodal objects ACM Transactions on Graphics · Association for Computing Machinery · 2020 10.1145/3386569.3392439
  38. Countering Racial Bias in Computer Graphics Research 2022 10.1145/3532836.3536263
  39. Human Hair Inverse Rendering using Multi-View Photometric data. 2021 10.2312/sr.20211301
  40. Procedural Urban Forestry ACM Transactions on Graphics · Association for Computing Machinery · 2022 10.1145/3502220
  41. Space Rangers with Cornrows 2022 10.1145/3532836.3536277
  42. Numerical Optimization 2006 10.1007/978-0-387-40065-5
  43. SIGGRAPH Asia 2022 Technical Communications 2022 10.1145/3550340
  44. Neural Strands: Learning Hair Geometry and Appearance from Multi-view Images Lecture notes in computer science · Springer Science+Business Media · 2022 10.1007/978-3-031-19827-4_5
  45. Artificial Tendrils Mimicking Plant Movements by Mismatching Modulus and Strain in Core and Shell Advanced Materials · Wiley · 2023 10.1002/adma.202211902
  46. CT2Hair: High-Fidelity 3D Hair Modeling using Computed Tomography ACM Transactions on Graphics · Association for Computing Machinery · 2023 10.1145/3592106
  47. Sag-Free Initialization for Strand-Based Hybrid Hair Simulation ACM Transactions on Graphics · Association for Computing Machinery · 2023 10.1145/3592143
  48. Interactive Hair Simulation on the GPU using ADMM 2023 10.1145/3588432.3591551
  49. Lifted Curls Proceedings of the ACM on Computer Graphics and Interactive Techniques · Association for Computing Machinery · 2023 10.1145/3606920
  50. GroomGen: A High-Quality Generative Hair Model Using Hierarchical Latent Representations ACM Transactions on Graphics · Association for Computing Machinery · 2023 10.1145/3618309
  51. Contact detection between curved fibres: high order makes a difference ACM Transactions on Graphics · Association for Computing Machinery · 2024 10.1145/3658191
  52. More Than Killmonger Locs: A Style Guide for Black Hair (in Computer Graphics) 2024 10.1145/3664475.3664535