MATLAB: Do some extrusions not appear in the Simulink VR World Viewer, while I can see them in the Model Editor in the Virtual Reality Toolbox 4.2.1 (R14SP3)

appeardisappearextrusionfilesinvisiblesimulinkSimulink 3D Animationspineviewervisiblevrvrmlworld

I am using the V-Realm Builder 2.0 to build my virtual reality model. In the VRML editor, I create a few extrusion components for my model.
When I view this model using a VRML Viewer (e.g. the Simulink VR World Viewer, which pops up when the VR Sink block in the Simulink model is double-clicked), I find that some extrusion components do not appear.

Best Answer

There is a bug in the V-Realm Builder third-party editor (version 2.0) in the way that values corresponding to certain extrusion components are set to very small values.
This causes specific Simulink VR World Viewer to interpret these VRML files incorrectly. This bug in the third-party software causes the Virtual Reality Toolbox 4.2.1 (R14SP3) to not show some extrusions in the Simulink VR World Viewer.
In the models affected, extrusions for which the 'spine' property has values of the order of e-007 or smaller seem to disappear from the Simulink VR World Viewer.
To work around this issue, round off these small values in the 'spine' property (values of the order of e-007 or smaller) to zero. Rounding off these small values to zero renders these extrusions visible in the VRML viewer.