Simulation method for 3D (three-dimensional) rope

A rope, 3D technology, applied in the field of software applications, can solve the problems of strange vision and lack of planning for the overall shape of the rope, and achieve the effect of simplifying the number

Inactive Publication Date: 2015-04-29
FUJIAN UNIV OF TECH
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of the present invention is to provide a simulation method for 3D ropes, which solves the problems that the number of triang...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Simulation method for 3D (three-dimensional) rope
  • Simulation method for 3D (three-dimensional) rope
  • Simulation method for 3D (three-dimensional) rope

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0027] refer to figure 1 ,Such as figure 1 Shown, a kind of method of 3D rope simulation of the present invention comprises the following steps:

[0028] a) Initialization of 3D rope, including the following steps, refer to figure 2 ;

[0029] Step 1), add a vertex before the start node and after the end node where the unit length is 1, and then use the spline curve Catmull-Rom Splines formula, the start node and the end node before the rope initialization Smoothly insert N nodes of unit length between two vertices;

[0030] Step 2), the overall shape control of the rope, divides the whole rope into several sub-ropes, and then adopts segment adjustment; the rope segment is identified by the inflection point of curvature, once...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a simulation method for a 3D (three-dimensional) rope. The simulation method comprises the following steps: (a) initializing the 3D rope; (b) performing rope attribute configuration, and performing configuration adjustment on attributes of the rope, wherein the configuration adjustment comprises hanging part loading or unloading; (c) generating all nodes after the rope attribute configuration is ended; initializing a network, and then, updating the network wherein the step of initializing the network comprises the flows of initializing a rope node renderer so as to load a resource file; (d) then, start updating the physical attribute variable of the 3D rope, wherein the step of updating the physical attribute variable of the 3D rope concretely comprises the flows of adding rigid body attribute for each node of the rope, adding a configurable joint for each node, and adding a capsule collider for each node. According to the simulation method disclosed by the invention, the integral shape of the rope is controlled by applying the Catmull-Rom Splines curve and the Bezier curve, and moreover, the extension change of the rope is realized by controlling the length of each node and the number of the nodes, and therefore the number of triangles is reduced.

Description

technical field [0001] The invention relates to a technical field of software application. Specifically, the invention designs a 3D rope simulation method applied to mobile games. Background technique [0002] Introduction to 3D Rope Simulation [0003] Mainly used in mechanics and 3D games. Among them, the simulation of 3D rope was initially implemented by independent codes used by game developers. Later, some developers packaged and sold the relatively well-written codes, and published them on the Internet in the form of resource plug-ins. [0004] Introduction to Unity3D Game Development Engine [0005] Unity3D is currently the most popular game development tool, it is a professional game engine developed by Unity Technologies. It is characterized by high development efficiency, cross-platform and support for multiple art resource file formats. At present, this product has a market share of more than 50% in the iPhone game market. [0006] The main products of 3D sim...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44G06T17/00
Inventor 陈乐陈晶晶王文杰王晨阳刘经纬
Owner FUJIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products