Why is my VRML Animation slow and jerky when using Simulink 3D Animation?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 16 de Jun. de 2014
Editada: MathWorks Support Team
el 25 de Jun. de 2020
Why is my VRML Animation slow and jerky when using Simulink 3D Animation?
Respuesta aceptada
MathWorks Support Team
el 25 de Jun. de 2020
Editada: MathWorks Support Team
el 25 de Jun. de 2020
There are several reasons that can cause the slow and jerky behavior in a VRML world created using Simulink 3D Animation.
1. Check the sample time for the VR Sink block. It should be explicitly set, not inherited (-1).
2. Ensure that you are using a graphics card with hardware OpenGL acceleration. Check the output of entering the following MATLAB Command to see if you are using a supported graphics card with OpenGL Acceleration.
>> opengl info
3. Check the size of the VRML world.
CAD models are usually parametric models that use proprietary object rendering methods for use in various contexts. During VRML model export, the internal parametric model of the assembly is tessellated. In this process, the model surface is divided into triangular meshes, represented in VRML by the "IndexedFaceSet" node. During tesselation, it is important to set the granularity of the mesh so that it is suitable for further use. ~10000 triangles is the limit for smooth performance, but, this will be dependent on the model complexity which is driving the VRML sink. The ">> vr_octavia" is a good benchmark to check the graphics capability on the customer's system.
4. If the Simulink model and the VRML file are both demanding significant computational resources, consider client-server capabilities of Simulink 3D Animation. They will run the model on one computer, but, visualize the animation from a different computer by connecting over TCP/IP and using a remote viewer. For more examples of this feature, refer to the following page:
0 comentarios
Más respuestas (1)
timo
el 1 de Abr. de 2016
I had also issues with slow 3d. This is fixed for NVIDIA cards in 2016a
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!