Word :   Username :  
 
Bottom
Author
 Thread :

About RZI file format

 
n°841
hengli
Posted on 10-12-2005 at 10:02:08 AM  profilanswer
 

Hello!
 
I would like to get mesh geometry information of the model created by IM.
Then I open the RZI file to look though.I found some vertexs and faces information. But I don't know in detaill.
Any one can help me interprete the following:
 
<V x="-0.0772666" y="0.0947757" z="0.0054408"/>
...
<F v="8 10 9" n="7 10 8"/>
...
<N x="-0.183" y="0.092" z="-0.979"/>
...
 
Thanks ahead!
 
hengli

n°842
stef
Posted on 10-12-2005 at 10:23:40 AM  profilanswer
 

XML tags:
 
V : describes a vertex position (x y z)
N : describes a normal vector (x y z)
 
F : describes a face given indexes of vertices and normals  
 
<F v="1 3 2" n="1 2 3">
creates a face with first vertex, third vertex and second vertex (in that order)
same thing with normals (affected on vertices for gouraud shading)
 
Hope it helps,
 
Stef

n°844
hengli
Posted on 10-12-2005 at 11:50:17 AM  profilanswer
 

Hi Stef,
 
Thanks for your reply.
Maybe I need to learn XML TAG more.

n°846
hengli
Posted on 10-12-2005 at 04:57:55 PM  profilanswer
 

Hello,
 
What is the meaning of the following tag:
...
<M i="25" k="m" x="1389.84" y="975.72"/>
...
<MTL i="111" n="Mesh_TX">
<MAP img="zqj3view_TX/Mesh_TX.png" sl="1-3"/>
</MTL>
...
<MG m="500" f="40-43 569 724 725 729"/>
...
Anyone has a detail reference document about RZI file format?
Can anyone help me?
 
Thanks
 
Hengli

n°848
stef
Posted on 10-17-2005 at 02:48:49 PM  profilanswer
 

Hello,
 
TAGS meaning:
 
<M ....>   2d marker definition (i index, x, y)
<MTL ....> Material definition (i index, n name)
 
<MG ...> Material group, (m=material index, f=indexes of faces of the group)
 
I suggest to ask support@realviz.com for more detqilled information on RZML (Realviz XML).
 
Best,
 
Stef


Go to:
Add a reply