In-depth analysis on the scaling unit of the unity3d import 3dmax Model

Source: Internet
Author: User

Http://blog.dou.li/unity3d-import-3dmax-model-scale.html

"The unity3d model imported into 3dmax has a scaling ratio of 100 times." You have heard of unity3d models.

    1. How can I ensure that the 1 m created in 3dmax is 1 m after unity3d is imported?
    2. Why is there a scaling problem of 100 times?
How can I ensure that the 1 m created in 3dmax is 1 m after unity3d is imported? 3dmax unit settings

English version

Chinese Version

After setting according to the above unit, each grid size is 0.1m. To create a 1 M model, take up 10 grids. The following is a 1 m box:

After the above settings, the 1 m imported to unity3d in 3dmax is also 1 M. Continue to analyze the cause

Why is there a scaling problem of 100 times?

Before explaining this question, I would like to clarify several concepts

What is the relationship between 3dmax "display unit" and "system unit "?

Display Unit:Determines the size unit used for the display of the 3dmax main panel. The following is the case when it is set to "Centimeter" and "meter" respectively.


You do not need to care about the value. Check the unit cm and m behind the value. This is the setting of the display unit.

System Unit:Together with "Display Unit", the unit value recorded during the final storage (for the time being, it is also called "storage unit ).
Storage unit = display unit/System Unit
Make a 1 m box: When the display unit is set to 1 m, the system unit is 1 m storage unit is 1, the system unit is 1 cm storage unit is 100
Make a 1cm box: When the display unit is set to 1cm, the system unit is 1 cm, the storage unit is 1, and the system unit is 0.1.
Make a 1 m box: When the display unit is set to 1cm, the system unit is 1 cm, the storage unit is 100, and the system unit is 0.1.

How does "display unit" and "system unit" affect the unity3d import?

As mentioned above, "storage units" will eventually be recorded in the model file. During unity3d import, the model will be displayed in a ratio of "1 storage unit = 1 MB". Two groups of data are shown:

 
Display Unit 1 m, System Unit 1 m, storage unit 1, unity3d display 0.01m display unit 1 m, System Unit 1 cm, storage unit 100, unity3d display 1 m

Isn't it "1 storage unit = 1 m"? How can it be reduced by 100 times?
Check the default settings of the unity3d import model.

Because it is 0.01, the model imported into unity3d is reduced by 100 times by default.
To make the Model exported by 3dmax 1 m = 1 m by default when importing unity3d, the key is to set the "storage unit" recorded in the model to 100.
For example, the storage unit is 100:

    1. The display unit is 1 MB, and the system unit is 1 cm. Create a 1 MB model.
    2. The display unit is 1 cm, and the system unit is 0.1mm. Create a 1cm model.
    3. The display unit is 1 cm, and the system unit is 1 cm. Create a 1 M model.

As long as the following formula is met(Model size/display unit) * (Display Unit/System Unit) = 100, Which is simplifiedModel size/system unit = 100
But to meet the requirement that "Creating a 1 M model in 3dmax to import unity3d is also 1 m ",The model size = 1 m is fixed, and the system unit is 1 cm.. Therefore, in 3dmax, the system unit should be set to cm, and it does not matter how the display unit is set.

Conclusion

To ensure that "Creating a 1 M model in 3dmax to import unity3d is also 1 m", you only needSet the system unit in 3dmax to CM.

PS

I really don't understand why unity3d needs to set the default scaling factor to 0.01 for Model import.
However, the above formula is not a problem. If Scale Factor = 1, you only need to ensure that the storage unit of the model record is 1, that is, "model size/system unit = 1"-> "1 m/system unit = 1"-> system unit = m

It feels a bit cool to knock so many times. If you don't understand it, please reply to the discussion. ^_^

Reprinted, please note: in-depth analysis on the scaling unit problem of the 3dmax model imported from pocket-unity3d

In-depth analysis on the scaling unit of the unity3d import 3dmax Model

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.