Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have thousands points that I took from kinect for 3D scanner. I can see the 3D shape in meshlab or blender but I want to convert all points according to .obj file format.
here is an example of .obj file ;
# Simple object file . This is comment
v -0.500000 0.000000 0.400000
v -0.500000 0.000000 -0.800000
v -0.500000 1.000000 -0.800000
v -0.500000 1.000000 0.400000
f -4 -3 -2 -1


I just have v points but dont know how to convert them to f (face). If there is no f(face) I cannot see the real shape in interface.
Thanks in advance. If question is not clear enough please comment.
Posted
Comments
Sergey Alexandrovich Kryukov 18-Dec-13 9:37am    
Why in obj format?
—SA
Coder_Jack 18-Dec-13 13:14pm    
my interface expects obj file. I dont have any tools to show those thousands points that I took from kinect in interface.
Sergey Alexandrovich Kryukov 18-Dec-13 13:29pm    
Why?
—SA
Coder_Jack 18-Dec-13 15:29pm    
inside of .obj file is defferent from the file that I keep points from kinect. I just have vertices but I need to convert them to face also. Here is detailed explanation of face and vertice. http://www.mathsisfun.com/geometry/vertices-faces-edges.html
Sergey Alexandrovich Kryukov 18-Dec-13 16:14pm    
Obj files is not quite a legitimate format for data exchange. And the mere fact that the data could be hard-coded in the object file is just an indication of the abuse of technology.
—SA

1 solution

 
Share this answer
 
Comments
Coder_Jack 18-Dec-13 13:26pm    
I almost clicked on all links in the page you gave. Thank you for caring

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900