I have seen a topic asking how to play a video in Dashboard in this forum. But sometimes, the video playing need to be played in the model which can be rotated with the perspective. Is there some method? Thank you.
I have seen a topic asking how to play a video in Dashboard in this forum. But sometimes, the video playing need to be played in the model which can be rotated with the perspective. Is there some method? Thank you.
FlexSim doesn't have any built-in support for playing video files in the 3D view as animated textures, but you could load each frame in as a texture and then use setobjecttextureindex() to cycle through them.
You do could that within an object's animation by calling setobjecttextureindex() in the triggers of the animation.
Here's an example (animated-image.fsm):
To minimize events for performance optimization, you could also just write your own code in the object's OnPreDraw trigger that switches the texture index instead of using the Animator's triggers.
Here's an example showing that way: animated-image-2.fsm
13 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved