Cigi Object Rendering
Posted: Fri Oct 26, 2018 8:54 pm
Using P3D v4.3 pro plus as an IG via CIGI:
Am connecting and flying using external host, but unable to view my aircraft.
The ViewDef packet ViewID = 0, matching the ViewID in CigiConfig
Using ExtendedType setting, I can confirm that my target aircraft is loaded, by noting the Cigi Aircraft view when right-clicking the display when Cigi - IG is started. This entry changes correctly if I load a different object.
The Camera definition CigiView is auto-loaded when Cigi-IG is started.
The camera def for CigiView has "Hide user Aircraft" set to 0.
EntityState is 1 (active)
Alpha channel is 255
alpha override is false.
EntityPosition EntityID is set to 0, matching the EntityContorl ID
ViewContol EntityID is set to 0. GroupID set to 0.
I have enabled the ViewControl offsets, and have shifted back along x axis testing from 15 to 100 meters back, to make sure my eypoint isn't inside the airplane.
Interestingly, while trying various aircraft, I do get a couple textures rendered for the F-22 Raptor. These would appear to be a couple trailing edge wing portions, one left and one right. As I shift back along the x axis, the surfaces are nearer or further from the camera, as expected. No other objects are displayed at all.
Anybody have any idea what I'm missing? I need to move on to managing articulated parts, but that's not easy to test on an invisible airplane!
Windows 10 pro,
64 GB RAM,
Intel i7-8700
NVidia GeForce 1080
Am connecting and flying using external host, but unable to view my aircraft.
The ViewDef packet ViewID = 0, matching the ViewID in CigiConfig
Using ExtendedType setting, I can confirm that my target aircraft is loaded, by noting the Cigi Aircraft view when right-clicking the display when Cigi - IG is started. This entry changes correctly if I load a different object.
The Camera definition CigiView is auto-loaded when Cigi-IG is started.
The camera def for CigiView has "Hide user Aircraft" set to 0.
EntityState is 1 (active)
Alpha channel is 255
alpha override is false.
EntityPosition EntityID is set to 0, matching the EntityContorl ID
ViewContol EntityID is set to 0. GroupID set to 0.
I have enabled the ViewControl offsets, and have shifted back along x axis testing from 15 to 100 meters back, to make sure my eypoint isn't inside the airplane.
Interestingly, while trying various aircraft, I do get a couple textures rendered for the F-22 Raptor. These would appear to be a couple trailing edge wing portions, one left and one right. As I shift back along the x axis, the surfaces are nearer or further from the camera, as expected. No other objects are displayed at all.
Anybody have any idea what I'm missing? I need to move on to managing articulated parts, but that's not easy to test on an invisible airplane!
Windows 10 pro,
64 GB RAM,
Intel i7-8700
NVidia GeForce 1080