How to get a mesh and get mesh points
#2
Hm, what does "web screen" mean? You cannot use Ab3d.Reader3ds in a web application because Ab3d.Reader3ds requires WPF.


But you can get the meshes of the read objects in a WPF application and with Ab3d.Reader3ds in the following way:
- the ReadFile method returns a ModelGroup3D object
- go through each child object in ModelGroup3D.Children collection
- if the child object is ModelGroup3D, then go through its Children...
- if the child object is GeometryModel3D than cast its Geometry to MeshGeometry3D. There you will have Positions, Normals, TextureCoordinates and TriangleIndices collections.
Andrej Benedik
  


Messages In This Thread
RE: How to get a mesh and get mesh points - by abenedik - 02-14-2024, 09:08 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)