Jump to content

How to develop a host application to send CIGI packet?


photo

Recommended Posts

Dear Sir:

           Do you suggest developing an independent host application in QT or VS2015, or integrating it into Unigine's project?

            Is there any correspondence between the name and ID defined by the entity in igconfig.xml and the name and ID of the entity in entity.def?

Link to comment
  • 4 weeks later...

Hello! you can start your way with CIGI Hemu - open source host with cigi protocol
https://sourceforge.net/projects/cigi/

 

On 12/19/2023 at 10:30 AM, jackool said:

Do you suggest developing an independent host application in QT or VS2015, or integrating it into Unigine's project?

it depends on your architecture

On 12/19/2023 at 10:30 AM, jackool said:

Is there any correspondence between the name and ID defined by the entity in igconfig.xml and the name and ID of the entity in entity.def?

in ig_config you are describing an entity type for IG: what model will be loaded when creating the entity. 
in entity.def you are descrive an control model for entity type (car, helicopter, fixedwing,... )
then when host send message like
`entity 1 type 200 pos 20 20 20`
ig can interpret it like 
`load "entities\aircrafts\be-200\be_200.node" node and place it in 20 20 20 position`

Link to comment
×
×
  • Create New...