フィルターのクリア

How can I save surface object as a colored point cloud file (for example .ply file) ?

1 回表示 (過去 30 日間)
Shahab Askarian
Shahab Askarian 2016 年 5 月 19 日
コメント済み: Shahab Askarian 2016 年 5 月 29 日
Hi, Actually, I want to do texture mapping in Matlab. I do this by surface function. With this function, we can map a 2D image to 3D surface. After that, I want to save this mapping as a colored .ply file. How to do this in Matlab? Code below show an example of texture mapping that provided by Matlab help. Suppose that I want to save this surface as a colored .ply file.
[XD,YD,ZD] = peaks(25);
load clown
C = flipud(X);
figure surface(XD, YD, ZD, C,... 'FaceColor','texturemap',... 'EdgeColor','none',... 'CDataMapping','direct');
colormap(map)
view(-35,45);

回答 (0 件)

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by