Layering SortMethod for 3D Plotting
古いコメントを表示
Hello,
I'm rendering 3D point clouds on to the screen, and attempting to overlay feature points in Matlab R2014b. I end up with the following:
h = showPointCloud(pc(:,:,[1:3]), pc(:,:,[4:6]));
hold on;
plot3(m(1,:),m(2,:),m(3,:),'o','MarkerSize',8,'Color',[0 0 0],'MarkerFaceColor',[1 1 0]); % display 3D plot
hold off;
h.SortMethod = 'depth'; % or alternatively 'childorder'
When I use 'depth' I see the point cloud well, but the yellow markers get embedded.

When I use 'childorder' the depth order for the point cloud becomes buggy (notice how the Mickey doll is partially behind the monitor).

Other attempts:
- It doesn't look like axes can be parented;
- uistack seems to apply to GUI controls;
- and I'm not sure if projecting the yellow markers to 2D would handle live updating on scene rotation
Thoughts? Thanks in advance!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Graphics Performance についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!