A method of controller enhancement ghosting

By creating a ghosting effect of a specified shape for the controller in Maya software, the problem of not being able to display motion trajectories in existing technologies is solved, achieving the effect of simplifying the production process and saving time.

CN116309088BActive Publication Date: 2026-04-17YHKT ENTERTAINMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
YHKT ENTERTAINMENT CO LTD
Filing Date
2022-09-09
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

The existing ghosting feature in Maya software cannot display the motion trajectory and frequency of object models, which increases the difficulty and time required for production.

Method used

By acquiring data from the controller, it is determined whether a ghost image has been created. If not, a ghost image of a specified shape is created for the controller. World coordinate data is recorded through the controller's movement trajectory and keyframes to form a specific motion trajectory display.

Benefits of technology

It enables the intuitive display of the motion trajectory and frequency of object models in Maya scenes, reducing production difficulty and saving production time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116309088B_ABST
    Figure CN116309088B_ABST
Patent Text Reader

Abstract

This invention discloses a method for enhancing ghosting in controllers. The process involves: acquiring an asset file; selecting the controller from the asset file to which ghosting needs to be added; determining whether the controller has already had ghosting created; if not, creating a ghost of a specified shape for the controller and setting the corresponding attribute values. This invention reduces the difficulty of achieving this effect, lowers the technical requirements for the producer, simplifies the process, saves production time, and reduces the overall production time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of 3D asset production technology, specifically relating to a method for enhancing ghosting with a controller. In particular, it relates to the process of creating animations using Maya software, where production technicians need to preview whether the motion trajectory and motion frequency of a specified object model are consistent with the expected camera movement. This method can intuitively display the motion trajectory and motion frequency of the object model. Background Technology

[0002] Maya's original ghosting feature could only add ghosting shapes that matched the selected object model, and the generated ghosting would move and transform along with the target model, rather than being displayed as a specific motion trajectory. Therefore, it could not display the motion trajectory and frequency of the object model. Summary of the Invention

[0003] The purpose of this invention is to address the shortcomings of the aforementioned background technology and provide a method for enhancing ghosting in a controller.

[0004] The technical solution adopted in this invention is: a method for enhancing ghosting with a controller, comprising the following steps:

[0005] Obtain the asset file, and select the controller from the asset file from which you want to add ghosting;

[0006] Determine whether the controller has already created a ghost image.

[0007] If not created, then create a ghost image of the specified shape for the controller;

[0008] The process of creating a ghost image of a specified shape is as follows: according to the movement position of the controller, create a corresponding block model of a specified shape in sequence, move the block model to the child level of the controller, constrain the controller and the block, and set the attribute values ​​of the corresponding properties of the block model.

[0009] Furthermore, the selected model data is obtained from the asset file, the obtained model data is filtered, the attributes of the selected object are queried, and the selected object is determined as a controller based on the attributes.

[0010] Furthermore, the process of determining whether the controller has created a ghost image is as follows: based on the controller's name, query whether the controller has a child model node whose name contains the specified character. If it exists, then a ghost image has been created; if it does not exist, then a ghost image has not been created.

[0011] Furthermore, the process of determining the moving position is as follows:

[0012] The movement trajectory of the calibrated controller is used to control the movement of the controller and keyframes are added based on the movement trajectory.

[0013] The xyz axis values ​​of the controller are determined based on the key frames;

[0014] When the controller moves, the world coordinate data at each change of the controller is obtained based on the changes in the xyz axis values, and the world coordinate data is the moving position.

[0015] Furthermore, the specified ghosting pattern is a calibrated block model.

[0016] Furthermore, after creating the ghost image, you can set its start and end positions, and then view the motion trajectory and frequency of the animation based on the created ghost image by clicking the play button or sliding the timeline slider.

[0017] The beneficial effects of this invention are as follows:

[0018] This invention creates a motion trajectory of a model in a Maya scene file by passing through several specified shapes of ghosting based on the movement position of the controller. This reduces the difficulty of achieving motion trajectory effects, lowers the technical requirements for the producer, simplifies the process of achieving this effect, saves production time, and reduces the overall production time.

[0019] The invention chooses a controller to create ghosting because the controller is the object that controls the movement and transformation of the target model, and can more conveniently display the motion trajectory and frequency.

[0020] The purpose of filtering and judging the selected model data in this invention is to determine whether the selected object is a controller, not a model.

[0021] The invention creates a specified form of ghosting to facilitate the differentiation of ghosting from other models in the Maya scene. It can be modified into other forms of ghosting according to actual needs. Attached Figure Description

