plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

SWS-AlexVletsas avatar image
SWS-AlexVletsas asked virtuali edited

Animated materials documentation

The documentation on Animated Materials stops at how to rig the material in 3ds max. There are no XML code templates provided nor any documentation. I might be mistaken, but even the old example about Emissive is missing.

Within Asobo's Generic templates, we can find a sampe for the <EmissiveFactor> parameter, but there are no examples for base colour, Alpha, Normal or the ORM textures.

Can you please update the documentation with that?

documentationgaugesmodeling
1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image FlyingRaccoon ♦♦ commented ·
@Nocturne FYI
0 Likes 0 ·
virtuali avatar image
virtuali answered virtuali edited

From what I understood of the SDK, animated materials cannot animate textures. You can only animate the following:

- Base Color ( not the texture, the base color parameter )

- Roughness ( not the texture, the parameter )

- Emissive ( not the texture, the parameter )

And, you just use the default 3DS Max method to animate a parameter.

If you check the screenshot on the "Animated Parameter" of the docs, after the sentence "At this point, you would then use the standard 3Ds Max workflow to animate the material property (or properties) that you require to animate:"

You can see the Roughness there has two red brackets, meaning the parameter is being animated on the timeline so, when Autokey is enabled, any changes to its value will create a key on the timeline for it, there are lots of parameters that can be animated in Max this way, but the MSFS SDK supports ONLY those 3, according to the docs.


I guess the most common case will be animating the Base color, for example to create some kind of light/button that instead of going just ON/Off in an instant, might progressively lighten up, and/or change color, over a timeline.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Barthandelus382 avatar image Barthandelus382 commented ·

I also tried to animate materials and I think that explanations are missing, it is true that an example would be welcome if the documentation is not extensive.
To this day I am still trying to animate materials.

0 Likes 0 ·
SWS-AlexVletsas avatar image
SWS-AlexVletsas answered

That is understood. The question is what are the XML tags that should be in the Behaviors file in order to control that. Why will the green light become red?

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.