Openflight Scene Description Database Specification, Version 16.5
Total Page:16
File Type:pdf, Size:1020Kb
OpenFlight® Scene Description Database Specification Version 16.5 Document Revision A February 2016 OpenFlight Scene Description Database Specification, version 16.5. February, 2016 © 2016 Presagis Canada Inc. and/or Presagis USA Inc. All rights reserved. All trademarks contained herein are the property of their respective owners. PRESAGIS PROVIDES THIS MATERIAL AS IS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Presagis may make improvements and changes to the product described in this document at any time without notice. Presagis assumes no responsibility for the use of the product or this document except as expressly set forth in the applicable Presagis agreement or agreements and subject to terms and conditions set forth therein and applicable Presagis policies and procedures. This document may contain technical inaccuracies or typographical errors. Periodic changes may be made to the information contained herein. If necessary, these changes will be incorporated in new editions of the document. Presagis Canada and/or Presagis USA and/or its suppliers are the owners of all intellectual property rights in and to this document and any proprietary software that accompanies this documentation, including but not limited to, copyrights in and to this document and any derivative works there from. Use of this document is subject to the terms and conditions of the Presagis Software License Agreement included with this product. No part of this publication may be stored in a data retrieval system, transmitted, distributed or reproduced, in whole or in part, in any way, including, but not limited to, photocopy, photograph, magnetic, or other record, without the prior written permission of Presagis Canada and/or Presagis USA. Use, distribution, duplication, or disclosure by the U. S. Government is subject to “Restricted Rights” as set forth in DFARS 252.227-7014(c)(1)(ii). February 2, 2016 Contents Chapter 1 OpenFlight® Scene Description ........................................................ 9 OpenFlight Concepts..................................................................................................9 Database Hierarchy....................................................................................................9 Node Attributes........................................................................................................12 Palettes.....................................................................................................................12 Material Palette ................................................................................................13 Instancing.................................................................................................................14 Replication...............................................................................................................14 Bounding Volumes ..................................................................................................14 Multitexture .............................................................................................................15 Extensions................................................................................................................15 Chapter 2 OpenFlight File Format..................................................................... 17 OpenFlight Record Types ........................................................................................17 Control Records .......................................................................................................18 Hierarchy Level Change Records.....................................................................18 Push Level Record....................................................................................19 Pop Level Record .....................................................................................19 Push Subface Record ................................................................................19 Pop Subface Record..................................................................................19 Push Extension Record .............................................................................19 Pop Extension Record...............................................................................19 Hierarchy Instancing Records ..........................................................................20 Push Attribute Record...............................................................................20 Pop Attribute Record ................................................................................20 Instance Definition Record .......................................................................21 Instance Reference Record .......................................................................21 Node Primary Records .............................................................................................21 Header Record..................................................................................................21 Group Record ...................................................................................................24 Object Record...................................................................................................27 Face Record......................................................................................................28 Mesh Nodes......................................................................................................30 Mesh Record............................................................................................ 31 Local Vertex Pool Record........................................................................ 33 Mesh Primitive Record ............................................................................ 35 Light Point Nodes.............................................................................................36 Indexed Light Point Record ..................................................................... 36 Light Point Record................................................................................... 36 Light Point System Record...............................................................................39 Degree of Freedom Record...............................................................................40 Vertex List Record ...........................................................................................42 Morph Vertex List Record................................................................................42 Binary Separating Plane Record.......................................................................43 External Reference Record...............................................................................44 Level of Detail Record .....................................................................................44 Sound Record ...................................................................................................45 Light Source Record.........................................................................................46 Road Segment Record ......................................................................................47 OpenFlight Specification version 16.5 February, 2016 3 Road Construction Record ...............................................................................47 Road Path Record.............................................................................................49 Clip Region Record..........................................................................................50 Text Record......................................................................................................50 Switch Record ..................................................................................................52 CAT Record .....................................................................................................53 Extension Record .............................................................................................54 Curve Record ...................................................................................................55 Ancillary Records ....................................................................................................56 Comment Record..............................................................................................56 Long ID Record................................................................................................56 Indexed String Record......................................................................................57 Multitexture......................................................................................................57 Multitexture Record................................................................................. 58 UV List Record........................................................................................ 59 Replicate Record ..............................................................................................61 Road Zone Record............................................................................................61 Transformation Records ...................................................................................61 Matrix Record...........................................................................................62 Rotate About Edge Record .......................................................................62