Blender vertices used with meshgrid

3 vues (au cours des 30 derniers jours)
Rafael Espírito Santo
Rafael Espírito Santo le 15 Avr 2019
Réponse apportée : Divyam le 18 Sep 2024
Hi everyone
Does anyone knows how to get vertices of Blender object and use it with meshgrid?

Réponses (1)

Divyam
Divyam le 18 Sep 2024
You can export Blender files as ".obj" and then utilize the Wavefront OBJ Toolbox for fetching the vertices of your Blender object: https://www.mathworks.com/matlabcentral/fileexchange/27982-wavefront-obj-toolbox
% I used this free Blender object: https://free3d.com/3d-model/low-poly-racing-car-22092.html
obj = read_wobj(<filename>);
% Vertices are stored as a matrix of doubles in the obj struct
vertices = obj.vertices;
You can then use these vertices in the meshgrid after converting them to vectors.

Catégories

En savoir plus sur Biomedical Imaging dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by