Both Creator and the OpenFlight API are at version 4.2.
We have Creator 4.2, but I see no way to install the API version 4.2.
We have Creator 4.2, but I see no way to install the API version 4.2.
If you downloaded Creator 4.2 from the Presagis Customer Support portal, note that the OpenFlight API is NOT included in that download. It is a completely separate product that you download from the portal. If you are a Creator customer, note that you are entitled to the OpenFlight API free of charge.
If you have the Creator 4.2 distribution DVD, the OpenFlight API is included on the DVD and is accessible on the AutoRun screen.
Ok...got the 4.2 API. Now...I don't see anything right off in the API about the VBS2 P3D export/options. Are they accessible in the API? Even just being able to set the flags would be helpful.
The OpenFlight API does not include VBS2 export (or any other non-OpenFlight writing) capability, you must do that in Creator. You can, however, set the OpenFlight Extension attributes on your geometry using the OpenFlight API. These attributes are stored in OpenFlight Extension fields on the group node.
I suggest the following:
- First understand how the OpenFlight Extensions work for the attributes used by VBS2 (using Creator)
- Check out chapter 3 in volume 2 of the OpenFlight API User's guide. This chapter explains how you create and access OpenFlight extension data using the API. You will use functions of the form mgExtensionFieldSet<Type> to assign extension values on nodes in the scene.
- Return here with any further questions you might have.
Craig
What is the latest API version?