[0022] Figure 1 This is a schematic diagram of the process of the present invention. Detailed Implementation

[0023] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings. It should be noted that these descriptions are for the purpose of aiding understanding the present invention, but do not constitute a limitation thereof. Furthermore, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0024] like Figure 1 As shown, the present invention provides a method for enhancing ghosting with a controller, comprising the following steps:

[0025] S001 receives the input asset file, which contains data information such as the model, model material files, and camera from the Maya scene file. The controller controls the model, controlling the curves, circles, or other linear objects that change the model's motion. The model creation process is standardized, meaning the controller controls the model's motion transformations.

[0026] To determine if there is a selected model object, select the controller of the model to be operated on. Specifically, obtain the selected model data, filter the obtained model data, query whether the selected model data is a controller, and query the attributes of the selected model data. If the child node type in the attribute is "nurbsCurve", it is determined to be a controller; otherwise, it is a model.

[0027] S002 retrieves data from the selected controller. It then checks if a ghost image has already been created based on the retrieved data. If it has already been created, a ghost image will not be created again. The controller and the ghost image have a constraint relationship; moving the controller causes the ghost image to move with it. Therefore, after retrieving the controller data, it checks if the controller's name contains a child model node with a specified character in its name. If it does, a ghost image has already been created; otherwise, it has not been created.

[0028] S003 creates a ghost image of a specified shape for controllers that have not yet been created. Based on the controller's movement position, it sequentially creates a model (block) of the corresponding specified shape, moves the created block model to a child of the controller, and constrains the controller and the block. This forms a specific shape display of the model's motion trajectory in the Maya scene file. Then, it sets the corresponding attribute values ​​to control the display effect of the ghost image. Enhanced ghost images are added to display in the specified model shape for easy differentiation from the selected controller's shape.

[0029] The process for determining the movement position of the controller is as follows:

[0030] The movement trajectory of the calibrated controller is used to control the movement of the controller and key frames are added, so that the displacement changes of the controller are recorded.

[0031] The xyz axis values ​​of the controller are determined based on the key frames;

[0032] When the controller moves, the world coordinate data at each change of the controller is obtained based on the changes in the xyz axis values, and the world coordinate data is the moving position.

[0033] This method creates a ghost image with a square shape. The shape of the ghost image specified in this method can be changed to other shapes later according to actual needs to achieve the desired display effect.

[0034] S004 sets the start and end frames for creating ghosting. If no frames are set, the default start and end frames displayed on the timeline are used to set the start and end positions of the selected controller's ghosting.

[0035] S005 allows users to view the ghosting created for the selected controller to display the animation's trajectory by sliding the slider on the timeline or clicking the animation play button.

[0036] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Contents not described in detail in this specification belong to prior art known to those skilled in the art.

Claims

1. A method of controller ghosting enhancement, characterized by, Includes the following steps: Obtain the asset file, and select the controller from the asset file from which you want to add ghosting; Determine whether the controller has already created a ghost image; if not, create a ghost image of a specified shape for the controller. The process of creating a ghost image of a specified shape is as follows: according to the movement position of the controller, a corresponding block model of a specified shape is created in sequence. The block model is moved to the child level of the controller. The controller and the block are constrained, thereby forming a motion trajectory of a specific shape display model in the Maya scene file. The attribute values ​​of the corresponding properties of the block model are set to control the display effect of creating the ghost image. The process of determining whether the controller has created a ghost image is as follows: based on the controller's name, query whether the controller has a child model node whose name contains the specified character. If it exists, the ghost image has been created; if it does not exist, the ghost image has not been created.

2. The method for enhancing ghosting with a controller according to claim 1, characterized in that: Retrieve the selected model data from the asset file, filter the retrieved model data, query the attributes of the selected model data, and determine whether the selected model data is a controller based on the attributes.

3. The method of controller ghosting enhancement according to claim 1, wherein: The process of determining the moving position is as follows: The movement trajectory of the calibrated controller is used to control the movement of the controller and keyframes are added based on the movement trajectory. The xyz axis values ​​of the controller are determined based on the key frames; When the controller moves, the world coordinate data at each change of the controller is obtained based on the changes in the xyz axis values, and the world coordinate data is the moving position.

4. The method of controller ghosting enhancement according to claim 1, wherein: The specified ghosting pattern is a calibrated block model.

5. The method of controller ghosting enhancement according to claim 1, wherein: After creating the ghost image, set its start and end positions. You can then view the motion trajectory and frequency of the animation based on the created ghost image by clicking the play button or sliding the timeline slider.