Blender vertices used with meshgrid
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi everyone
Does anyone knows how to get vertices of Blender object and use it with meshgrid?
댓글 수: 0
답변 (1개)
Divyam
2024년 9월 18일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Biomedical Imaging에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!