3d Model view

3 views (last 30 days)
Chirag Bhuva
Chirag Bhuva on 5 Jun 2017
Edited: DGM on 5 Apr 2025
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 Comments
KSSV
KSSV on 5 Jun 2017
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 on 5 Jun 2017
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

Sign in to comment.

Answers (1)

DGM
DGM on 5 Apr 2025
Edited: DGM on 5 Apr 2025
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.

Community Treasure Hunt

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

Start Hunting!