Jump to content
Sign in to follow this  
turner112

X/Y coords for placing RXP into panels... I don't get it

Recommended Posts

Ok, the panel config for the default 172 shows the panel placement for the 530 as:

frame.rect = 1,1023,520,390

Let's stick with that one for now.

For the 530, the Panel.png file shows a left of 1 but ALSO a top of 1, rather than 1023, as shown above.

What am I missing here?

 

Share this post


Link to post
Share on other sites

As written p17 of the GNS User's Manual:

Note: frame.rect is the actual render position and size: X1 is the left value, the width and height are the value computed in the previous steps. The top value is computed like this: ("height of Panel_Preview.png" - Y1)


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites
On 12/31/2017 at 1:12 PM, Adrian123 said:

May add. It just takes a little practice. It becomes self evident after a few tries.

I can attest to this - in my Bell 407 thread I had a heck of a time with the coords.  Wish there was a better way to get rxp into xp addons.


| FAA ZMP |
| PPL ASEL |
| Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 32GB 5600 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |

 

 

Share this post


Link to post
Share on other sites
6 hours ago, ryanbatcund said:

Wish there was a better way to get rxp into xp addons.

Me too! We're working on this though in the background!

  • Upvote 1

Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Need the concepts of separate Panel and Gauge in XPlane, instead of 'bunch of polygons only editable in the 3D tool by the aircraft modeler'! Or at least: "plugin load any .obj and display any texture on it"

None of this exists today, except for their own internal use with the new FMC/G1000/GNS (which have their own separate render texture - well a frame buffer object internally - separate from the panel texture render target which is hard-coded/modelled with the aircraft polygons).


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...