Hello,
I am coding an importer for ".x" files into PB (already retrieves accurate meshes and display them) but I am stucked with UV coords parsing (code gives no error on runtime but the meshes appear plain-colored).
Is there a way to retrieve datas from an existing PB mesh to check the values, in other words, is the mesh structure documented somewhere ? It seems Ogre site does not give infos about structures, nor does PB site.
Thank you in advance,
Best regards
			
			
									
									
						Where to find Mesh Structure description ?
- 
				Anonymous
 
if you speak french, you can go on french forum, i can't help you here because my english is too poor...
i try nevertheless
 
The structure of an mesh in pb are :
A face is composed by 3 vertex, a quad by 2 face, etc...
http://purebasic.forum-gratuit.com/view ... 19&start=0
go in 3D section for more information.
@++
			
			
									
									
						i try nevertheless
The structure of an mesh in pb are :
Code: Select all
Structure Vertex
   px.f
   py.f
   pz.f
   nx.f
   ny.f
   nz.f
   co.l
   U.f
   V.f
EndStructure 
http://purebasic.forum-gratuit.com/view ... 19&start=0
go in 3D section for more information.
@++
