Community
Search
Notices
Ikarus Aerofly flight simulators Get the answers to your technical questions about Ikarus' Aerofly flight simulators here in their official support forum

AFP obj file format Q

Thread Tools
 
Search this Thread
 
Old 03-24-2005 | 06:45 PM
  #1  
m00m00's Avatar
Thread Starter
Senior Member
 
Joined: Aug 2004
Posts: 136
Likes: 0
Received 0 Likes on 0 Posts
From: BNE, AUSTRALIA
Default AFP obj file format Q

I have recently have a look into the obj files in AFP, trying to create a 3ds max I/O plugin, I have a few questions:

1.what are the lines started with 'q' for, ie: "q 3 147 147 148"? it seems to me its some sort of vertex indices, but what are they for?
2. what are the lines started with 'ch' for?, this one is totally lost me
3. what are the lines started with 'chp' for?, it seems to be some sort of normal vector, what are they for?
4. what are the lines started with 'chf' for?, it seems to be some sort of vertex indices again, what are they for?

It seems there are more than just the 3d object data in the obj file. I can pretty much reconstruct a 3d object with information only up to 't' in each section. Does AFP use the rest of the data for some other unknown purpose?
Old 03-25-2005 | 12:20 PM
  #2  
Senior Member
 
Joined: Feb 2004
Posts: 254
Likes: 0
Received 0 Likes on 0 Posts
From: Tuebingen, GERMANY
Default RE: AFP obj file format Q

Hi,

1. the 'q' lines not only describe a single triangle as the 't' lines do.
They describe an entire queue of faces, which seems to speed up the processing in the simulation.

2. The 'ch' line is the start line of the convex hull

3. The 'chp' stands for convex hull points and is just a point coordinate

4. The 'chf' then contains the convex hull faces from the points above.

The entire ch.. set creates a framework around the aircraft, which is used for crash detection.

Regards
Rodeo
www.rodeo.onlinehome.de

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.