3d Model view

8 次查看(过去 30 天)
Chirag Bhuva
Chirag Bhuva 2017-6-5
编辑: DGM 2025-4-5
I am getting the surface shown in the picture that i am attaching below ,I want triangle with the same color and texture Could you please guide me on the same. and one more thing ,This is because the triangles are not oriented consistently which only makes sense if the output is a true oriented surface without any artifact.if any one suggest me which visualization tool where it shows the triangles without considering orientation in WPF, i have used helix toolkit in WPF but it gives same result </matlabcentral/answers/uploaded_files/79581/Capture.PNG>
  4 个评论
KSSV
KSSV 2017-6-5
You must be having (x,y,z) data and nodal connectivity data, using trisurf you should be able to plot this.
Chirag Bhuva
Chirag Bhuva 2017-6-5
I am using obj file or stl file which it gives only x,y,z points and triangulate faces when i opend this obj file it gives the same result in Meshlab or helixtoolkit in wpf but i don't need this type of result. i want only same color of triangles so can you suggest me how to do this

请先登录,再进行评论。

回答(1 个)

DGM
DGM 2025-4-5
编辑:DGM 2025-4-5
Since this was already in Meshlab, Filters Menu -> Normals Curvatures and Orientation ->Reorient all faces coherently. If you have so many backwards faces that the entire thing gets reoriented inside-out, that's fine. Under the same menu, just use Invert Faces Orientation.
That's a lot easier than trying to reinvent the wheel.

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by