UDK Performance Optimization

Source: Internet
Author: User

Transferred from: http://www.cnblogs.com/NEOCSL/p/3320510.html

There are many things to be said about the optimization problem. Today I summarize the areas of optimization attention.

1. Speaking from Animtree and Skeletalmesh

Regardless of whether any actor,tick is the most cost-consuming factor. From an animated point of view, a process that involves execution is tick. However, when it is not done, turn it off as much as possible.

The first thing to consider is not to update the model animations you don't need, follow these:

① hides the unwanted models, such as when you set up a stage in matinee to play a cinematic cut, and finally all the actors hidden

② as much as possible bupdateskelwhennotrendered=false meaning is updated when not rendering it? Of course it's set to false. Why do I have to update it if you don't even render it? But note that this can be an error, usually when the pawn may have a skeletal animation. This option is usually false, so you don't have to worry about it.

To solve the problem of rendering, let's worry about the efficiency of animation execution.

① as much as possible in the Animtree do not perform more semi-mixed animation, CPU full weight animation node is very efficient

② as much as possible to simplify Animtree, Utpawn's tree is very scary. The more nodes you have, the more ticks you have. Animnodeslot is a great way to do animations with as few nodes as possible.

③ sets the attribute bskiptickwhenzeroweight of node to true. This also subtracts the pain of the tick when the non-100% weights are mixed.

④ If bupdateskelwhennotrendered cannot be set to False, the Sklecontrols setting is bignorewhennotrendered

⑤ set the bforcelocalspaceblend=true in Animnodeblendperbones. For CPU

Several other items

① draw as little meshes as possible. For example, don't draw the gun on the back.

② Reducing Bones

③ will Brorcerefpose=true

④ use animnodeslots as much as possible to solve all problems, the war machine tumbling up, take Cover, the gun is so come playcustomanim

UDK Performance Optimization

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.