c172p icon indicating copy to clipboard operation
c172p copied to clipboard

Shadows of other c172p models are not displayed correctly in MP

Open onox opened this issue 10 years ago • 3 comments

We need to transmit /position/altitude-agl-m over MP and set the MP property to use in the <effect> element that uses Effects/shadow-vol in the .xml files in Models/Effects/shadow/:

  1. Transmit /position/altitude-agl-m over MP
  2. Override <alt_agl>, <model-pitch>, and <model-roll> in the .xml files

onox avatar Jul 09 '15 09:07 onox

I tried to use in Models/Effects/shadow/3dbushdefshadow.xml:

 60         <parameters>
 61             <alt_agl><use>sim/multiplay/generic/float[4]</use></alt_agl>
 62             <model-pitch><use>orientation/pitch-deg</use></model-pitch>
 63             <model-roll><use>orientation/roll-deg</use></model-roll>
 64         </parameters>

and in c172p-set.xml:

263                 <float n="4" alias="/position/altitude-agl-m"/>

but that causes the shadow to be at the height of the cockpit. In MP the shadow isn't visible at all. So I'll move this issue to 3.8 release.

onox avatar Jul 12 '15 09:07 onox

Screenshot of problem:

fgfs-screen-002 12

gilbertohasnofb avatar Jul 12 '15 19:07 gilbertohasnofb

@onox @wlbragg @Juanvvc @all-others

sorry for using this space, but there is a discussion going on in the mailing list regarding our plane, about MP and console alerts. I am not familiar with MP at all, so maybe someone else can take a look at it?

gilbertohasnofb avatar Oct 20 '16 21:10 gilbertohasnofb

This is probably obsoleted by compositor and can be closed.

hbeni avatar Nov 14 '23 20:11 hbeni