X-Plane / XPlane2Blender

Scenery & Aircraft export addon for Blender and X-Plane
GNU General Public License v3.0
190 stars 67 forks source link

spot_params_bb_pm exporting the old way #699

Closed Cristiano-Maggi closed 1 year ago

Cristiano-Maggi commented 2 years ago

The parameterized photometric billboards are being exporting with the OLD dx dy dz width scheme by io_xplane2blender_4_2_0-rc_2-117_20220419015723-v12. "spot_params_sp_pm" and "spot_params_bb_pm" in the same position should have matching values but they don't. Example: LIGHT_PARAM spot_params_sp_pm 24.988914 23.926901 80.047714 1 0.82278591 0.52711523 1 15000cd -0.32809913 -0.28239337 -0.90144604 0.64278761 LIGHT_PARAM spot_params_bb_pm 24.988914 23.926901 80.047714 1 0.82278591 0.52711523 15000cd -0.91849875 -0.79054749 -2.5235577 -1.7994549

bsupnik commented 1 year ago

@Cristiano-Maggi I cannot reproduce this on the very latest 4.2.0 code. I'll cut RC3 shortly, then please re-test this and we can close it if it really is fixed, or I'll investigate more if you can still see it.

I suspect your fixing the lights.txt file a few months ago is what fixed this.

Cristiano-Maggi commented 1 year ago

I can confirm that both the lights are identically exported now