System and method for modeling object movement
Abstract
A method and device for modeling and displaying a virtual jewelry object is disclosed. The method includes, receiving, by a device, a jewelry object, the jewelry object being defined as a set of components, each component being defined by component-type, size, shape, pixel info, orientation, and at least one constraint point, associating constraint points among components of the jewelry object, assessing processing capabilities of the device, monitoring gravity direction in relation to the device, monitoring tilt of the device using a gyroscope sensor and an accelerometer, calculating position and orientation of the components of the jewelry object based upon the monitored gravity direction, the monitored tilt, a friction constant, and the constraint points, and iteratively, displaying the components of the jewelry object at the calculated position and orientation.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1. A method for modeling and displaying a virtual jewelry object, the method comprising:
receiving, by a device, a jewelry object, the jewelry object being defined as a set of components, each component being defined by component-type, size, shape, pixel info, orientation, and at least one constraint point;
associating constraint points among components of the jewelry object;
assessing processing capabilities of the device;
monitoring gravity direction in relation to the device;
monitoring tilt of the device using a gyroscope sensor and an accelerometer;
calculating position and orientation of the components of the jewelry object based upon the monitored gravity direction, the monitored tilt, a friction constant, and the constraint points; and
iteratively, displaying the components of the jewelry object at the calculated position and orientation.
2. The method of claim 1 , wherein the position and orientation of the components is calculated, in part, based upon an inverse of Hooke's Law.
3. The method of claim 2 , wherein the constraint point is a linked position of a first component to a second component.
4. The method of claim 2 , wherein the constraint point is a pixel location a predefined distance from a component to component linked position.
5. The method of claim 2 , wherein the inverse of Hooke's law is applied iteratively until contributing a value under a predefined threshold.
6. The method of claim 2 , further comprising: further calculating the position and orientation of the components based upon momentum.
7. The method of claim 6 , further comprising: further calculating the position and orientation of the components based upon an elapsed time, which is a function of the iteration duration.
8. The method of claim 2 , wherein the calculating the position and the orientation of the components of the jewelry object is executed at a lower quantity per second when the assessing processing capabilities of the device are less than a predefined metric and executed at a higher quantity per second when the assessing processing capabilities of the device are greater than a second predefined metric.
9. The method of claim 8 , wherein the assessing processing capabilities of the device are executed based upon an elapsed time a series of graphic calculations is executed by the device.
10. The mobile device of claim 8 , wherein the assess processing capabilities of the device are executed based upon an elapsed time a series of graphic calculations is executed by the device.
11. The method of claim 2 , further comprising:
associating at least one component with an additional constraint to inhibit movement of the at least one component outside of the additional constraint; and
adjusting the additional constraint in a predefined sequence.
12. A mobile device comprising:
an accelerometer and gyroscope to detect an extent to which the mobile device is tilted relative to a direction of gravity;
a gyroscope to detect an extent to which the mobile device is tilted unrelated to the direction of gravity; and
processing circuitry comprising one or more processors and memory storing instructions,
wherein execution of the instructions by the processing circuitry causes the apparatus to:
receive, by a device, a jewelry object, the jewelry object being defined as a set of components, each component being defined by component-type, size, shape, pixel info, orientation, and at least one constraint point;
associate constraint points among components of the jewelry object;
assess processing capabilities of the device;
monitor gravity direction in relation to the device;
monitor tilt of the device;
calculate position and orientation of the components of the jewelry object based upon the monitored gravity direction, the monitored tilt, a friction constant, and the constraint points; and
iteratively, display the components of the jewelry object at the calculated position and orientation.
13. The mobile device of claim 12 , wherein the position and orientation of the components is calculated, in part, based upon an inverse of Hooke's Law.
14. The mobile device of claim 13 , wherein the constraint point is a linked position of a first component to a second component.
15. The mobile device of claim 13 , wherein the constraint point is a pixel location a predefined distance from a component to component linked position.
16. The mobile device of claim 13 , wherein the inverse of Hooke's law is applied iteratively until contributing a value under a predefined threshold.
17. The mobile device of claim 13 , wherein the calculated position and orientation of the components is further calculated based upon momentum.
18. The mobile device of claim 17 , wherein the calculated position and orientation of the components is further calculated based upon an elapsed time, which is a function of the iteration duration.
19. The mobile device of claim 13 , wherein the calculate the position and the orientation of the components of the jewelry object is executed at a lower quantity per second when the assessing processing capabilities of the device are less than a predefined metric and executed at a higher quantity per second when the assessing processing capabilities of the device are greater than a second predefined metric.
20. A mobile device comprising:
an accelerometer and gyroscope to detect an extent to which the mobile device is tilted relative to a direction of gravity;
a gyroscope to detect an extent to which the mobile device is tilted unrelated to the direction of gravity; and
processing circuitry comprising one or more processors and memory storing instructions,
wherein execution of the instructions by the processing circuitry causes the apparatus to:
receive, by a device, a jewelry object, the jewelry object being defined as a set of components, each component being defined by component-type, size, shape, pixel info, orientation, and at least one constraint point;
associate constraint points among components of the jewelry object;
assess processing capabilities of the device;
monitor gravity direction in relation to the device;
monitor tilt of the device;
iteratively calculate position and orientation of the components of the jewelry object using an inverse of Hooke's law having a force variable, wherein the force variable is calculated based upon the monitored gravity direction, the monitored tilt, a friction constant for each of the constraint points; and
iteratively, display the components of the jewelry object at the calculated position and orientation.
21. The mobile device of claim 20 , wherein the calculate the position and the orientation of the components of the jewelry object is executed at a lower quantity per second when the assessing processing capabilities of the device are less than a predefined metric and executed at a higher quantity per second when the assessing processing capabilities of the device are greater than a second predefined metric.Join the waitlist — get patent alerts
Track US10269162B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.