Systems and methods for rendering clothing
By deforming the mesh associated with clothing images based on avatar pose changes, the method addresses the challenge of realistically rendering clothing on avatars, preventing artifacts and improving visual fidelity in virtual and augmented reality.
Patent Information
- Application Number
- GB2023005762
- Authority / Receiving Office
- GB · GB
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-10-30
AI Technical Summary
Existing methods for rendering clothing on avatars in augmented and virtual reality struggle to realistically deform clothing when the avatar changes pose, leading to artifacts and image tearing, as they often rely on two-dimensional textures that do not accurately mimic real-world clothing behavior.
A method that updates the avatar's pose by moving set points, deforms the associated mesh using intermediate points constrained between avatar set points, and morphs the clothing image accordingly, ensuring realistic deformation and preventing image tearing.
This approach allows for realistic rendering of clothing on avatars in various poses without artifacts, providing a more accurate representation of how clothing moves on a human body, enhancing the visual fidelity in virtual and augmented reality applications.
Smart Images

Figure 00000000_0001_ABST 
Figure 00000000_0000_ABST
Abstract
Description
Field of the invention The present invention relates to rendering images of clothing. In particular, rendering clothing on positionable avatars. Background of the invention The display of realistic human avatars is required in numerous systems to achieve varying functionality. Many augmented reality and virtual reality systems use human avatars and require realistic depictions of clothing on said avatars, from collaborative working environments using a metaverse to consumer experiences such as digital shopping and entertainment. Realistic display of clothing on human avatars can often involve complex and computationally demanding 3D modelling and cloth simulations. However, often only two-dimensional views are required. Various existing technologies allow skins (or clothing textures) to be applied to two-dimensional avatars, thus giving the appearance of an avatar wearing a particular item of clothing. However, difficulties arise when the avatars are positioned in poses that differ greatly from that of the original image of an item of clothing as the clothing texture may be deformed in ways that deviate greatly from the behaviour of the real-world item of clothing being depicted. Artefacts and image tearing may arise, requiring a single item of clothing to be imaged in many different positions to correspond to different poses of the avatar which can be impractical. Summary of the invention It is an object of the present invention to provide an improved method for displaying two dimensional images of items of clothing on an avatar that realistically deform according to the movement (or positioning) of the avatar. In a first aspect there is provided a method (such as a computer implemented method) of rendering (or otherwise displaying) an item of clothing according to an avatar representing a human body. The method comprises receiving (or obtaining or otherwise accessing) an avatar (or other digital representation) representing a human body. The avatar comprises a plurality of avatar set (or fixed) points. The method further comprises receiving (or obtaining or otherwise accessing) an image (or texture or other graphical representation) of the item of clothing. The image of the item of clothing has an associated first mesh comprising a plurality of mesh anchor points. Typically, the image is mapped to the associated mesh. The method further comprises updating (or moving or otherwise positioning) the avatar to a selected pose. As the avatar set points are fixed in relation to points on the body represented by the avatar it will be understood that such updating of the avatar results in (or comprises) movement of one or more of the avatar set points. For example, the set point on a limb will move when the limb is moved to the new pose and so on. The method further comprises deforming the mesh according to the updated avatar, wherein the positions of one or more of the mesh anchor points are constrained by respective intermediate points linked to the one or more mesh anchor points, and wherein the position of each intermediate point is determined as a point suspended between a respective pair of avatar set points. The method further comprises morphing (or mapping or projecting) the image according to the deformed mesh and displaying the morphed image in conjunction with the updated avatar. The morphed image is typically displayed over the avatar. In some embodiments of the first aspect the method further comprises: further updating the avatar to a second pose; further deforming the mesh according to the further updated avatar, wherein the positions of one or more of the mesh anchor points are constrained by the respective intermediate points; morphing the image according to the further deformed mesh. The further morphed image may be displayed over (or in conjunction with) the avatar. The displaying may be carried out whilst the avatar is further updated and the mesh is further deformed creating an animation of the avatar and the item of clothing being placed in the second pose. In some embodiments of the first aspect the method further comprises: receiving a second image (or texture or other graphical representation) of a second item of clothing for overlaying on the original (or first) item of clothing, wherein the second image is mapped to a second associated mesh comprising a plurality of mesh anchor points; deforming the second mesh according to the updated avatar, wherein the positions of one or more of the mesh anchor points of the second mesh are constrained by respective intermediate anchor points; and morphing the second image according to the second deformed mesh. When deforming the first mesh the mesh anchor points of the first mesh within a predetermined distance (or region or area) of an edge (typically the edge overlapping the first item of clothing) of the second image are further constrained to be positioned within the outline of the avatar. Displaying the morphed image in conjunction with the updated avatar comprises displaying the morphed second image overlaid on the morphed image. In some embodiments of the first aspect the position of one or more (or each) intermediate points is a point on a flattened catenary curve connecting the respective pair of avatar anchor points. In some embodiments of the first aspect the position of one or more (or each) intermediate points is modelled (or calculated or otherwise determined) as a point mass suspended between the respective pair of avatar points by a light inextensible string. In some embodiments of the first aspect the positions of another one or more of the mesh anchor points are constrained by a respective avatar set point linked to the another one or more mesh anchor points. In some embodiments of the first aspect the mesh anchor points are vertices of the mesh. The mesh may be a polygonal mesh. In some embodiments of the first aspect deforming the (first or second) mesh according to the updated avatar, comprises translating each vertex of the mesh according to (or in proportion to, or otherwise based on) the translation of the linked avatar set point or linked respective intermediate point from an initial pose and the selected pose. In some embodiments of the first aspect at least one pair of avatar set points comprises a first respective avatar set point located on the left hand side of the body and a second respective avatar set point at a corresponding location on the right hand side of the body. Additionally, or alternatively at least one pair of avatar set points comprises a first respective avatar set point located on the left hand side of a part of the body and a second respective avatar set point at a corresponding location on the right hand side of the part of the body. For example, one or more pairs of anchor points may each comprise a first respective avatar set point located on the left-hand side of the torso of the avatar and a second respective avatar set point at a corresponding location on the right-hand side of the torso of the avatar. A corresponding location may be a location at the same height on the avatar, or at the same point along an axis of the body point. In some embodiments of the first aspect the positions of the one or more of the mesh anchor points are constrained to be within a respective predetermined distance of the respective linked intermediate anchor points. The positions of the one or more of the mesh anchor points may be constrained to be coincident with the linked intermediate points. In some embodiments of the first aspect one or more of the mesh anchor points are located on an edge of the item of clothing in the image. In some embodiments of the first aspect, the mesh anchor points are linked to the respective intermediate points or respective avatar set points based on a common pose (which may be the initial pose described above) of the avatar and the image of the item of clothing. One or more (or each) mesh anchor point may be linked to the nearest respective intermediate point or respective avatar set point when the avatar is in a pose corresponding to the image of the item of clothing, such as the common pose. In some embodiments each mesh anchor point is linked to a single respective intermediate or set point. The invention also provides apparatus corresponding to, and comprising elements, modules or components arranged to put into effect the above methods, for example one or more various suitably configured computing devices. In particular, the invention therefore provides a system for rendering (or otherwise displaying) an item of clothing according to an avatar representing a human body, the system comprising one or more processors arranged to carry out a method comprising receiving (or obtaining or otherwise accessing) an avatar (or other digital representation) representing a human body. The avatar comprises a plurality of avatar set (or fixed) points. The method further comprises receiving (or obtaining or otherwise accessing) an image (or texture or other graphical representation) of the item of clothing. The image of the item of clothing has an associated first mesh comprising a plurality of mesh anchor points. Typically, the image is mapped to the associated mesh. The method further comprises updating (or moving or otherwise positioning) the avatar to a selected pose. As the avatar set points are fixed in relation to points on the body represented by the avatar it will be understood that such updating of the avatar results (or comprises) movement of one or more of the avatar set points. For example, the set point on a limb will move when the limb is moved to the new pose and so on. The method further comprises deforming the mesh according to the updated avatar, wherein the positions of one or more of the mesh anchor points are constrained by respective intermediate points linked to the one or more mesh anchor points, and wherein the position of each intermediate point is determined as a point suspended between a respective pair of avatar set points. The method further comprises morphing (or mapping or projecting) the image according to the deformed mesh and displaying the morphed image in conjunction with the updated avatar. The morphed image is typically displayed over the avatar. The system may be a mobile device (such as a smartphone, or tablet computer, or the like). The invention also provides one or more computer programs suitable for execution by one or more processors, such computer program(s) being arranged to put into effect the methods outlined above and described herein. The invention also provides one or more computer readable media, and / or data signals carried thereon storing such computer programs. Brief description of the drawings Embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings, in which: Figure 1a illustrates a situation in which a user of a client device such as a smartphone or tablet computer, wishes to view one or more items of clothing on an avatar; Figure 1b is a flow diagram schematically illustrating an example method for rendering an item of clothing on an avatar representing a human body, such as may be carried out by the client device of figure 1a. Figure 2 schematically illustrates an example of a computer system that may be used in embodiments of the invention; Figure 3a schematically illustrates a portion of an avatar in a first position and in a second position; Figure 3b schematically illustrates an image of an item of clothing overlaid on the portion of the avatar in the first position and in the second position; Figure 3c shows an example of how mesh anchor points may be updated; Figures 4a and 4b illustrate a tucking constraint on the mesh anchor points; Figure 5a shows a portion of an avatar with set points and intermediate points 315 in a working embodiment of the invention; Figure 5b shows a larger portion of the avatar from figure 5a with an item of clothing overlaid; Figure 5c shows the avatar and item of clothing form figure 5b in a second pose (or position); Figure 6 shows a further illustration from a working embodiment of the invention. Detailed description of embodiments of the invention In the description that follows and in the figures, certain embodiments of the invention are described. However, it will be appreciated that the invention is not limited to the embodiments that are described and that some embodiments may not include all of the features that are described below. It will be evident, however, that various modifications and changes may be made herein without departing from the broader spirit and scope of the invention as set forth in the appended claims. Figure 1a illustrates a situation in which a user of a client device 110 such as a smartphone or tablet computer, wishes to view one or more items of clothing 120. In particular, the user wishes to view the item of clothing 120 as it would appear when a person is dressed in (or is wearing) the item. To that end a digital (or virtual) avatar 130 of a human body is provided. The avatar 130, which will be discussed in more detail shortly below, is a representation of a human body that is articulated such that the limbs and / or joints of the avatar may be moved (or positioned) such that the avatar represents the human body in a particular pose (or stance or attitude). It will be appreciated that the avatar may be updated (or manipulated), such as by the client device, to update the positions of the limbs and thereby change the pose of the avatar. The positions of the limbs may be constrained by one or more constraints. For example, the constraints may be (or be based on) biomechanical constraints of the human body. When displayed on the client device 110 the avatar typically provides a two-dimensional image of a human body in the pose of the avatar. The user may select an avatar that best represents the body shape and / or body type they wish to view the clothing 120 on. The user may select from a predetermined set of avatars. Additionally, or alternatively the user may specify one or more body measurements and an avatar may be adjusted (or scaled) accordingly, such as by the client device 110, to represent a human body having the one or more specified body measurements. An image 140 of the (or each) item of clothing 120 is also provided. The image may be generated from (or may be) a photograph of a real item of clothing. Equally, the image 140 may be generated (or rendered) from a design (or drawing) of an item of clothing. The image 140 shows the item of clothing 120 arranged corresponding to a given pose. As such, the image 140 may be generated from an image of the item of clothing 120 on a human body (or mannequin) in the given pose. Alternatively, the image 140 may be generated from an image of the item of clothing 120 not on a human body or mannequin. For example, the item of clothing 120 may be imaged laid flat. In such a case the corresponding pose would be determined by the cut (or construction) of the item of clothing 120. The image 140 of the item of clothing 120 is typically pre-processed to identify (or mark) areas of transparency (or holes) in the item of clothing 120 and mark such areas as transparent in the image 140. This may be done manually, however it will be appreciated that automated tools (such as edge detection tools, green screen systems, and so on) may be used to identify and mark areas of transparency. Similarly, portions of the clothing not visible when worn may be removed (or matted out) or assigned to a separate layer in the image 140. For example, figure 1 b shows a blouse imaged from the front when the blouse is laid flat. A portion 190 of the back of the item of clothing 120 is visible in the image above the neck line 192 but when worn this portion 190 would be obscured by the wearer’s neck. The portion 190 may be blanked out, or assigned to a separate (or hidden) layer. As such, it will be appreciated that the client device 110 having received an image 140 of the item of clothing 120 and an avatar 130 may display the image 140 of the item of clothing 120 overlaid on the avatar 130. By setting (or positioning or posing) the avatar 130 in the pose of the image 140 of the item of clothing 120 the client device 110 will, in effect, display the item of clothing 120 as worn by the human body of the avatar 130. It will be appreciated that when overlaying the image 140 of the item of clothing 120 on the avatar 130 the separate (or hidden) layer of the image 140 is omitted or placed behind the avatar 130. The user, however, may wish to view the item of clothing 120 in one or more different poses. To enable the image 140 of the item of clothing 120 to be displayed in the different poses the image 140 is mapped to a mesh 150. The mesh 150 may then be deformed according to the change between the initial pose and the new pose. In this way the image 140 may be morphed (or deformed or otherwise modified) according to the deformed mesh. The resulting image is then overlayed by the client device 110 on the avatar 130 in the new pose. In this way the client device 110 will, in effect, display the item of clothing 120 as worn by the human body in the new pose. To enable the deformation the avatar 130 comprises a plurality of set (or fixed) points. Each set point is fixed (or located) at a given location (or position) on the human body that the avatar 120 represents. As such, when the avatar 130 is positioned into a different pose the set points move in relation to each other. The set points though remain on a fixed location on the body of the avatar 130. For example, set points fixed at the ankle and the knee of the human body that the avatar 130 represents will remain fixed at the ankle and the knee respectively even if the position of the ankle moves relative to that of the knee. The avatar 130 also comprises one or more intermediate points the position of each intermediate point determined as a point suspended between a respective pair of set points. In this way when the avatar 130 is positioned into a different pose the intermediate points move in relation to each other and are not at a fixed location on the body. The mesh 150 comprises a plurality of mesh anchor (or attachment) points. Each mesh anchor point is fixed (or located) at a given location (or position) on the mesh. The mesh anchor points are linked (or associated with) respective set points or intermediate points. In this way when the set points and intermediate points move, due to positioning of the avatar 130, the positions of the linked mesh anchor points can be updated. As the mesh anchor points are at fixed locations on the mesh the movement of the mesh anchor points gives rise to a distortion (or deformation) of the mesh 150 (as described in more detail below). By deforming the mesh 150 according to the intermediate points, which may change position relative to the body of the avatar 130 a more realistic morphing of the image of the item of clothing 120 is achieved. In particular, the use of the intermediate points allows for elements (or portions) of the item of clothing 120 to move across the body as the body changes position, more closely reflecting a real-world item of clothing 120 on a human body. This can also prevent image tearing and other artifacts that may arise when nearby set points move in different directions causing a shearing of the mesh 150. Typically, the mesh 150 and the avatar 130 used herein are two dimensional. However, it will be appreciated that in some embodiments deformation of the mesh 150 out of the plane of the image may be allowed to represent creasing of the cloth. Similarly, in some embodiments the avatar 130 may also encode (or comprise) dimensional information for features out of plane of the avatar 130 such as for the purposes of calculating shadows and the like. Any of the avatar 130, the image 140 of the item of clothing 120, and the mesh 150 may be stored on a server 180 (or cloud computing resource). In this way the client device 110 may be communicatively interfaced to the server 180 via any suitable network 185 such as the Internet. The client device 110 may typically have access to the network 185 and therefore to the server 180 by means of any suitable communication system such as any of WiFi, a telephone data network connection (such as a 3G, 4G, 5G, LTE and so on), and so on and so forth. Figure 1b is a flow diagram schematically illustrating an example method 190 for rendering an item of clothing on an avatar 130 representing a human body, such as may be carried out by the client device 110 of figure 1a. At a step 191 an avatar 130 representing a human body is received. This may be received from a suitable storage (or remote storage), such as the server 180. The avatar 130 comprises a plurality of avatar set points. The avatar also defines (or comprises) one or more intermediate points. The position of each intermediate point is determined as a point suspended between a respective pair of set points. As discussed shortly below the avatar may be implemented as a skeleton in a suitable 2D animation toolkit. At a step 192 an image 140 of the item of clothing 120 is received. The image 140 is mapped to an associated mesh 150 comprising a plurality of mesh anchor points. The mesh 150 may be received with or as part of the image 140. Typically, the mesh anchor points correspond to vertices on a polygonal mesh 150. The mesh anchor points are linked to set points or intermediate points of the avatar 130. Typically, such linking is done based on the avatar 130 being placed in a pose (or position) corresponding to the image 140. At a step 193 the avatar 130 is posed (or positioned) in a selected pose. This may be thought of as updating the avatar 130. Updating the avatar 130 comprises moving one or more avatar set points. It will be appreciated that the set points are at fixed locations on the body of (or represented by) the avatar 130, so the movement of a set point is determined by the movement of the various limbs and or joints of the avatar 130. The positions of the intermediate points are also updated based on the movement of the set points, in line with the intermediate points being suspended between pairs of set points. At a step 194 the mesh 140 is deformed according to the updated avatar 130. The positions of one or more of the mesh anchor points are constrained by the respective intermediate points linked to the one or more mesh anchor points. At a step 195 (which may be part of step 194) the image 140 is morphed according to the deformed mesh 150. As the image 140 is mapped or projected onto the mesh 150 the morphing may be achieved using standard texture mapping techniques. At a step 196 the morphed image is displayed in conjunction with the updated avatar 130. Typically, the morphed image is displayed overlaid on the avatar 130 to show the avatar 130 wearing the item of clothing 120. It will be understood that step 193 to step 196 may be repeated to further update the avatar 130 to further poses. Similarly, the step 192 to 196 may be repeated for further items of clothing 120 to display an avatar 130 with multiple items of clothing 120 overlaid (or being worn). Whilst displaying the morphed image and the avatar 130 is described above as a separate step it will be appreciated that the avatar 130 and image 140 of the item of clothing 120 may be displayed throughout the processes described in the step 193 to the step 195 in effect showing an animation of the avatar 130 and the image 140 being positioned and deformed respectively. Figure 2 schematically illustrates an example of a computer system 1000 that may be used in embodiments of the invention. The client device 110 and / or server 180 described above may each be embodied as one or more such computer systems 1000. The system 1000 comprises a computer 1020. The computer 1020 comprises: a storage medium 1040, a memory 1060, a processor 1080, an interface 1100, a user output interface 1120, a user input interface 1140 and a network interface 1160, which are all linked together over one or more communication buses 1180. The storage medium 1040 may be any form of non-volatile data storage device such as one or more of a hard disk drive, a magnetic disc, an optical disc, a ROM, etc. The storage medium 1040 may store an operating system for the processor 1080 to execute in order for the computer 1020 to function. The storage medium 1040 may also store one or more computer programs (or software or instructions or code). The memory 1060 may be any random-access memory (storage unit or volatile storage medium) suitable for storing data and / or computer programs (or software or instructions or code). The processor 1080 may be any data processing unit suitable for executing one or more computer programs (such as those stored on the storage medium 1040 and / or in the memory 1060), some of which may be computer programs according to embodiments of the invention or computer programs that, when executed by the processor 1080, cause the processor 1080 to carry out a method according to an embodiment of the invention and configure the system 1000 to be a system according to an embodiment of the invention. The processor 1080 may comprise a single data processing unit or multiple data processing units operating in parallel or in cooperation with each other. The processor 1080, in carrying out data processing operations for embodiments of the invention, may store data to and / or read data from the storage medium 1040 and / or the memory 1060. The processor 1080 may comprise one or more graphics processing units (GPUs) operating in cooperation with other data processing units of the processor 1080. The interface 1100 may be any unit for providing an interface to a device 1220 external to, or removable from, the computer 1020. The device 1220 may be a data storage device, for example, one or more of an optical disc, a magnetic disc, a solid-state-storage device, etc. The device 1220 may have processing capabilities - for example, the device may be a smart card. The interface 1100 may therefore access data from, or provide data to, or interface with, the device 1220 in accordance with one or more commands that it receives from the processor 1080. The user input interface 1140 is arranged to receive input from a user, or operator, of the system 1000. The user may provide this input via one or more input devices of the system 1000, such as a mouse (or other pointing device) 1260 and / or a keyboard 1240, that are connected to, or in communication with, the user input interface 1140. However, it will be appreciated that the user may provide input to the computer 1020 via one or more additional or alternative input devices (such as a touch screen). The computer 1020 may store the input received from the input devices via the user input interface 1140 in the memory 1060 for the processor 1080 to subsequently access and process, or may pass it straight to the processor 1080, so that the processor 1080 can respond to the user input accordingly. The user output interface 1120 is arranged to provide a graphical / visual and / or audio output to a user, or operator, of the system 1000. As such, the processor 1080 may be arranged to instruct the user output interface 1120 to form an image / video signal representing a desired graphical output, and to provide this signal to a monitor (or screen or display unit) 1200 of the system 1000 that is connected to the user output interface 1120. Additionally or alternatively, the processor 1080 may be arranged to instruct the user output interface 1120 to form an audio signal representing a desired audio output, and to provide this signal to one or more speakers 1210 of the system 1000 that is connected to the user output interface 1120. Finally, the network interface 1160 provides functionality for the computer 1020 to download data from and / or upload data to one or more data communication networks. It will be appreciated that the architecture of the system 1000 illustrated in figure 2 and described above is merely exemplary and that other computer systems 1000 with different architectures (for example with fewer components than shown in figure 2 or with additional and / or alternative components than shown in figure 2) may be used in embodiments of the invention. As examples, the computer system 1000 could comprise one or more of: a personal computer; a server computer; a smartphone; a tablet; a laptop; a television set; a set top box; a games console; other mobile devices or consumer electronics devices; distributed (or cloud) computing systems etc. Figure 3a schematically illustrates a portion of an avatar 130 in a first position 310 and in a second position 320. The regions of the avatar 130 within dotted borders indicate separate positionable body parts of the avatar 130. The portion of the avatar 130 is shown with a right arm 332, a left arm 334, a chest region 336, and hips 338. It will be appreciated that figure 3a (and figures 3b and 3c described below shortly) are schematic and not to scale. These figures are to illustrate the movement of various points. As such the figures may not represent the exact geometric relations described below, but rather are indicative. The second position 320 differs from the first position in that the left arm 334 is dropped and the hips 338 are rotated. The avatar 130 is shown as comprising four set points 305i; 3052 (marked as crosses in the figure). In the description that follows set points will be indicated using the numeral 305, subscripts are used when distinguishing between groups of set points to aid in clarity. One pair of set points 305i are located on opposite edges of the hips 338. The other pair of set points 3052 are placed on opposite edges of the left arm 334. The set points 3052 are placed at corresponding lengths along the left arm. As shown in figure 3a and in line with the discussion above the set points are at fixed positions on the avatar 130 (or human body represented by the avatar). As such, when the avatar 130 is placed in second position the set points 305 move relative to each other. The movement of the set points 305 is determined by the movement of the limbs of the avatar 130. In other words, when the avatar 130 is updated the set points 305 are moved such that they remain at fixed positions on the body of (or represented by) the avatar 130. The avatar 130 also comprises a plurality of intermediate (or suspended) points 315i, 3152. In the description that follows intermediate points will be indicated using the numeral 315, subscripts are used when distinguishing between groups of intermediate points to aid in clarity. Each intermediate point 315 is associated with a respective pair of set points 305. Unlike a set point an intermediate point may move relative to the body of the avatar 130 as described in more detail below. One intermediate point 3152 is associated with (or linked to) the pair of set points 3052 on the left arm 334. The intermediate point 3152 is suspended between the associated (or linked) pair of set points 3052. As the avatar 130, and the set points 305 and intermediate points 315 are digital (or virtual) it will be understood that that, in other words, the position of each intermediate point 315 is determined (or calculated) as a point suspended between the pair of set points 305. It will also be understood that numerous different physical models may be used to determine the position of the intermediate point 3152. An intermediate point 315 may be treated (or calculated) as a point mass suspended under a gravitational force by a light inextensible string fixed at each set point 305 of the pair. Alternatively, the intermediate point 315 may be treated (or calculated or determined) as a point along a catenary (or flattened catenary or weighted catenary) connecting the pair of set points 305. In other words the intermediate point 315 may take the position of a point on a uniform chain (or cable) of a given length suspended under a gravitational force between the pair of set points 305. Other variations may include using an elastic catenary and the like. It will be appreciated that the stiffness of the chain or cable, and / or the gravitation force may be varied to improve the visual effect. In figure 3a the three other intermediate points 315i are associated with the pair of set points 305i on the hips 338. The three intermediate points 315i are suspended between the associated pair of set points 305i. In such a case where a plurality of intermediate points are suspended the points may be spaced equally (or unequally) along a curve such as those described above connecting the pair of set points 305. As such, the plurality of intermediate points may take the respective positions of respective points on a uniform chain (or cable) of a given length suspended under a gravitational force between the pair of set points 305. Alternatively, the plurality of intermediate points 315 may take the respective positions of segments of a rope (or chain) of a given length suspended under a gravitational force between the pair of set points 305. When the avatar 130 is positioned in the second position 320 the positions of the intermediate points 315 are updated. In particular, the position of each intermediate point is determined (or set or updated) based on the positions of the pair of set points 305 associated with the intermediate point 315. The position of the intermediate point 315 is set to satisfy the constraint that the intermediate point 315 is suspended between the associated pair of set points 305. It will be appreciated that the position of the intermediate point 315 may be calculated according to any one of the physical models discussed above. For example, in figure 3a in the first position 310 the left arm 334 Is elevated so that the pair of set points 3052 on the left arm 334 lie on a diagonal line, with the left hand set point of the pair higher than the right hand set point of the pair. The position of the intermediate point 3152 lies horizontal with the right hand set point due to the constraint that the intermediate point 3152 is suspended between the pair of set points 3052. In this case the position of the intermediate point 3152 is calculated as a point on a rope connecting the pair of set points 3052 suspended under gravity. In the second position 320 the left arm 334 is dropped to the side of the avatar 130 and as a result the pair of set points 3052 on the left arm 334 lie on a horizontal line. As will be understood, and as illustrated, for the intermediate point 3152 to be suspended between the pair of set points 3052 the intermediate point 3152 lies below both of the set points 3052 in the pair of set points 3052. As such, the intermediate point 3152 is in a different position on the body of the avatar 130 in the second position 320 compared to the first position 310. Whereas, as set out earlier, the set points 3052 remain in the same position on the body in the first position 310 and the second position 320, but change position in the image due to the movement of the avatar 130. Similarly, the set points 3052 change position relative other set points of the avatar 130 due to the movement of the avatar 130. In the same way it will be understood that in the first position 310 the hips 338 are horizontal so that the pair of set points 305i on the hips 338 lie on a horizontal line. The positions of the intermediate points 315i linked with the pair of the pair of set points 305i are according to points on a rope connecting the pair of set points 305i suspended under gravity. The middle intermediate point 315i of the three being lower than the other two. The other two intermediate points 315i lying on a horizontal line. In the second position 320 the hips 338 are tilted, as a result the pair of set points 305i on the hips 338 lie on a diagonal line with the left hand set point of the pair lower than the right hand set point of the pair. As will be understood, and as illustrated, for the intermediate points 315i, linked with the pair of set points 305i to be suspended between the pair of set points 305i the outer two intermediate points 315i no longer lie on a horizontal line. The rightmost intermediate point of the three is now higher than the leftmost intermediate point of the three. As such, the three intermediate points 315i are in different positions on the body of the avatar 130 in the second position 320 compared to the first position 310. The three intermediate points 315i are also in different positions relative to each other in the second position 320 compared to the first position 310. Figure 3b schematically illustrates an image 140 of an item of clothing 120 overlaid on the portion of the avatar 130 in the first position 310 and in the second position 320. The avatar 130, positions 310; 320, set points 305, and intermediate points 315 in this illustration are as those described above in relation to figure 3a. The image 140 of the item of clothing 120 is itself in the first position 310. In other words the image 140 was generated or taken based on the item of clothing 120 being arranged as if it were worn in the first position 310. As such, when the image 140 of the item of clothing 120 is displayed overlaid on the avatar 130 in the first position 310 the resulting visual effect is as if the body represented by the avatar 130 is wearing the item of clothing 120. The avatar 130 may be thought of as being in a common pose (or position) with the image 140 of the item of clothing 120. The image 140 is associated with a mesh 150. The image 140 is projected onto the mesh 150 as a texture. As such it will be understood that the mesh 150 represents the surface onto which the image 140 is projected such that by deforming the mesh 150 the displayed image 140 may also be deformed in the same manner. Such texture mapping processes would be well known to the skilled person so are not described further herein. Implementations of texture mapping can be found in the engines such as Unity discussed above and can be utilized for the present invention. It will also be understood that the mesh 150 associated with the image 140 of the item of clothing 120 is (at least initially) in the same pose or position as the item of clothing 120. As such, when the image 140 is projected (or mapped) onto the undeformed mesh 150 the image 140 is itself not distorted. In other words, the image 140 when projected onto the undeformed mesh 150 is in the first position 310 (or pose). For ease of understanding only portions of the mesh 150 are shown in figure 3b however it will be understood that the mesh 150 extends to the edges of the item of clothing 120 in the image 140. The mesh 150 is also shown as a triangular mesh, which is typically used in texture mapping. However, it will be understood that any polygonal mesh may be used. Similarly, a point cloud may be used in place of a polygonal mesh. Typically, a triangular mesh is used to enable more efficient processing of the mesh using GPU hardware. It will also be appreciated that a triangular mesh aids in smoothly morphing the image of the item of clothing, preserving the appearance of the item of clothing. As shown in figure 3b the mesh 150, being a polygonal mesh, comprises plurality of vertices. The vertices are joined by a plurality of edges. As described above, for clarity, only portions of the mesh 150 are shown and dotted lines indicated edges linking to the unseen part of the mesh 150. In this example some or all of the vertices are mesh anchor (or attachment) points. Each mesh attachment point is linked (or associated with) a set point 305 and / or an intermediate point 315. Typically, each mesh attachment point is only linked to a single point 305, 315 (whether that be a set point or intermediate point). However, it will be appreciated that a set point 305 or an intermediate point 315 may be linked to multiple mesh anchor points as described shortly below. As shown in figure 3b the mesh 150 in the second position 320 has been deformed due to the movement of the set points 305 and the intermediate points 315. In particular, the movement of each set point 305 relative to the location in the first position 310 has caused a movement of the linked mesh anchor points. Similarly, the movement of each intermediate point 315 relative to the location in the first position 310 has caused a movement of the linked mesh anchor points. The movement of the mesh anchor points has deformed the mesh 150. It will be appreciated that the deformation of the mesh 150 based on the movement of the mesh anchor points can be implemented in many different ways. For example, the mesh anchor points can be modelled as physical attachment points to the surface of the mesh and standard physicals models may be used to deform the mesh. Alternatively, one or more mesh anchor point may be linked to (or otherwise control) groups of mesh vertices and the movement of the one or more mesh anchor point may move those mesh vertices based on a predetermined relation. Typically, however, each mesh anchor point is a vertex of the mesh and the movement of the mesh anchor point may be considered a direct movement (or translation) of that vertex, as discussed in more detail shortly below. As shown in figure 3b the deformation of the mesh therefore follows the movement of the avatar 130. In particular, the mesh is lifted and compressed at the right hand bottom corner due to the movement of the set point 305i on the right edge of the hips. The movement of the intermediate points 315i across the hips also deforms the mesh allowing for the hang of the hem (or bottom) of the item of clothing 120 between the hips to be updated to the changed position of the hips. Similarly, the whole portion of mesh on the left arm 334 has been translated due to the movement of the vertices linked to the set 305 and intermediate 315 points on the left arm 334. This reflects the dropping of the left arm 334. The relative movement of the intermediate point 3152 on the left arm 334 suspended between the set points 3052 on the left arm 334 deforms the mesh 150 allowing for the hang of the cuff of the arm of item of clothing 120 between to be updated to the changed position of the left arm 334. Linking mesh anchor points with points on the avatar As described above, typically, each mesh anchor point is linked (or associated with) the nearest set 305 or intermediate 315 point. In particular, the linking (or association) is carried out based on the avatar 130 and the mesh 150 being in the same position (or pose). Usually, the mesh 150 and the avatar 130 are in the pose of the image 140 of the item of clothing 120 when determining the nearest set 305 or intermediate 315 point to each mesh anchor point. It will be appreciated that for items of clothing 120 that cover more than one body part (or region or limb) it may be advantageous to group (or partition) the mesh anchor points (or vertices) by region (or body part) covered. Similarly, it may be advantageous to group (or partition) set 305 and / or intermediate 315 points according to the part of the body where they are located. For intermediate points 315 this may be done based on the part of the body on which the respective pair of set points 305 is located. In this way when linking mesh anchor points with set 305 or intermediate 315 points it may be required that a mesh anchor point is only linked to a set 305 or intermediate 315 point that corresponds to the same part of the body as the mesh anchor point. In this way it may be ensured that mesh anchor points on the right sleeve of an item of clothing 120 are only linked to set 305 or intermediate 315 points for the right arm 332. It will be appreciated that such partitioning may not be required depending on the position (or pose) used when linking. For example, a T pose with a large number of set 305 and intermediate 315 points may provide enough separation between different parts of the body that such partitioning is not required. It will be appreciated that other variations to this linking scheme are possible. In some embodiments, mesh anchor points may be preferentially linked to intermediate points 315. A mesh anchor point may be linked with the nearest intermediate point 315, unless there is a set point 305 that is more than a threshold amount closer to the mesh anchor point than the nearest intermediate point 315. For example, when the nearest intermediate point 315 is two units away the mesh anchor point may only link with a set point 305 if it is closer than 2 — a units where a is the threshold. It will be appreciated that such thresholds may be determined in advance to optimize the display of the item of clothing 120. Additionally, or alternatively, in some embodiments a mesh anchor point may be linked with more than one set 305 and / or intermediate 315 point. Each mesh anchor point may be linked with the k nearest set 305 and / or intermediate 315 points. Again, k may be determined in advance to optimize the display of the item of clothing 120. In such a case the mesh anchor points may be updated based on an average movement (or displacement) of the k linked points. Alternatively, the mesh anchor points may be updated based on a weighted average or other combination of the k linked points. Additionally, or alternatively each set 305 and / or intermediate 315 point may carry (or be assigned) a respective weight. Such a weight may determine (or define) an area of influence surrounding the set 305 and / or intermediate 315 point. In this way any mesh anchor point within the area of influence may be linked to the respective set 305 or intermediate 315 point. Typically, such a weight may be or define a radius around the set 305 or intermediate 315 point such that any mesh anchor point within that radius is linked to the set 305 or intermediate 315 point. The weight may also determine the contribution of the set 305 or intermediate 315 point to the movement of the mesh anchor point where the mesh anchor point is linked to more than one set 305 or intermediate 315 point. The bone weight scheme implemented in Spine (ibid.) is an example of such a weighting applied to set points 305 and as such this will not be discussed herein further. Figure 3c shows an example of how mesh anchor points may be updated. Two positions 380; 390 are shown, with a pair of set points 3053;3054, an intermediate point 3154 suspended between the pair of set points 3053;3054 and three mesh anchor points 360i ;3602;3603. In the first position 380 the first set point 3053 is at coordinates (0,0), the intermediate point 3154 is at coordinate (c,d), and the second set point 3054 is at coordinate (a,b). The respective mesh anchor points 360i;3602;3603. are at coordinates (p,q), (r,s), and (u,v). In the second position 390 the first set point 3053 has not moved, the second set point has moved to (a,b’). As the intermediate point is suspended between the pair of set points, the intermediate point has also moved, and is now at (c’,d’). As set out above the mesh anchor points move based on the difference between the location of the linked set 305 (or intermediate 315) point in the new position, and the location of the set 305 (or intermediate 315) point in the position of the image 140 of the item of clothing 120. In other words the new coordinates 4' of the mesh anchor point will be A + (P' - P), where A is the coordinate vector of the mesh anchor point in the common position (or pose), P is the coordinate vector of the set 305 (or intermediate 315) point in the common position (or pose), and P' is the coordinate vector of the set 305 (or intermediate 315) point in the new position (or pose). This can also be thought of as A' = A + &P where &P is the vector between the set 305 (or intermediate 315) point in the common position (or pose) the set 305 (or intermediate 315) point in the new position (or pose. Similarly, this can also be thought of as A' = P' + C where C = A - P i.e. a constant offset defined as the vector between the mesh anchor point and the set 305 (or intermediate 315) point in the common position. As such, the mesh points in the second position 390 in the example in figure 3c would be: • (p,q) for the mesh point 360i associated with the first set point 305s (as it has not moved); • (r+c’-c,s+d’-d) for the mesh point 3602 associated with the intermediate point 3154; and • (u,v+b’-b) for the mesh point 360s associated with the second set point 3054 (as it has only moved along the y axis). It will be appreciated however that the mesh anchor points may be updated in a number of different ways based on the linked set 305 or intermediate 315 points. For example, the displacement or offset &P may be scaled by a weight of the set 305 (or intermediate 315) point (as discussed above). Additionally, or alternatively the offset may be scaled in proportion to (or as a function of) the magnitude of the offset. For example a logarithmic scaling may be used to reflect a stiffness of the item of clothing 120, where a portion of the item of clothing 120 will resist movement past a certain extent. Alternatively, a mesh anchor point may be updated as if it were connected to the set 305 (or intermediate 315) point by a spring of a given spring constant and length. These may all be thought of as constraints on mesh anchor points defined by the linked set 305 (or intermediate 315) point. It will be appreciated that images of further items of clothing 120 may be morphed and overlaid over the avatar 130 in the same way. As such the appearance of one item of clothing 120 being worn over (or partially over) another item of clothing 120 may be achieved. In some instances, and item of clothing 120 may require the appearance of being tucked into another item of clothing 120. For example, a shirt overlaid with a pair of trousers. The tails of the shirt may overlap the top of the trousers. In such cases an additional constraint may be included on the mesh anchor points of the lower (or tucked) item of clothing. In particular, the upper item of clothing may have defined a region (or area of influence) around the edge of the item. Any mesh anchor points of the lower item (or items) of clothing falling within this region and falling outside of the outline of the avatar 130 may be further moved (or constrained) to lie on the edge of the avatar 130. In this way the effect of the upper item of clothing in bringing the lower item of clothing closer to the body will be present in the displayed image. Figures 4a and 4b illustrate the effect of such a tucking constraint. In figure 4a the upper item of clothing 410 (a pair of trousers) is overlaid on a lower item of clothing 420 (a shirt). Both items of clothing are morphed according to the discussion above, but no tucking constraint has been included. As can be seen the edge of the shirt falls outside of the trousers and is visible. Also the right and left hand edges of the shirt do not match up with the trousers at the waistband. In figure 4b the same arrangement as figure 4a is shown here with the tucking constraint discussed above. The region around the trousers is shown as a dotted line. As can be seen the mesh anchor points of the shirt in this region have been constrained to be within the outline of the avatar 130. As such the shirt now appears correctly tucked into the trousers. It will be understood that the above tucking constraint can be applied iteratively to multiple overlaid layers each tucked into the one below. The tucking region can be predetermined based on the behaviour of an item of clothing 120 in the real world. For example a tight pair of trousers may have a more extensive tucking region than a loose fitting shirt cuff. In figures 4a and 4b a mesh for the avatar 130 texture is also displayed in the images but is not relevant to the present discussion. Avatars, such as the avatar 130 described herein, may be implemented using various standard 2D animation toolkits that would be known to the skilled person. For example the Spine toolkit from Esoteric Software of Tacoma, Washington, United States of America, htta: / / esoier^ may be used in conjunction with a suitable game engine (such as the Unity engine available from Unity Technologies of San Francisco, United States of America, https: / / unitY.com / , or the Unreal engine available from Epic Games of Cary, North Carolina, United States of America, https: / / www.unreatengine.com / ). Other 2D toolkits include Blender from the Blender Foundation, hKgsy / www,bIender.org / ; DragonBones Pro from Egret Technology, https: / / draqonbones.github.io / en / index.html; and so on. Such avatars 130 typically comprise what is termed a “skeleton”. The skeleton is a hierarchy of “bones”. The skeleton defines the positions of the bones and the interrelation between the bones such that when one bone is moved (e.g. to position the avatar 130) its effect on the other bones may be calculated such that the avatar 130 may be articulated as a human body. As such bones can also be points on the avatar 130. The set points 305 described above may be implemented as bones in such toolkits. Game engines, such as Unity, also provide physics models which may be used to calculate the positions of the intermediate points 315 suspended between the set points 305. For example, a virtual rope may be suspended between the set points 305 by the game engine and a bone (or intermediate point 315) may be attached to the rope. As such, the game engine may then be used to calculate the change in position of the intermediate point 315 using the standard physics model already present. It will also be appreciated that such games engines typically provide mesh implementations allowing for the movement of mesh vertices and for mesh deformation in general. Such implementations also allow for images 140 (or textures) to be projected or mapped onto the mesh 150, and morphed or deformed accordingly. As such, the invention discussed above may be implemented using the routines present in such 2D animation toolkits and game engines. Whist the discussion above has referenced the Unity and the Spine toolkit, and the examples discussed below are from an embodiment using these tools, it will be appreciated that any suitable game engine and toolkit may be used. Figure 5a shows a portion of an avatar 130 with set points 305 and intermediate points 315 in a working embodiment of the invention. This figure has been generated using the Spine toolkit and the Unity engine as described above, with annotations to aid clarity. Set points 305 are displayed as white dots and are implemented as Bones in the Spine toolkit. Intermediate points 315 are shown as black dots and are modelled in Unity as segments of rope joining pairs of set points 305 with a Bone attached to the segment of rope. Some groupings of intermediate points 315 with their respective set points 305 are shown using dashed enclosures. As can be seen a number of chains of intermediate points 315 are strung across the torso of the avatar 130. Figure 5b shows a larger portion of the avatar 130 from figure 5a with an item of clothing 120, in this case a shirt, overlaid. The item of clothing 120 and the avatar 130 are in the same pose. In this example every vertex of the mesh 150 of the item of clothing 120 is a mesh anchor point. The vertices on the portion of the mesh 150 covering the torso of the avatar 130 are shown as black circles, the others are unmarked. The intermediate points 315 and set points 305 are shown as grey squares for clarity of the figure. The dots differentiating set points 305 from intermediate points have been omitted for clarity but these set points 305 are as shown in figure 5a. Mesh 150 edges have been omitted from the figure to aid clarity. Figure 5c shows the avatar 130 and item of clothing 120 from figure 5b in a second pose (or position). As can be seen the mesh vertices have been moved due to the movement of the set 305 and intermediate 315 points. The image 140 of the item of clothing 120 has consequently been morphed (or deformed) to show it in the second pose, corresponding to that of the avatar 130. A mesh for the avatar 130 texture is also displayed in the image but is not relevant to the present discussion. Figure 6 shows a further illustration from a working embodiment of the invention. As above the figure has been generated using the Spine toolkit and the Unity engine. Figure 6 shows the avatar 130 in a first position 610 along with three items of clothing 120 overlaid on top of the avatar 130 and each other. Figure 6 also shows the avatar 130 in a second position 620. In the second position 620 the respective meshes 150 of the items of clothing 120 depicted have been deformed according to the invention as set out previously. The images 140 of the items of clothing 120 mapped to the meshes 150 have been morphed as a result, generating the depiction of the items of clothing 120 in the second position 620 as shown. It will be appreciated that the meshes 150 for the images 140 of the items of clothing 120 discussed above may be generated initially in any number of different ways. The mesh 150 may be generated automatically based on the image 140 (or its outline). The mesh 150 may be generated initially by hand or modified by hand from an automatically generated mesh. Mesh anchor points may be placed on the mesh 150 automatically or by hand. Similarly, the avatars 130 may be initially constructed by hand or using templates. Set points 305 and intermediate points 315 may be placed on the avatar 130 programmatically or by hand based on the required movement possibilities of the avatar 130. Whilst the above discussion has used avatars 130 of the human body and human items of clothing 120 it will be appreciated that the techniques described herein may be applied to avatars of animals and associated items of clothing. Equally it will be appreciated that the avatars 130 do not need to represent a real person or persons. It will be appreciated that the methods described have been shown as individual steps carried out in a specific order. However, the skilled person will appreciate that these steps may be combined or carried out in a different order whilst still achieving the desired result. It will be appreciated that embodiments of the invention may be implemented using a variety of different information processing systems. In particular, although the figures and the discussion thereof provide an exemplary computing system and methods, these are presented merely to provide a useful reference in discussing various aspects of the invention. Embodiments of the invention may be carried out on any suitable data processing device, such as a personal computer, laptop, personal digital assistant, mobile telephone, set top box, television, server computer, etc. Of course, the description of the systems and methods has been simplified for purposes of discussion, and they are just one of many different types of system and method that may be used for embodiments of the invention. It will be appreciated that the boundaries between logic blocks are merely illustrative and that alternative embodiments may merge logic blocks or elements, or may impose an alternate decomposition of functionality upon various logic blocks or elements. It will be appreciated that the above-mentioned functionality may be implemented as one or more corresponding modules as hardware and / or software. For example, the above-mentioned functionality may be implemented as one or more software components for execution by a processor of the system. Alternatively, the above-mentioned functionality may be implemented as hardware, such as on one or more field-programmable-gate-arrays (FPGAs), and / or one or more application-specific-integrated-circuits (ASICs), and / or one or more digital-signal-processors (DSPs), and / or other hardware arrangements. Method steps implemented in flowcharts contained herein, or as described above, may each be implemented by corresponding respective modules; multiple method steps implemented in flowcharts contained herein, or as described above, may be implemented together by a single module. It will be appreciated that, insofar as embodiments of the invention are implemented by a computer program, then a storage medium and a transmission medium carrying the computer program form aspects of the invention. The computer program may have one or more program instructions, or program code, which, when executed by a computer carries out an embodiment of the invention. The term “program” as used herein, may be a sequence of instructions designed for execution on a computer system, and may include a subroutine, a function, a procedure, a module, an object method, an object implementation, an executable application, an applet, a servlet, source code, object code, a shared library, a dynamic linked library, and / or other sequences of instructions designed for execution on a computer system. The storage medium may be a magnetic disc (such as a hard drive or a floppy disc), an optical disc (such as a CD-ROM, a 5 DVD-ROM or a BluRay disc), or a memory (such as a ROM, a RAM, EEPROM, EPROM, Flash memory or a portable / removable memory device), etc. The transmission medium may be a communications signal, a data broadcast, a communications link between two or more computers, etc.
Claims
1. A method of rendering an item of clothing on an avatar representing a human body, the method comprising:receiving an avatar representing a human body, the avatar comprising a plurality of avatar set points;receiving an image of the item of clothing mapped to an associated first mesh comprising a plurality of mesh anchor points;updating the avatar to a selected pose, wherein updating the avatar comprises moving one or more avatar set points;deforming the mesh according to the updated avatar, wherein the positions of one or more of the mesh anchor points are constrained by respective intermediate points linked to the one or more mesh anchor points, and wherein the position of each intermediate point is determined as a point suspended between a respective pair of avatar set points;morphing the image according to the deformed mesh and displaying the morphed image in conjunction with the updated avatar.
2. The method according to claim 1 further comprising:further updating the avatar to a second pose;further deforming the mesh according to the further updated avatar, wherein the positions of one or more of the mesh anchor points are constrained by the respective intermediate points;morphing the image according to the further deformed mesh whilst displaying the morphed image in conjunction with the further updated avatar.
3. The method according to claim 1 or 2 further comprising:receiving a second image of a second item of clothing for overlaying on the item of clothing, wherein the second image is mapped to a second associated mesh comprising a plurality of mesh anchor points;deforming the second mesh according to the updated avatar, wherein the positions of one or more of the mesh anchor points of the second mesh are constrained by respective intermediate anchor points; andmorphing the second image according to the second deformed mesh, wherein when deforming the first mesh the mesh anchor points within a predetermined distance of an edge of the second image are further constrained to be positioned within the outline of the avatar, and wherein displaying the morphed image in conjunction with the updated avatar comprises displaying the morphed second image overlaid on the morphed image.
4. The method according to any one of the preceding claims wherein the position of each intermediate point is a point on a flattened catenary curve connecting the respective pair of avatar anchor points.
5. The method according to any of claims 1 -3 wherein the position of each intermediate point is modelled as a point mass suspended between the respective pair of avatar points by a light inextensible string.6 The method according to any one of the preceding claims wherein the positions of another one or more of the mesh anchor points are constrained by a respective avatar set point linked to the another one or more mesh anchor points.
7. The method according to any one of the preceding claims wherein the mesh anchor points are vertices of the mesh.
8. The method according to any one of the preceding claims wherein deforming the mesh according to the updated avatar, comprises translating each vertex of the mesh according to the translation of the linked avatar set point or linked respective intermediate point from an initial pose and the selected pose.
9. The method according to any one of the preceding claims wherein at least one pair of avatar set points comprises a first respective avatar set point located on the left hand side of the body and a second respective avatar set point at a corresponding location on the right hand side of the body.
10. The method according to any one of the preceding claims wherein at least one pair of avatar set points comprises a first respective avatar set point located on the left hand side of a part of the body and a second respective avatar set point at a corresponding location on the right hand side of the part of the body.
11. The method according to any one of the preceding claims wherein the positions of the one or more of the mesh anchor points are constrained to be within a respective pre-determined distance of the respective linked intermediate anchor points12. The method according to claim 11 wherein the positions of the one or more of the mesh anchor points are constrained to be coincident with the linked intermediate points.
13. The method according to any one of the preceding claims wherein one or more of the mesh anchor points are located on an edge of the item of clothing in the image.
14. The method according to any one of the preceding claims wherein the mesh anchor points are linked to the respective intermediate points or respective avatar set points based on a common pose of the avatar and the image of the item of clothing.
15. The method according to claim 14 wherein each mesh anchor point is linked to the nearest respective intermediate point or respective avatar set point when the avatar is in a pose corresponding to the image of the item of clothing.5 16. An apparatus arranged to carry out a method according to any one ofclaims 1 to 15.
17. A computer program which, when executed by a processor, causes theprocessor to carry out a method according to any one of claims 1 to 15.1018. A computer-readable medium storing a computer program according to claim 17.15
Citation Information
Patent Citations
Targeted force application in clothing simulations
US20020126132A1
Apparatus and method for transferring garment draping between avatars
US20190304200A1
Hidden surface removal for layered clothing for an avatar body
WO2023064440A1
System and method for virtual fitting
US11321916B1
