5:Material ,Texture命名,原则上没有太多要求,不过不要重名。否则导出会覆盖重名Material or Texture。 作者: 彬彬 时间: 2011-8-5 14:24
关于烘培
下表是max自带的Render to texture 参数设置图表。
见下页
User Properties
Setting User Properties
User properties may be set by the following process:
Select a model in 3D Studio MAX.
Right-click the model and open the Properties dialog.
Select the User Defined tab.
In the text box, type the user property name and value.
User Property Syntax
User properties are specified as property name and property value pairs. Property names are associated with property values with the equal (=) sign. Property values are terminated with a semicolon (;). Property names are alphanumeric, starting with an alpha character. No spaces are allowed between the user property and the equal (=) sign, and between the equal (=) sign and the start of the property value.
There is no limit to the number of user properties. Currently, property values are restricted to 512 characters.
Syntax Examples
MyProperty1=A Monster called Fred;
CharacterLifeForce=10 units;
sw3d_lod_adjust_normals=***e;
Reserved User Properties
The following user property names are reserved by Shockwave 3D and trigger the following described behaviors when the .w3d file is loaded into Director. The exporter should be used to assign these properties to a model and programmatically implement them at export.
Note: All strings starting with "sw3d_" are reserved for future use by user properties in Shockwave 3D.
Property
Value
Default
Description
sw3d_stream_priority
[Unsigned Integer: 0...256]
256
Specifies the relative stream priority of a model and any textures used by the model (0 indicating the highest priority, with larger numbers indicating a lower priority). By default, texture priorities are set to 4 times the model priority.
Note: Priority 0 denotes inclusion in the initial Load Segment.
sw3d_texture_stream_priority
[Unsigned Integer: 0...1024]
1024
Specifies the relative stream priority of a texture. This control allows you to override the priority given a texture after setting the sw3d_stream_priority user property on a model that uses the texture.
Note: Priority 0 denotes inclusion in the initial Load Segment.
sw3d_visibility
front/back/
none/
both
front
Controls initial visibility of a model.
Note: If set to none the model is streamed but not initially visible. A Lingo programmer may make the model visible later by setting model(1).visibility=#front
sw3d_lod_adjust_normals
***e/false
***e
When ***e, creates new normals to track the new surface curvature as a model is simplified.
When false, uses normals from original model and generates no additional normals to track the simplified surfaces.
Note: When sw3d_lod_adjust_normals is set to ***e, the new normals are calculated according to the values of sw3d_lod_minimum_crease_angle and sw3d_lod_max_normal_error.
Hint: Set this value to false to obtain the smallest file size.
sw3d_lod_minimum_crease_angle
Integer value in 10ths of a degree
750 (75.0 degrees
Sets crease angle value. As an object is simplified the angles between the surfaces change. When the angles exceed this value, a hard edge is formed by introducing separate normals for each surface.
A small value results in a more faceted, chunky model. A large value results in a more realistic, smoother model with occasional shading errors.
Note: This is only used when sw3d_lod_adjust_normals is set to ***e.
Hint: The default value seems to work well for most models, so you probably won't need to change it.
sw3d_lod_max_normal_error
Integer value in 10ths of a degree
1350 (135.0 degrees
Trades off file size for lighting quality. Large values result in smaller files with more lighting errors. Small values result in larger files with better lighting through the generation of additional normals.
Note: This used only when sw3d_lod_adjust_normals is set to ***e.