Method and system for displaying size change of beads on jewelry model
By setting fixed points for beads on the jewelry model and calculating the coordinates of the spherical center after changing, the problem of excessive mold penetration and gap caused by bead size transformation in the jewelry model is solved, and the synchronous adjustment of the size change of beads and the position of the spherical center is achieved, maintaining the aesthetics and display effect.
Patent Information
- Application Number
- CN202411772599.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-05-13
AI Technical Summary
In existing jewelry models, the size change of beads is based on the center of the ball, which may lead to the mold penetration or the gap is too large, affecting the overall aesthetics and display effect.
On the jewelry model, set a fixed point located on the outside of the bead for the bead that needs to be changed in size, and bind the coordinates of the fixed point to the bead. The size change of the bead is achieved by calculating the spherical center coordinates after the change in the bead.
Through the setting of fixed points and the calculation of the spherical center coordinates, the size change of the beads can be adjusted simultaneously to avoid the mold penetration and gap too large, and to maintain the beauty and display effect of the jewelry model.
Smart Images

Figure CN119991770A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of jewelry rendering and display, and in particular to a method and system for displaying size changes of beads on a jewelry model. Background Art
[0002] In the rendering display of jewelry models, the interactive design undoubtedly provides users with a richer and more immersive experience. Among them, allowing users to change the size of beads in jewelry models is a practical and creative function. This function not only meets the needs of personalized customization, but also allows users to intuitively feel the impact of beads of different sizes on the overall jewelry design.
[0003] In existing jewelry models, the size transformation of beads is usually based on the original geometric center point (center of the sphere) as the center point of the bounding box. The bounding box is a simplified volume representation method. By scaling the beads in the same proportion based on the center of the sphere, it can ensure that the beads maintain their original shape characteristics while achieving uniform size changes. This transformation method ensures that other parts of the jewelry, such as chains and inlays, remain in place and only the size of the beads themselves is adjusted.
[0004] Although scaling based on the center of the sphere seems simple and straightforward, in practice, there may be two major challenges: mold penetration and excessive gaps. Mold penetration refers to the overlap of the edges or surfaces of the beads with other jewelry parts during the enlargement process, destroying the spatial sense and structural integrity of the original design. Conversely, when the beads are reduced, if appropriate adjustments are not made, there may be obvious gaps between them and other parts, affecting the overall aesthetic harmony and reducing the model effect of the jewelry display. Summary of the invention
[0005] In view of the problems existing in the prior art, the present invention provides a method for displaying the size changes of beads on a jewelry model, comprising:
[0006] Step S1, setting a fixed point located outside the bead for the bead that needs to change size on the jewelry model, and binding the coordinates of the fixed point to the bead;
[0007] Step S2, when the user adjusts the size of the bead, the changed radius of the bead is obtained, and the changed center coordinates of the bead are obtained according to the initial center coordinates of the bead, the initial radius, the changed radius and the coordinates of the fixed point;
[0008] Step S3, showing the bead with the changed radius to the user with the changed spherical center coordinates as the spherical center.
[0009] Preferably, the fixing point is arranged on the tray of beads.
[0010] Preferably, during the jewelry model building process, the beads are wrapped by the tray and are independent of other components on the jewelry model except the tray.
[0011] Preferably, in step S2, the calculation formula of the changed spherical center coordinates is as follows:
[0012]
[0013] Among them, (xo2, yo2, zo2) are the coordinates of the center of the sphere after the change, (x1, y1, z1) are the coordinates of the fixed point, (x2, y2, z2) are the initial coordinates of the center of the sphere, r1 is the initial radius, and r2 is the radius after the change.
[0014] Preferably, in step S2, the user adjusts the size of the bead according to a preset step length based on the initial radius, and the changed radius is calculated based on the initial radius and the preset step length.
[0015] The present invention also provides a system for displaying the size changes of beads on a jewelry model, which uses the above-mentioned method for displaying the size changes of beads, and comprises:
[0016] An editor, connected to the server, for allowing designers to set fixed points outside beads that need to be sized on the jewelry model, and bind the coordinates of the fixed points to the beads and upload them to the server;
[0017] A client is connected to the server, and the client includes:
[0018] An interactive interface for allowing a user to adjust the size of the beads;
[0019] A size adjustment module, connected to the interactive interface, for obtaining the changed radius of the bead when the user adjusts the size of the bead, and reading the coordinates of the corresponding fixed point from the server, and then obtaining the changed center coordinates of the bead according to the initial center coordinates of the bead, the initial radius, the changed radius and the coordinates of the fixed point;
[0020] The interactive interface is also used to display the bead with the changed radius to the user with the changed spherical center coordinates as the spherical center.
[0021] Preferably, the fixing point is arranged on the tray of beads.
[0022] Preferably, during the jewelry model building process, the beads are wrapped by the tray and are independent of other components on the jewelry model except the tray.
[0023] Preferably, the calculation formula of the coordinates of the sphere center after the change is as follows:
[0024]
[0025] Among them, (xo2, yo2, zo2) are the coordinates of the center of the sphere after the change, (x1, y1, z1) are the coordinates of the fixed point, (x2, y2, z2) are the initial coordinates of the center of the sphere, r1 is the initial radius, and r2 is the radius after the change.
[0026] Preferably, a size adjustment button is provided on the interactive interface, and the user adjusts the size of the bead by clicking the size adjustment button, and each time the size adjustment button is clicked, the size of the bead is adjusted according to a preset step length;
[0027] The size adjustment module calculates the changed radius according to the initial radius and the preset step length.
[0028] The above technical solution has the following advantages or beneficial effects: by setting a fixed point for the bead, when the size of the bead changes, the coordinates of the center of the bead after the change can be calculated relative to the fixed point, that is, the size of the bead and the position of the center of the bead change synchronously, rather than just the size of the bead changing. After the size of the bead changes, the bead will not penetrate the mold or produce a large gap, and can maintain a suitable and beautiful spacing with other parts on the jewelry model, without affecting the display effect of the jewelry model. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic flow chart of a method for displaying the size change of beads on a jewelry model in a preferred embodiment of the present invention;
[0030] Figure 2 The figure is a schematic diagram of the structure of a system for displaying the size changes of beads on a jewelry model in a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0031] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The present invention is not limited to this embodiment, and other embodiments may also fall within the scope of the present invention as long as they conform to the gist of the present invention.
[0032] In a preferred embodiment of the present invention, based on the above problems existing in the prior art, a method for displaying the size changes of beads on a jewelry model is provided. Figure 1 As shown, including:
[0033] Step S1, setting a fixed point located outside the bead for the bead that needs to be changed in size on the jewelry model, and binding the coordinates of the fixed point to the bead;
[0034] Step S2, when the user adjusts the size of the bead, the changed radius of the bead is obtained, and the changed center coordinates of the bead are obtained according to the initial center coordinates of the bead, the initial radius, the changed radius and the coordinates of the fixed point;
[0035] Step S3, showing the bead with the changed radius to the user with the changed spherical center coordinates as the spherical center.
[0036] Specifically, in this embodiment, it is necessary to set fixed points in advance for beads that need to change in size on the jewelry model. The fixed points are located outside the beads. For example, the fixed point is point O and the center of the bead is point P. Connecting point O and point P will have an intersection point C with the boundary of the bead. The purpose of setting the fixed points is to keep the ratio of the fixed point to the center of the bead and the radius unchanged, that is, when OC, that is, the radius of the bead, changes, the ratio of OC to OP remains unchanged, and then after the size of the bead changes, the bead will not penetrate the mold or produce a large gap, and can maintain a suitable and beautiful spacing with other parts on the jewelry model, and will not affect the display effect of the jewelry model.
[0037] Specifically, in the actual design process, for the beauty of the jewelry model, a tray is designed to wrap and decorate the beads when the jewelry model is built. The tray is generally an arc-shaped surface, presenting a visual state of fitting the outer wall of the beads, and each bead tray is independent. In actual application scenarios, the size of the beads varies within a certain range, but the part of the tray closest to the beads is most affected by the size change of the beads. The role of the fixed point is to reduce the impact of the beads on the objects closest to them when the size changes. Therefore, the fixed point is preferably set on the bead tray, which can greatly ensure that the beads will not overlap with the tray when the size changes, and can also ensure beauty.
[0038] In a preferred embodiment of the present invention, during the jewelry modeling process, the beads are wrapped by the tray and are independent of other components on the jewelry model except the tray.
[0039] Specifically, in this embodiment, for a jewelry model containing beads, the beads are generally isolated during design. During the jewelry model modeling process, the beads are highlighted, and it is easy to spatially divide the beads from other parts of the jewelry model because the beads are embellishments and protrusions. In this case, the object that can be connected to the beads on the jewelry model is the curved tray. Because the tray is a curved surface that wraps the beads, the center of the ball and the radius change synchronously according to the proportion, which can ensure that the position of the beads is appropriate at the beginning, and no subsequent changes will affect it. In other words, the radius of the bead is changing, and the center of the ball is also changing, rather than the center of the ball remaining unchanged and only the radius changing. Therefore, there will be no penetration of the mold due to the increase in the size of the bead, or a large gap between the bead and other parts on the jewelry model, especially the tray, due to the decrease in the size of the bead, which will affect the display effect of the jewelry model.
[0040] In a preferred embodiment of the present invention, in step S2, the calculation formula of the changed spherical center coordinates is as follows:
[0041]
[0042] Among them, (xo2, yo2, zo2) are the coordinates of the center of the sphere after the change, (x1, y1, z1) are the coordinates of the fixed point, (x2, y2, z2) are the initial coordinates of the center of the sphere, r1 is the initial radius, and r2 is the radius after the change.
[0043] Specifically, in this embodiment, the fixed point is still taken as point O, and the center of the bead is point P. Connecting point O and point P will have an intersection point C with the boundary of the bead. When the jewelry model is designed, the coordinates of the initial center of the bead point P are the initial center coordinates (x2, y2, z2), and the coordinates of the fixed point O are (x1, y1, z1). Then (x2-x1, y2-y1, z2-z1) represents the OP vector, which characterizes the relative position of the center of the bead and the fixed point when the bead has not changed in size. The relative position here includes not only the relative distance but also the relative direction. When the size of the bead changes later, the relative distance can be adjusted in this relative direction to achieve synchronous changes in the radius and the center position. Before and after the size of the bead is adjusted, the ratio of OC to OP remains unchanged, so that the bead can maintain a suitable and beautiful spacing with other parts on the jewelry model after the size changes.
[0044] In a preferred embodiment of the present invention, in step S2, the user adjusts the size of the bead according to a preset step length based on the initial radius, and the radius after the change is calculated based on the initial radius and the preset step length.
[0045] Specifically, in this embodiment, the preset step size here can be configured according to design requirements. For example, if the preset step size is a, the changed radius = initial radius + ka, where k represents the number of adjustments, and a can be a positive value, indicating an increase in size, or a negative value, indicating a decrease in size.
[0046] The present invention also provides a system for displaying the size changes of beads on a jewelry model, which uses the above-mentioned method for displaying the size changes of beads, such as Figure 2 As shown, including:
[0047] Editor 1, connected to server 2, is used for designers to set fixed points outside beads for beads that need to be changed in size on the jewelry model, and bind the coordinates of the fixed points to the beads and upload them to server 2;
[0048] Client 3, connected to server 2, client 3 includes:
[0049] An interactive interface 31, for allowing the user to adjust the size of the beads;
[0050] The size adjustment module 32 is connected to the interactive interface 31 and is used to obtain the changed radius of the bead when the user adjusts the size of the bead, and read the coordinates of the corresponding fixed point from the server, and then obtain the changed center coordinates of the bead according to the initial center coordinates of the bead, the initial radius, the changed radius and the coordinates of the fixed point;
[0051] The interactive interface 31 is also used to display a bead with a changed radius to the user with the changed spherical center coordinates as the spherical center.
[0052] Specifically, in this embodiment, the editor 1 is preferably used by designers, and an adaptive switch and an edit button are preferably provided on the editing interface of the editor 1. When the adaptive switch is turned on, it indicates that fixed points can be set.
[0053] More specifically, when the adaptive switch is turned on, only the model of the beads on the jewelry model does not change in material, and the materials of other parts on the jewelry model become transparent, making it convenient for designers to select beads.
[0054] Among them, there can be one or more beads on the jewelry model. On the basis of turning on the above-mentioned adaptive switch, the designer can set fixed points for one or more beads as needed. After selecting a certain bead, other beads become unselectable. At this time, you can click the edit button on the editing interface of editor 1 to set the fixed point. Since in the actual operation process, the ray detection cannot interact with the beads, here you can click other positions on the jewelry model with the mouse, and generate a fixed position on the tray through ray detection, which is the position of the fixed point. Finally, confirm and save, and then bind the coordinates of the fixed point to the corresponding beads and upload them to server 2 for storage, which is convenient for subsequent calls.
[0055] It can be understood that all the coordinates mentioned above are in the same coordinate system, and the coordinate system here can be a right-handed coordinate system.
[0056] The client 3 is preferably for viewing by users, where the user can be a designer or a customer. When the user needs to adjust the size of a bead, the user can perform corresponding operations on the interactive interface 31 of the client 3. In a preferred embodiment of the present invention, a size adjustment button 311 is provided on the interactive interface 31. The user adjusts the size of the bead by clicking the size adjustment button 311, and each time the size adjustment button 311 is clicked, the size of the bead is adjusted according to a preset step length;
[0057] The size adjustment module 32 calculates the changed radius according to the initial radius and the preset step length.
[0058] Among them, the above-mentioned size adjustment button 311 preferably has two adjustment buttons, one of which is a size increase button, and the other is a size decrease button. Each time the user clicks the size increase button, the radius of the bead increases by a preset step size based on the initial radius, and each time the user clicks the size decrease button, the radius of the bead decreases by a preset step size based on the initial radius. The preset step size here can be pre-set by the designer to limit the adjustment accuracy by the preset step size.
[0059] Client 3 can obtain the changed radius of the bead based on the user's click operation. The initial radius and initial center coordinates of the bead before the size change are known. By reading the coordinates of the fixed point to which the bead is bound, the changed center coordinates of the bead after the size change can be calculated, and then the bead with the changed radius can be displayed at the changed center coordinates.
[0060] In a preferred embodiment of the present invention, the fixing point is arranged on the tray of beads.
[0061] In a preferred embodiment of the present invention, during the jewelry modeling process, the beads are wrapped by the tray and are independent of other components on the jewelry model except the tray.
[0062] In a preferred embodiment of the present invention, the calculation formula of the changed spherical center coordinates is as follows:
[0063]
[0064] Among them, (xo2, yo2, zo2) are the coordinates of the center of the sphere after the change, (x1, y1, z1) are the coordinates of the fixed point, (x2, y2, z2) are the initial coordinates of the center of the sphere, r1 is the initial radius, and r2 is the radius after the change.
[0065] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of this specification and illustrations should be included in the protection scope of the present invention.
Claims
1. A method for displaying the size change of beads on a jewelry model, characterized in that: include: Step S1, setting a fixed point located outside the bead for the bead that needs to change size on the jewelry model, and binding the coordinates of the fixed point to the bead; Step S2, when the user adjusts the size of the bead, the changed radius of the bead is obtained, and the changed center coordinates of the bead are obtained according to the initial center coordinates of the bead, the initial radius, the changed radius and the coordinates of the fixed point; Step S3, showing the bead with the changed radius to the user with the changed spherical center coordinates as the spherical center.
2. The method for displaying bead size changes according to claim 1, characterized in that: The fixing point is arranged on the tray of beads.
3. The method for displaying bead size changes according to claim 2, characterized in that: During the jewelry modeling process, the beads are wrapped by the tray and are independent of other components on the jewelry model except the tray.
4. The method for displaying bead size changes according to claim 1, characterized in that: In step S2, the calculation formula of the changed sphere center coordinates is as follows: Among them, (xo2, yo2, zo2) are the coordinates of the center of the sphere after the change, (x1, y1, z1) are the coordinates of the fixed point, (x2, y2, z2) are the initial coordinates of the center of the sphere, r1 is the initial radius, and r2 is the radius after the change.
5. The method for displaying bead size changes according to claim 1, characterized in that: In the step S2, the user adjusts the size of the bead according to a preset step length based on the initial radius, and the changed radius is calculated based on the initial radius and the preset step length.
6. A system for displaying the size changes of beads on a jewelry model, characterized in that: The method for displaying the change in bead size as claimed in any one of claims 1 to 5 comprises: An editor, connected to the server, for allowing designers to set fixed points outside beads that need to be sized on the jewelry model, and bind the coordinates of the fixed points to the beads and upload them to the server; A client is connected to the server, and the client includes: An interactive interface for allowing a user to adjust the size of the beads; A size adjustment module, connected to the interactive interface, for obtaining the changed radius of the bead when the user adjusts the size of the bead, and reading the coordinates of the corresponding fixed point from the server, and then obtaining the changed center coordinates of the bead according to the initial center coordinates of the bead, the initial radius, the changed radius and the coordinates of the fixed point; The interactive interface is also used to display the bead with the changed radius to the user with the changed spherical center coordinates as the spherical center.
7. The bead size change display system according to claim 6, characterized in that: The fixing point is arranged on the tray of beads.
8. The bead size change display system according to claim 7, characterized in that: During the jewelry modeling process, the beads are wrapped by the tray and are independent of other components on the jewelry model except the tray.
9. The bead size change display system according to claim 6, characterized in that: The calculation formula of the spherical center coordinates after the change is as follows: Among them, (xo2, yo2, zo2) are the coordinates of the center of the sphere after the change, (x1, y1, z1) are the coordinates of the fixed point, (x2, y2, z2) are the initial coordinates of the center of the sphere, r1 is the initial radius, and r2 is the radius after the change.
10. The bead size change display system according to claim 6, characterized in that: A size adjustment button is provided on the interactive interface, and the user adjusts the size of the bead by clicking the size adjustment button, and each time the size adjustment button is clicked, the size of the bead is adjusted according to a preset step length; The size adjustment module calculates the changed radius according to the initial radius and the preset step length.