Creating Animated 3D by Simulink
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'd like to use Simulink 3D Animation to create animated surface (much simpler)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1187903/image.png)
I am trying to use "VR Sink" from the Simulink 3D Animation tlbx. My input is just 2D Matrix (30x30) and some of the elemnets elevates per time which I'd like to have as 3rd (Z) axis.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1187908/image.png)
Is there any hints to do simple surface modeling with "VR Sink" (example) ?
0 Kommentare
Antworten (1)
Jan Houska
am 14 Dez. 2022
Hi Jack,
the easiest way to achieve this is probably using an ElevationGrid node. This X3D node defines a geometry using a rectangular grid and an elevation above that grid. The elevation can then be changed from Simulink model if you make it an input of a VR Sink block. I have attached a minimalistic example to illustrate this.
Good Luck, Jan
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!